Don't clobber variables that are already set, resulting in a broken build.
[WebKit-https.git] / WebCore / WebCore.pro
1 # -*- Mode:makefile -*-
2 # WebCore - qmake build info
3 CONFIG += building-libs
4 include($$PWD/../WebKit.pri)
5 gdk-port:LIBS -= -lWebKitGdk
6
7 TEMPLATE = lib
8 qt-port:TARGET = QtWebKit
9 gdk-port:TARGET = WebKitGdk
10 OBJECTS_DIR = tmp
11 INCLUDEPATH += tmp $$OUTPUT_DIR/WebCore/tmp
12
13 DESTDIR = $$OUTPUT_DIR/lib
14 DEPENDPATH += css dom loader editing history html \
15         loader page platform platform/graphics rendering xml
16
17 include($$OUTPUT_DIR/config.pri)
18
19 CONFIG -= warn_on
20 QMAKE_CXXFLAGS += -Wreturn-type
21 #QMAKE_CXXFLAGS += -Wall -Wno-undef -Wno-unused-parameter
22
23 qt-port:contains(QT_CONFIG, reduce_exports):CONFIG += hide_symbols
24 unix:contains(QT_CONFIG, reduce_relocations):CONFIG += bsymbolic_functions
25
26 linux-*: DEFINES += HAVE_STDINT_H
27 freebsd-*: DEFINES += HAVE_PTHREAD_NP_H
28
29 # PRE-BUILD: make the required config.h file
30 #config_h.target = config.h
31 #config_h.commands = cp config.h.qmake config.h
32 #config_h.depends = config.h.qmake
33 #QMAKE_EXTRA_TARGETS += config_h
34 #PRE_TARGETDEPS += config.h
35
36 DEFINES += BUILD_WEBKIT
37
38 # Optional components (look for defs in config.h and included files!)
39 !contains(DEFINES, ENABLE_ICONDATABASE=.): DEFINES += ENABLE_ICONDATABASE=1
40 !contains(DEFINES, ENABLE_XPATH=.): DEFINES += ENABLE_XPATH=1
41 !contains(DEFINES, ENABLE_XSLT=.): DEFINES += ENABLE_XSLT=1
42 #!contains(DEFINES, ENABLE_XBL=.): DEFINES += ENABLE_XBL=1
43 qt-port: !contains(DEFINES, ENABLE_SVG=.): DEFINES += ENABLE_SVG=1
44 gdk-port:DEFINES += ENABLE_SVG=1
45
46 DEFINES += WTF_CHANGES=1
47
48 include($$PWD/../JavaScriptCore/JavaScriptCore.pri)
49
50 #INCLUDEPATH += $$PWD/../JavaScriptCore
51 #LIBS += -L$$OUTPUT_DIR/lib -lJavaScriptCore
52
53 macx {
54     INCLUDEPATH += /usr/include/libxml2
55     LIBS += -lxml2 -lxslt
56 }
57
58 qt-port {
59 LIBS += -L$$OUTPUT_DIR/WebKitQt/Plugins
60 LIBS += -lqtwebico
61
62 INCLUDEPATH += \
63                 $$PWD/platform/qt \
64                 $$PWD/platform/network/qt \
65                 $$PWD/platform/graphics/qt \
66                 $$PWD/platform/graphics/svg/qt \
67                 $$PWD/loader/qt \
68                 $$PWD/page/qt \
69                 $$PWD/../WebKitQt/WebCoreSupport \
70                 $$PWD/../WebKitQt/Api
71
72 DEPENDPATH += editing/qt history/qt loader/qt page/qt \
73         platform/graphics/qt ../WeKitQt/Api ../WebKitQt/WebCoreSupport
74 }
75
76 gdk-port {
77     INCLUDEPATH += \
78     $$PWD/platform/graphics/svg/cairo \
79     $$PWD/platform/image-decoders/bmp \
80     $$PWD/platform/image-decoders/gif \
81     $$PWD/platform/image-decoders/ico \
82     $$PWD/platform/image-decoders/jpeg \
83     $$PWD/platform/image-decoders/png \
84     $$PWD/platform/image-decoders/xbm
85
86     DEPENDPATH += platform/graphics/gdk       \
87                   platform/gdk                \
88                   loader/gdk                  \
89                   page/gdk                    \
90                   platform/graphics/cairo     \
91                   platform/graphics/svg/cairo \
92                   platform/network/curl
93 }
94
95 INCLUDEPATH +=  $$PWD \
96                 $$PWD/ForwardingHeaders \
97                 $$PWD/.. \
98                 $$PWD/../JavaScriptCore/kjs \
99                 $$PWD/../JavaScriptCore/bindings \
100                 $$PWD/platform \
101                 $$PWD/platform/network \
102                 $$PWD/platform/graphics \
103                 $$PWD/platform/graphics/svg \
104                 $$PWD/platform/graphics/svg/filters \
105                 $$PWD/loader $$PWD/loader/icon \
106                 $$PWD/css \
107                 $$PWD/dom \
108                 $$PWD/page \
109                 $$PWD/bridge \
110                 $$PWD/editing \
111                 $$PWD/rendering \
112                 $$PWD/history \
113                 $$PWD/xml \
114                 $$PWD/html \
115                 $$PWD/bindings/js \
116                 $$PWD/ksvg2 $$PWD/ksvg2/css $$PWD/ksvg2/svg $$PWD/ksvg2/misc $$PWD/ksvg2/events \
117                 $$PWD/platform/image-decoders \
118                 $$PWD/../WebKitQt/WebCoreSupport
119 QT += network
120
121 FEATURE_DEFINES_JAVASCRIPT = LANGUAGE_JAVASCRIPT
122
123 TOKENIZER = $$PWD/css/tokenizer.flex
124
125 CSSBISON = $$PWD/css/CSSGrammar.y
126
127 HTML_NAMES = $$PWD/html/HTMLTagNames.in
128
129 XML_NAMES = $$PWD/xml/xmlattrs.in
130
131 ENTITIES_GPERF = $$PWD/html/HTMLEntityNames.gperf
132
133 COLORDAT_GPERF = $$PWD/platform/ColorData.gperf
134
135 WALDOCSSPROPS = $$PWD/css/CSSPropertyNames.in
136
137 WALDOCSSVALUES = $$PWD/css/CSSValueKeywords.in
138
139 SVGCSSPROPERTIES = $$PWD/ksvg2/css/CSSPropertyNames.in
140
141 SVGCSSVALUES = $$PWD/ksvg2/css/CSSValueKeywords.in
142
143 STYLESHEETS_EMBED = $$PWD/css/html4.css
144
145 LUT_FILES += \
146     bindings/js/JSDOMExceptionConstructor.cpp \
147     bindings/js/JSEventTargetNode.cpp \
148     bindings/js/JSXMLHttpRequest.cpp \
149     bindings/js/JSXSLTProcessor.cpp \
150     bindings/js/kjs_css.cpp \
151     bindings/js/kjs_events.cpp \
152     bindings/js/kjs_navigator.cpp \
153     bindings/js/kjs_window.cpp
154
155 LUT_TABLE_FILES += \
156     bindings/js/JSHTMLInputElementBase.cpp
157
158 IDL_BINDINGS += \
159     css/Counter.idl \
160     css/CSSCharsetRule.idl \
161     css/CSSFontFaceRule.idl \
162     css/CSSImportRule.idl \
163     css/CSSMediaRule.idl \
164     css/CSSPageRule.idl \
165     css/CSSPrimitiveValue.idl \
166     css/CSSRule.idl \
167     css/CSSRuleList.idl \
168     css/CSSStyleDeclaration.idl \
169     css/CSSStyleRule.idl \
170     css/CSSStyleSheet.idl \
171     css/CSSValue.idl \
172     css/CSSValueList.idl \
173     css/MediaList.idl \
174     css/Rect.idl \
175     css/StyleSheet.idl \
176     dom/Attr.idl \
177     dom/CharacterData.idl \
178     dom/CDATASection.idl \
179     dom/Comment.idl \
180     dom/DocumentFragment.idl \
181     dom/Document.idl \
182     dom/DocumentType.idl \
183     dom/DOMImplementation.idl \
184     dom/Element.idl \
185     dom/Entity.idl \
186     dom/EntityReference.idl \
187     dom/Event.idl \
188 #    dom/EventListener.idl \
189 #    dom/EventTarget.idl \
190     dom/KeyboardEvent.idl \
191     dom/MouseEvent.idl \
192     dom/MutationEvent.idl \
193     dom/NamedNodeMap.idl \
194     dom/Node.idl \
195     dom/NodeFilter.idl \
196     dom/NodeIterator.idl \
197     dom/NodeList.idl \
198     dom/Notation.idl \
199     dom/OverflowEvent.idl \
200     dom/ProcessingInstruction.idl \
201     dom/RangeException.idl \
202     dom/Range.idl \
203     dom/Text.idl \
204     dom/TextEvent.idl \
205     dom/TreeWalker.idl \
206     dom/UIEvent.idl \
207     dom/WheelEvent.idl \
208     html/CanvasGradient.idl \
209     html/CanvasPattern.idl \
210     html/CanvasRenderingContext2D.idl \
211     html/HTMLAnchorElement.idl \
212     html/HTMLAppletElement.idl \
213     html/HTMLAreaElement.idl \
214     html/HTMLBaseElement.idl \
215     html/HTMLBaseFontElement.idl \
216     html/HTMLBlockquoteElement.idl \
217     html/HTMLBodyElement.idl \
218     html/HTMLBRElement.idl \
219     html/HTMLButtonElement.idl \
220     html/HTMLCanvasElement.idl \
221     html/HTMLCollection.idl \
222     html/HTMLDirectoryElement.idl \
223     html/HTMLDivElement.idl \
224     html/HTMLDListElement.idl \
225     html/HTMLDocument.idl \
226     html/HTMLElement.idl \
227     html/HTMLEmbedElement.idl \
228     html/HTMLFieldSetElement.idl \
229     html/HTMLFontElement.idl \
230     html/HTMLFormElement.idl \
231     html/HTMLFrameElement.idl \
232     html/HTMLFrameSetElement.idl \
233     html/HTMLHeadElement.idl \
234     html/HTMLHeadingElement.idl \
235     html/HTMLHRElement.idl \
236     html/HTMLHtmlElement.idl \
237     html/HTMLIFrameElement.idl \
238     html/HTMLImageElement.idl \
239     html/HTMLInputElement.idl \
240     html/HTMLIsIndexElement.idl \
241     html/HTMLLabelElement.idl \
242     html/HTMLLegendElement.idl \
243     html/HTMLLIElement.idl \
244     html/HTMLLinkElement.idl \
245     html/HTMLMapElement.idl \
246     html/HTMLMarqueeElement.idl \
247     html/HTMLMenuElement.idl \
248     html/HTMLMetaElement.idl \
249     html/HTMLModElement.idl \
250     html/HTMLObjectElement.idl \
251     html/HTMLOListElement.idl \
252     html/HTMLOptGroupElement.idl \
253     html/HTMLOptionElement.idl \
254     html/HTMLOptionsCollection.idl \
255     html/HTMLParagraphElement.idl \
256     html/HTMLParamElement.idl \
257     html/HTMLPreElement.idl \
258     html/HTMLQuoteElement.idl \
259     html/HTMLScriptElement.idl \
260     html/HTMLSelectElement.idl \
261     html/HTMLStyleElement.idl \
262     html/HTMLTableCaptionElement.idl \
263     html/HTMLTableCellElement.idl \
264     html/HTMLTableColElement.idl \
265     html/HTMLTableElement.idl \
266     html/HTMLTableRowElement.idl \
267     html/HTMLTableSectionElement.idl \
268     html/HTMLTextAreaElement.idl \
269     html/HTMLTitleElement.idl \
270     html/HTMLUListElement.idl \
271     page/BarInfo.idl \
272     page/DOMSelection.idl \
273     page/DOMWindow.idl \
274     page/History.idl \
275     page/Screen.idl \
276     xml/DOMParser.idl \
277     xml/XMLSerializer.idl
278
279
280 SOURCES += \
281     bindings/js/JSCanvasRenderingContext2DCustom.cpp \
282     bindings/js/JSCSSRuleCustom.cpp \
283     bindings/js/JSCSSStyleDeclarationCustom.cpp \
284     bindings/js/JSCSSValueCustom.cpp \
285     bindings/js/JSCustomXPathNSResolver.cpp \
286     bindings/js/JSDocumentCustom.cpp \
287     bindings/js/JSDOMExceptionConstructor.cpp \
288     bindings/js/JSDOMWindowCustom.cpp \
289     bindings/js/JSEventCustom.cpp \
290     bindings/js/JSEventTargetNode.cpp \
291     bindings/js/JSHTMLAppletElementCustom.cpp \
292     bindings/js/JSHTMLCollectionCustom.cpp \
293     bindings/js/JSHTMLDocumentCustom.cpp \
294     bindings/js/JSHTMLElementCustom.cpp \
295     bindings/js/JSHTMLElementWrapperFactory.cpp \
296     bindings/js/JSHTMLEmbedElementCustom.cpp \
297     bindings/js/JSHTMLFormElementCustom.cpp \
298     bindings/js/JSHTMLFrameSetElementCustom.cpp \
299     bindings/js/JSHTMLInputElementBase.cpp \
300     bindings/js/JSHTMLObjectElementCustom.cpp \
301     bindings/js/JSHTMLOptionElementConstructor.cpp \
302     bindings/js/JSHTMLOptionsCollectionCustom.cpp \
303     bindings/js/JSHTMLSelectElementCustom.cpp \
304     bindings/js/JSNamedNodeMapCustom.cpp \
305     bindings/js/JSNamedNodesCollection.cpp  \
306     bindings/js/JSNodeCustom.cpp \
307     bindings/js/JSNodeFilterCondition.cpp \
308     bindings/js/JSNodeFilterCustom.cpp \
309     bindings/js/JSNodeIteratorCustom.cpp \
310     bindings/js/JSNodeListCustom.cpp \
311     bindings/js/JSStyleSheetCustom.cpp \
312     bindings/js/JSTreeWalkerCustom.cpp \
313     bindings/js/JSXMLHttpRequest.cpp \
314     bindings/js/JSXSLTProcessor.cpp \
315     bindings/js/kjs_binding.cpp \
316     bindings/js/kjs_css.cpp \
317     bindings/js/kjs_dom.cpp \
318     bindings/js/kjs_events.cpp \
319     bindings/js/kjs_html.cpp \
320     bindings/js/kjs_navigator.cpp \
321     bindings/js/kjs_proxy.cpp \
322     bindings/js/kjs_window.cpp \
323     css/CSSBorderImageValue.cpp \
324     css/CSSCharsetRule.cpp \
325     css/CSSComputedStyleDeclaration.cpp \
326     css/CSSCursorImageValue.cpp \
327     css/CSSFontFaceRule.cpp \
328     css/csshelper.cpp \
329     css/CSSImageValue.cpp \
330     css/CSSImportRule.cpp \
331     css/CSSInheritedValue.cpp \
332     css/CSSInitialValue.cpp \
333     css/CSSMediaRule.cpp \
334     css/CSSMutableStyleDeclaration.cpp \
335     css/CSSPageRule.cpp \
336     css/cssparser.cpp \
337     css/CSSPrimitiveValue.cpp \
338     css/CSSProperty.cpp \
339     css/CSSRule.cpp \
340     css/CSSRuleList.cpp \
341     css/CSSSelector.cpp \
342     css/CSSStyleDeclaration.cpp \
343     css/CSSStyleRule.cpp \
344     css/cssstyleselector.cpp \
345     css/CSSStyleSheet.cpp \
346     css/CSSValueList.cpp \
347     css/FontFamilyValue.cpp \
348     css/FontValue.cpp \
349     css/MediaFeatureNames.cpp \
350     css/MediaList.cpp \
351     css/MediaQuery.cpp \
352     css/MediaQueryEvaluator.cpp \
353     css/MediaQueryExp.cpp \
354     css/ShadowValue.cpp \
355     css/StyleBase.cpp \
356     css/StyleList.cpp \
357     css/StyleSheet.cpp \
358     css/StyleSheetList.cpp \
359     dom/Attr.cpp \
360     dom/Attribute.cpp \
361     dom/BeforeTextInsertedEvent.cpp \
362     dom/BeforeUnloadEvent.cpp \
363     dom/CDATASection.cpp \
364     dom/CharacterData.cpp \
365     dom/ChildNodeList.cpp \
366     dom/Clipboard.cpp \
367     dom/ClipboardEvent.cpp \
368     dom/Comment.cpp \
369     dom/ContainerNode.cpp \
370     dom/CSSMappedAttributeDeclaration.cpp \
371     dom/Document.cpp \
372     dom/DocumentFragment.cpp \
373     dom/DocumentType.cpp \
374     dom/DOMImplementation.cpp \
375     dom/EditingText.cpp \
376     dom/Element.cpp \
377     dom/Entity.cpp \
378     dom/EntityReference.cpp \
379     dom/Event.cpp \
380     dom/EventNames.cpp \
381     dom/EventTarget.cpp \
382     dom/EventTargetNode.cpp \
383     dom/KeyboardEvent.cpp \
384     dom/MappedAttribute.cpp \
385     dom/MouseEvent.cpp \
386     dom/MouseRelatedEvent.cpp \
387     dom/MutationEvent.cpp \
388     dom/NamedAttrMap.cpp \
389     dom/NamedMappedAttrMap.cpp \
390     dom/NameNodeList.cpp \
391     dom/Node.cpp \
392     dom/NodeFilterCondition.cpp \
393     dom/NodeFilter.cpp \
394     dom/NodeIterator.cpp \
395     dom/NodeList.cpp \
396     dom/Notation.cpp \
397     dom/OverflowEvent.cpp \
398     dom/Position.cpp \
399     dom/PositionIterator.cpp \
400     dom/ProcessingInstruction.cpp \
401     dom/QualifiedName.cpp \
402     dom/Range.cpp \
403     dom/RegisteredEventListener.cpp \
404     dom/StyledElement.cpp \
405     dom/StyleElement.cpp \
406     dom/Text.cpp \
407     dom/TextEvent.cpp \
408     dom/Traversal.cpp \
409     dom/TreeWalker.cpp \
410     dom/UIEvent.cpp \
411     dom/UIEventWithKeyState.cpp \
412     dom/WheelEvent.cpp \
413     dom/XMLTokenizer.cpp \
414     editing/AppendNodeCommand.cpp \
415     editing/ApplyStyleCommand.cpp \
416     editing/BreakBlockquoteCommand.cpp \
417     editing/CommandByName.cpp \
418     editing/CompositeEditCommand.cpp \
419     editing/CreateLinkCommand.cpp \
420     editing/DeleteButtonController.cpp \
421     editing/DeleteButton.cpp \
422     editing/DeleteFromTextNodeCommand.cpp \
423     editing/DeleteSelectionCommand.cpp \
424     editing/EditCommand.cpp \
425     editing/Editor.cpp \
426     editing/FormatBlockCommand.cpp \
427     editing/htmlediting.cpp \
428     editing/HTMLInterchange.cpp \
429     editing/IndentOutdentCommand.cpp \
430     editing/InsertIntoTextNodeCommand.cpp \
431     editing/InsertLineBreakCommand.cpp \
432     editing/InsertListCommand.cpp \
433     editing/InsertNodeBeforeCommand.cpp \
434     editing/InsertParagraphSeparatorCommand.cpp \
435     editing/InsertTextCommand.cpp \
436     editing/JoinTextNodesCommand.cpp \
437     editing/JSEditor.cpp \
438     editing/markup.cpp \
439     editing/MergeIdenticalElementsCommand.cpp \
440     editing/ModifySelectionListLevel.cpp \
441     editing/MoveSelectionCommand.cpp \
442     editing/RemoveCSSPropertyCommand.cpp \
443     editing/RemoveNodeAttributeCommand.cpp \
444     editing/RemoveNodeCommand.cpp \
445     editing/RemoveNodePreservingChildrenCommand.cpp \
446     editing/ReplaceSelectionCommand.cpp \
447     editing/SelectionController.cpp \
448     editing/Selection.cpp \
449     editing/SetNodeAttributeCommand.cpp \
450     editing/SmartReplace.cpp \
451     editing/SplitElementCommand.cpp \
452     editing/SplitTextNodeCommand.cpp \
453     editing/SplitTextNodeContainingElementCommand.cpp \
454     editing/TextIterator.cpp \
455     editing/TypingCommand.cpp \
456     editing/UnlinkCommand.cpp \
457     editing/VisiblePosition.cpp \
458     editing/visible_units.cpp \
459     editing/WrapContentsInDummySpanCommand.cpp \
460     history/BackForwardList.cpp \
461     history/CachedPage.cpp \
462     history/HistoryItem.cpp \
463     history/PageCache.cpp \
464     html/CanvasGradient.cpp \
465     html/CanvasPattern.cpp \
466     html/CanvasRenderingContext2D.cpp \
467     html/CanvasStyle.cpp \
468     html/FormDataList.cpp \
469     html/HTMLAnchorElement.cpp \
470     html/HTMLAppletElement.cpp \
471     html/HTMLAreaElement.cpp \
472     html/HTMLBaseElement.cpp \
473     html/HTMLBaseFontElement.cpp \
474     html/HTMLBlockquoteElement.cpp \
475     html/HTMLBodyElement.cpp \
476     html/HTMLBRElement.cpp \
477     html/HTMLButtonElement.cpp \
478     html/HTMLCanvasElement.cpp \
479     html/HTMLCollection.cpp \
480     html/HTMLDirectoryElement.cpp \
481     html/HTMLDivElement.cpp \
482     html/HTMLDListElement.cpp \
483     html/HTMLDocument.cpp \
484     html/HTMLElement.cpp \
485     html/HTMLElementFactory.cpp \
486     html/HTMLEmbedElement.cpp \
487     html/HTMLFieldSetElement.cpp \
488     html/HTMLFontElement.cpp \
489     html/HTMLFormCollection.cpp \
490     html/HTMLFormElement.cpp \
491     html/HTMLFrameElementBase.cpp \
492     html/HTMLFrameElement.cpp \
493     html/HTMLFrameOwnerElement.cpp \
494     html/HTMLFrameSetElement.cpp \
495     html/HTMLGenericFormElement.cpp \
496     html/HTMLHeadElement.cpp \
497     html/HTMLHeadingElement.cpp \
498     html/HTMLHRElement.cpp \
499     html/HTMLHtmlElement.cpp \
500     html/HTMLIFrameElement.cpp \
501     html/HTMLImageElement.cpp \
502     html/HTMLImageLoader.cpp \
503     html/HTMLInputElement.cpp \
504     html/HTMLIsIndexElement.cpp \
505     html/HTMLKeygenElement.cpp \
506     html/HTMLLabelElement.cpp \
507     html/HTMLLegendElement.cpp \
508     html/HTMLLIElement.cpp \
509     html/HTMLLinkElement.cpp \
510     html/HTMLMapElement.cpp \
511     html/HTMLMarqueeElement.cpp \
512     html/HTMLMenuElement.cpp \
513     html/HTMLMetaElement.cpp \
514     html/HTMLModElement.cpp \
515     html/HTMLNameCollection.cpp \
516     html/HTMLObjectElement.cpp \
517     html/HTMLOListElement.cpp \
518     html/HTMLOptGroupElement.cpp \
519     html/HTMLOptionElement.cpp \
520     html/HTMLOptionsCollection.cpp \
521     html/HTMLParagraphElement.cpp \
522     html/HTMLParamElement.cpp \
523     html/HTMLParser.cpp \
524     html/HTMLParserErrorCodes.cpp \
525     html/HTMLPlugInElement.cpp \
526     html/HTMLPreElement.cpp \
527     html/HTMLQuoteElement.cpp \
528     html/HTMLScriptElement.cpp \
529     html/HTMLSelectElement.cpp \
530     html/HTMLStyleElement.cpp \
531     html/HTMLTableCaptionElement.cpp \
532     html/HTMLTableCellElement.cpp \
533     html/HTMLTableColElement.cpp \
534     html/HTMLTableElement.cpp \
535     html/HTMLTablePartElement.cpp \
536     html/HTMLTableRowElement.cpp \
537     html/HTMLTableSectionElement.cpp \
538     html/HTMLTextAreaElement.cpp \
539     html/HTMLTextFieldInnerElement.cpp \
540     html/HTMLTitleElement.cpp \
541     html/HTMLTokenizer.cpp \
542     html/HTMLUListElement.cpp \
543     html/HTMLViewSourceDocument.cpp \
544     loader/Cache.cpp \
545     loader/CachedCSSStyleSheet.cpp \
546     loader/CachedImage.cpp \
547     loader/CachedResourceClientWalker.cpp \
548     loader/CachedResource.cpp \
549     loader/CachedScript.cpp \
550     loader/CachedXSLStyleSheet.cpp \
551     loader/DocLoader.cpp \
552     loader/DocumentLoader.cpp \
553     loader/FormState.cpp \
554     loader/FrameLoader.cpp \
555     loader/icon/IconLoader.cpp \
556     loader/ImageDocument.cpp \
557     loader/loader.cpp \
558     loader/MainResourceLoader.cpp \
559     loader/NavigationAction.cpp \
560     loader/NetscapePlugInStreamLoader.cpp \
561     loader/PluginDocument.cpp \
562     loader/ProgressTracker.cpp \
563     loader/Request.cpp \
564     loader/ResourceLoader.cpp \
565     loader/SubresourceLoader.cpp \
566     loader/TextDocument.cpp \
567     loader/TextResourceDecoder.cpp \
568     page/BarInfo.cpp \
569     page/Chrome.cpp \
570     page/ContextMenuController.cpp \
571     page/DOMSelection.cpp \
572     page/DOMWindow.cpp \
573     page/DragController.cpp \
574     page/EventHandler.cpp \
575     page/FocusController.cpp \
576     page/Frame.cpp \
577     page/FrameTree.cpp \
578     page/FrameView.cpp \
579     page/History.cpp \
580     page/InspectorController.cpp \
581     page/MouseEventWithHitTestResults.cpp \
582     page/Page.cpp \
583     page/Screen.cpp \
584     page/Settings.cpp \
585     platform/Arena.cpp \
586     platform/ArrayImpl.cpp \
587     platform/AtomicString.cpp \
588     platform/Base64.cpp \
589     platform/ContextMenu.cpp \
590     platform/CString.cpp \
591     platform/DeprecatedCString.cpp \
592     platform/DeprecatedPtrListImpl.cpp \
593     platform/DeprecatedString.cpp \
594     platform/DeprecatedStringList.cpp \
595     platform/DeprecatedValueListImpl.cpp \
596     platform/DragData.cpp \
597     platform/DragImage.cpp \
598     platform/FileChooser.cpp \
599     platform/FontFamily.cpp \
600     platform/graphics/AffineTransform.cpp \
601     platform/graphics/BitmapImage.cpp \
602     platform/graphics/Color.cpp \
603     platform/graphics/FloatPoint3D.cpp \
604     platform/graphics/FloatPoint.cpp \
605     platform/graphics/FloatRect.cpp \
606     platform/graphics/FloatSize.cpp \
607     platform/graphics/GraphicsContext.cpp \
608     platform/graphics/GraphicsTypes.cpp \
609     platform/graphics/ImageBuffer.cpp \
610     platform/graphics/Image.cpp \
611     platform/graphics/IntRect.cpp \
612     platform/graphics/Path.cpp \
613     platform/graphics/PathTraversalState.cpp \
614     platform/graphics/Pen.cpp \
615     platform/KURL.cpp \
616     platform/Logging.cpp \
617     platform/MimeTypeRegistry.cpp \
618     platform/network/AuthenticationChallenge.cpp \
619     platform/network/Credential.cpp \
620     platform/network/FormData.cpp \
621     platform/network/HTTPParsers.cpp \
622     platform/network/ProtectionSpace.cpp \
623     platform/network/ResourceHandle.cpp \
624     platform/network/ResourceRequestBase.cpp \
625     platform/network/ResourceResponse.cpp \
626     platform/RegularExpression.cpp \
627     platform/ScrollBar.cpp \
628 #    platform/SearchPopupMenu.cpp \
629     platform/SegmentedString.cpp \
630     platform/SharedBuffer.cpp \
631     platform/String.cpp \
632     platform/StringImpl.cpp \
633     platform/TextCodec.cpp \
634     platform/TextCodecLatin1.cpp \
635     platform/TextCodecUTF16.cpp \
636     platform/TextDecoder.cpp \
637     platform/TextEncoding.cpp \
638     platform/TextEncodingRegistry.cpp \
639     platform/TextStream.cpp \
640     platform/Timer.cpp \
641     platform/Widget.cpp \
642     rendering/AutoTableLayout.cpp \
643     rendering/bidi.cpp \
644     rendering/break_lines.cpp \
645     rendering/CounterNode.cpp \
646     rendering/EllipsisBox.cpp \
647     rendering/FixedTableLayout.cpp \
648     rendering/HitTestResult.cpp \
649     rendering/InlineBox.cpp \
650     rendering/InlineFlowBox.cpp \
651     rendering/InlineTextBox.cpp \
652     rendering/LayoutState.cpp \
653     rendering/ListMarkerBox.cpp \
654     rendering/RenderApplet.cpp \
655     rendering/RenderArena.cpp \
656     rendering/RenderBlock.cpp \
657     rendering/RenderBox.cpp \
658     rendering/RenderBR.cpp \
659     rendering/RenderButton.cpp \
660     rendering/RenderContainer.cpp \
661     rendering/RenderCounter.cpp \
662     rendering/RenderFieldset.cpp \
663     rendering/RenderFileUploadControl.cpp \
664     rendering/RenderFlexibleBox.cpp \
665     rendering/RenderFlow.cpp \
666     rendering/RenderFrame.cpp \
667     rendering/RenderFrameSet.cpp \
668     rendering/RenderHTMLCanvas.cpp \
669     rendering/RenderImage.cpp \
670     rendering/RenderInline.cpp \
671     rendering/RenderLayer.cpp \
672     rendering/RenderLegend.cpp \
673     rendering/RenderListBox.cpp \
674     rendering/RenderListItem.cpp \
675     rendering/RenderListMarker.cpp \
676     rendering/RenderMenuList.cpp \
677     rendering/RenderObject.cpp \
678     rendering/RenderPart.cpp \
679     rendering/RenderPartObject.cpp \
680     rendering/RenderReplaced.cpp \
681     rendering/RenderSlider.cpp \
682     rendering/RenderStyle.cpp \
683     rendering/RenderTableCell.cpp \
684     rendering/RenderTableCol.cpp \
685     rendering/RenderTable.cpp \
686     rendering/RenderTableRow.cpp \
687     rendering/RenderTableSection.cpp \
688     rendering/RenderTextControl.cpp \
689     rendering/RenderText.cpp \
690     rendering/RenderTextFragment.cpp \
691     rendering/RenderTheme.cpp \
692     rendering/RenderTreeAsText.cpp \
693     rendering/RenderView.cpp \
694     rendering/RenderWidget.cpp \
695     rendering/RenderWordBreak.cpp \
696     rendering/RootInlineBox.cpp \
697     rendering/SVGRenderTreeAsText.cpp \
698     xml/DOMParser.cpp \
699     xml/NativeXPathNSResolver.cpp \
700     xml/xmlhttprequest.cpp \
701     xml/XMLSerializer.cpp \
702     xml/XPathEvaluator.cpp \
703     xml/XPathExpression.cpp \
704     xml/XPathExpressionNode.cpp \
705     xml/XPathFunctions.cpp \
706     xml/XPathNamespace.cpp \
707     xml/XPathNodeSet.cpp \
708     xml/XPathNSResolver.cpp \
709     xml/XPathParser.cpp \
710     xml/XPathPath.cpp \
711     xml/XPathPredicate.cpp \
712     xml/XPathResult.cpp \
713     xml/XPathStep.cpp \
714     xml/XPathUtil.cpp \
715     xml/XPathValue.cpp \
716     xml/XPathVariableReference.cpp \
717     xml/XSLImportRule.cpp \
718     xml/XSLStyleSheet.cpp \
719     xml/XSLTProcessor.cpp
720
721 gdk-port {
722   SOURCES += \
723     platform/GlyphPageTreeNode.cpp \
724     platform/GlyphWidthMap.cpp \
725     platform/FontCache.cpp \
726     platform/Font.cpp \
727     platform/FontData.cpp \
728     platform/FontFallbackList.cpp 
729 }
730
731 qt-port:HEADERS += \
732     $$PWD/platform/qt/QWebPopup.h \
733     $$PWD/platform/qt/SharedTimerQt.h \
734     $$PWD/../WebKitQt/Api/qwebframe.h \
735     $$PWD/../WebKitQt/Api/qwebpage.h \
736     $$PWD/../WebKitQt/Api/qwebnetworkinterface.h \
737     $$PWD/../WebKitQt/Api/qwebnetworkinterface_p.h \
738     $$PWD/../WebKitQt/Api/qwebobjectplugin.h \
739     $$PWD/../WebKitQt/Api/qwebobjectplugin_p.h \
740     $$PWD/../WebKitQt/Api/qwebobjectpluginconnector.h \
741     $$PWD/../WebKitQt/Api/qcookiejar.h \
742     $$PWD/../WebKitQt/WebCoreSupport/FrameLoaderClientQt.h
743
744 qt-port:SOURCES += \
745     page/qt/DragControllerQt.cpp \
746     page/qt/EventHandlerQt.cpp \
747     page/qt/FrameQt.cpp \
748     loader/qt/DocumentLoaderQt.cpp \
749     platform/graphics/qt/AffineTransformQt.cpp \
750     platform/graphics/qt/ColorQt.cpp \
751     platform/graphics/qt/FloatPointQt.cpp \
752     platform/graphics/qt/FloatRectQt.cpp \
753     platform/graphics/qt/GraphicsContextQt.cpp \
754     platform/graphics/qt/IconQt.cpp \
755     platform/graphics/qt/ImageBufferQt.cpp \
756     platform/graphics/qt/ImageDecoderQt.cpp \
757     platform/graphics/qt/ImageQt.cpp \
758     platform/graphics/qt/ImageSourceQt.cpp \
759     platform/graphics/qt/IntPointQt.cpp \
760     platform/graphics/qt/IntRectQt.cpp \
761     platform/graphics/qt/IntSizeQt.cpp \
762     platform/graphics/qt/PathQt.cpp \
763     platform/network/qt/ResourceHandleQt.cpp \
764     editing/qt/EditorQt.cpp \
765     history/qt/CachedPageQt.cpp \
766     platform/qt/ClipboardQt.cpp \
767     platform/qt/ContextMenuItemQt.cpp \
768     platform/qt/ContextMenuQt.cpp \
769     platform/qt/CookieJarQt.cpp \
770     platform/qt/CursorQt.cpp \
771     platform/qt/DragDataQt.cpp \
772     platform/qt/DragImageQt.cpp \
773     platform/qt/FileChooserQt.cpp \
774     platform/qt/FontQt.cpp \
775     platform/qt/GlyphPageTreeNodeQt.cpp \
776     platform/qt/MimeTypeRegistryQt.cpp \
777     platform/qt/PasteboardQt.cpp \
778     platform/qt/PlatformKeyboardEventQt.cpp \
779     platform/qt/PlatformMouseEventQt.cpp \
780     platform/qt/PlatformScreenQt.cpp \
781     platform/qt/PlatformScrollBarQt.cpp \
782     platform/qt/PlugInInfoStoreQt.cpp \
783     platform/qt/PopupMenuQt.cpp \
784     platform/qt/QWebPopup.cpp \
785     platform/qt/RenderThemeQt.cpp \
786     platform/qt/ScrollViewQt.cpp \
787     platform/qt/SearchPopupMenuQt.cpp \
788     platform/qt/SharedTimerQt.cpp \
789     platform/qt/SoundQt.cpp \
790     platform/qt/StringQt.cpp \
791     platform/qt/SystemTimeQt.cpp \
792     platform/qt/TemporaryLinkStubs.cpp \
793     platform/qt/TextBoundaries.cpp \
794     platform/qt/TextBreakIteratorQt.cpp \
795     platform/qt/TextCodecQt.cpp \
796     platform/qt/WheelEventQt.cpp \
797     platform/qt/WidgetQt.cpp \
798     ../WebKitQt/WebCoreSupport/ChromeClientQt.cpp \
799     ../WebKitQt/WebCoreSupport/ContextMenuClientQt.cpp \
800     ../WebKitQt/WebCoreSupport/DragClientQt.cpp \
801     ../WebKitQt/WebCoreSupport/EditorClientQt.cpp \
802     ../WebKitQt/WebCoreSupport/EditCommandQt.cpp \
803     ../WebKitQt/WebCoreSupport/FrameLoaderClientQt.cpp \
804     ../WebKitQt/WebCoreSupport/InspectorClientQt.cpp \
805     ../WebKitQt/Api/qwebframe.cpp \
806     ../WebKitQt/Api/qwebnetworkinterface.cpp \
807     ../WebKitQt/Api/qcookiejar.cpp \
808     ../WebKitQt/Api/qwebpage.cpp \
809     ../WebKitQt/Api/qwebpagehistory.cpp \
810     ../WebKitQt/Api/qwebsettings.cpp \
811     ../WebKitQt/Api/qwebobjectplugin.cpp \
812     ../WebKitQt/Api/qwebobjectpluginconnector.cpp 
813
814 gdk-port:SOURCES += \
815         platform/TextCodecICU.cpp \
816         platform/TextBreakIteratorICU.cpp \
817         page/gdk/EventHandlerGdk.cpp \
818         page/gdk/ContextMenuClientGdk.cpp \
819         page/gdk/DragControllerGdk.cpp \
820         loader/gdk/DocumentLoaderGdk.cpp \
821         loader/gdk/FrameLoaderClientGdk.cpp \
822         platform/gdk/CookieJarGdk.cpp \
823         platform/gdk/CursorGdk.cpp \
824         platform/gdk/DragDataGdk.cpp \
825         platform/gdk/DragImageGdk.cpp \
826         platform/gdk/EditorClientGdk.cpp \
827         platform/gdk/FontCacheGdk.cpp \
828         platform/gdk/FontDataGdk.cpp \
829         platform/gdk/FontGdk.cpp \
830         platform/gdk/FontPlatformDataGdk.cpp \
831         platform/gdk/FrameGdk.cpp \
832         platform/gdk/GlyphPageTreeNodeGdk.cpp \
833         platform/gdk/KeyEventGdk.cpp \
834         platform/gdk/LoggingGdk.cpp \
835         platform/gdk/MimeTypeRegistryGdk.cpp \
836         platform/gdk/MouseEventGdk.cpp \
837         platform/gdk/PlatformScreenGdk.cpp \
838         platform/gdk/PlatformScrollBarGdk.cpp \
839         platform/gdk/PopupMenuGdk.cpp \
840         platform/gdk/RenderThemeGdk.cpp \
841         platform/gdk/ScrollViewGdk.cpp \
842         platform/gdk/SharedTimerLinux.cpp \
843         platform/gdk/SoundGdk.cpp \
844         platform/gdk/SystemTimeLinux.cpp \
845         platform/gdk/TemporaryLinkStubs.cpp \
846         platform/gdk/WheelEventGdk.cpp \
847         platform/gdk/WidgetGdk.cpp \
848         platform/graphics/gdk/ImageGdk.cpp \
849         platform/network/curl/ResourceHandleCurl.cpp \
850         platform/network/curl/ResourceHandleManager.cpp \
851         platform/graphics/cairo/AffineTransformCairo.cpp \
852         platform/graphics/cairo/GraphicsContextCairo.cpp \
853         platform/graphics/cairo/ImageBufferCairo.cpp \
854         platform/graphics/cairo/ImageCairo.cpp \
855         platform/graphics/cairo/ImageSourceCairo.cpp \
856         platform/graphics/cairo/PathCairo.cpp \
857         platform/image-decoders/gif/GIFImageDecoder.cpp \
858         platform/image-decoders/gif/GIFImageReader.cpp  \
859         platform/image-decoders/png/PNGImageDecoder.cpp \
860         platform/image-decoders/jpeg/JPEGImageDecoder.cpp \
861         platform/image-decoders/bmp/BMPImageDecoder.cpp \
862         platform/image-decoders/ico/ICOImageDecoder.cpp \
863         platform/image-decoders/xbm/XBMImageDecoder.cpp
864  
865 contains(DEFINES, ENABLE_ICONDATABASE=1) {
866     qt-port: INCLUDEPATH += $$[QT_INSTALL_PREFIX]/src/3rdparty/sqlite/
867     LIBS += -lsqlite3
868     SOURCES += \
869         loader/icon/IconDatabase.cpp \
870         loader/icon/IconDataCache.cpp \
871         loader/icon/SQLDatabase.cpp \
872         loader/icon/SQLStatement.cpp \
873         loader/icon/SQLTransaction.cpp
874 } else {
875     SOURCES += \
876         loader/icon/IconDatabaseNone.cpp
877 }
878
879 contains(DEFINES, ENABLE_XPATH=1) {
880     FEATURE_DEFINES_JAVASCRIPT += ENABLE_XPATH
881
882     XPATHBISON = $$PWD/xml/XPathGrammar.y
883
884     IDL_BINDINGS += \
885         xml/XPathNSResolver.idl \
886         xml/XPathExpression.idl \
887         xml/XPathResult.idl \
888         xml/XPathEvaluator.idl
889 }
890
891 !mac:CONFIG += link_pkgconfig
892 PKGCONFIG += libxml-2.0
893
894 contains(DEFINES, ENABLE_XSLT=1) {
895     FEATURE_DEFINES_JAVASCRIPT += ENABLE_XSLT
896     PKGCONFIG += libxslt
897 }
898
899 contains(DEFINES, ENABLE_XBL=1) {
900     FEATURE_DEFINES_JAVASCRIPT += ENABLE_XBL
901 }
902
903 contains(DEFINES, ENABLE_SVG=1) {
904     FEATURE_DEFINES_JAVASCRIPT += ENABLE_SVG
905
906     DEPENDPATH += ksvg2/css ksvg2/events ksvg2/misc ksvg2/svg platform/graphics/svg
907     qt-port {
908         DEPENDPATH += platform/graphics/svg/qt
909     }
910
911     gdk-port {
912         DEPENDPATH += platform/graphics/svg/cairo
913     }
914
915     SVG_NAMES = $$PWD/ksvg2/svg/svgtags.in
916
917     XLINK_NAMES = $$PWD/ksvg2/misc/xlinkattrs.in
918
919     IDL_BINDINGS += ksvg2/events/SVGZoomEvent.idl \
920         ksvg2/svg/SVGAElement.idl \
921         ksvg2/svg/SVGAngle.idl \
922         ksvg2/svg/SVGAnimateColorElement.idl \
923         ksvg2/svg/SVGAnimatedAngle.idl \
924         ksvg2/svg/SVGAnimatedBoolean.idl \
925         ksvg2/svg/SVGAnimatedEnumeration.idl \
926         ksvg2/svg/SVGAnimatedInteger.idl \
927         ksvg2/svg/SVGAnimatedLength.idl \
928         ksvg2/svg/SVGAnimatedLengthList.idl \
929         ksvg2/svg/SVGAnimatedNumber.idl \
930         ksvg2/svg/SVGAnimatedNumberList.idl \
931         ksvg2/svg/SVGAnimatedPreserveAspectRatio.idl \
932         ksvg2/svg/SVGAnimatedRect.idl \
933         ksvg2/svg/SVGAnimatedString.idl \
934         ksvg2/svg/SVGAnimatedTransformList.idl \
935         ksvg2/svg/SVGAnimateElement.idl \
936         ksvg2/svg/SVGAnimateTransformElement.idl \
937         ksvg2/svg/SVGAnimationElement.idl \
938         ksvg2/svg/SVGCircleElement.idl \
939         ksvg2/svg/SVGClipPathElement.idl \
940         ksvg2/svg/SVGColor.idl \
941         ksvg2/svg/SVGComponentTransferFunctionElement.idl \
942         ksvg2/svg/SVGCursorElement.idl \
943         ksvg2/svg/SVGDefsElement.idl \
944         ksvg2/svg/SVGDescElement.idl \
945         ksvg2/svg/SVGDocument.idl \
946         ksvg2/svg/SVGElement.idl \
947         ksvg2/svg/SVGElementInstance.idl \
948         ksvg2/svg/SVGElementInstanceList.idl \
949         ksvg2/svg/SVGEllipseElement.idl \
950         ksvg2/svg/SVGFEBlendElement.idl \
951         ksvg2/svg/SVGFEColorMatrixElement.idl \
952         ksvg2/svg/SVGFEComponentTransferElement.idl \
953         ksvg2/svg/SVGFECompositeElement.idl \
954         ksvg2/svg/SVGFEDiffuseLightingElement.idl \
955         ksvg2/svg/SVGFEDisplacementMapElement.idl \
956         ksvg2/svg/SVGFEDistantLightElement.idl \
957         ksvg2/svg/SVGFEFloodElement.idl \
958         ksvg2/svg/SVGFEFuncAElement.idl \
959         ksvg2/svg/SVGFEFuncBElement.idl \
960         ksvg2/svg/SVGFEFuncGElement.idl \
961         ksvg2/svg/SVGFEFuncRElement.idl \
962         ksvg2/svg/SVGFEGaussianBlurElement.idl \
963         ksvg2/svg/SVGFEImageElement.idl \
964         ksvg2/svg/SVGFEMergeElement.idl \
965         ksvg2/svg/SVGFEMergeNodeElement.idl \
966         ksvg2/svg/SVGFEOffsetElement.idl \
967         ksvg2/svg/SVGFEPointLightElement.idl \
968         ksvg2/svg/SVGFESpecularLightingElement.idl \
969         ksvg2/svg/SVGFESpotLightElement.idl \
970         ksvg2/svg/SVGFETileElement.idl \
971         ksvg2/svg/SVGFETurbulenceElement.idl \
972         ksvg2/svg/SVGFilterElement.idl \
973         ksvg2/svg/SVGForeignObjectElement.idl \
974         ksvg2/svg/SVGGElement.idl \
975         ksvg2/svg/SVGGradientElement.idl \
976         ksvg2/svg/SVGImageElement.idl \
977         ksvg2/svg/SVGLength.idl \
978         ksvg2/svg/SVGLengthList.idl \
979         ksvg2/svg/SVGLinearGradientElement.idl \
980         ksvg2/svg/SVGLineElement.idl \
981         ksvg2/svg/SVGMarkerElement.idl \
982         ksvg2/svg/SVGMaskElement.idl \
983         ksvg2/svg/SVGMatrix.idl \
984         ksvg2/svg/SVGMetadataElement.idl \
985         ksvg2/svg/SVGNumber.idl \
986         ksvg2/svg/SVGNumberList.idl \
987         ksvg2/svg/SVGPaint.idl \
988         ksvg2/svg/SVGPathElement.idl \
989         ksvg2/svg/SVGPathSegArcAbs.idl \
990         ksvg2/svg/SVGPathSegArcRel.idl \
991         ksvg2/svg/SVGPathSegClosePath.idl \
992         ksvg2/svg/SVGPathSegCurvetoCubicAbs.idl \
993         ksvg2/svg/SVGPathSegCurvetoCubicRel.idl \
994         ksvg2/svg/SVGPathSegCurvetoCubicSmoothAbs.idl \
995         ksvg2/svg/SVGPathSegCurvetoCubicSmoothRel.idl \
996         ksvg2/svg/SVGPathSegCurvetoQuadraticAbs.idl \
997         ksvg2/svg/SVGPathSegCurvetoQuadraticRel.idl \
998         ksvg2/svg/SVGPathSegCurvetoQuadraticSmoothAbs.idl \
999         ksvg2/svg/SVGPathSegCurvetoQuadraticSmoothRel.idl \
1000         ksvg2/svg/SVGPathSeg.idl \
1001         ksvg2/svg/SVGPathSegLinetoAbs.idl \
1002         ksvg2/svg/SVGPathSegLinetoHorizontalAbs.idl \
1003         ksvg2/svg/SVGPathSegLinetoHorizontalRel.idl \
1004         ksvg2/svg/SVGPathSegLinetoRel.idl \
1005         ksvg2/svg/SVGPathSegLinetoVerticalAbs.idl \
1006         ksvg2/svg/SVGPathSegLinetoVerticalRel.idl \
1007         ksvg2/svg/SVGPathSegList.idl \
1008         ksvg2/svg/SVGPathSegMovetoAbs.idl \
1009         ksvg2/svg/SVGPathSegMovetoRel.idl \
1010         ksvg2/svg/SVGPatternElement.idl \
1011         ksvg2/svg/SVGPoint.idl \
1012         ksvg2/svg/SVGPointList.idl \
1013         ksvg2/svg/SVGPolygonElement.idl \
1014         ksvg2/svg/SVGPolylineElement.idl \
1015         ksvg2/svg/SVGPreserveAspectRatio.idl \
1016         ksvg2/svg/SVGRadialGradientElement.idl \
1017         ksvg2/svg/SVGRectElement.idl \
1018         ksvg2/svg/SVGRect.idl \
1019         ksvg2/svg/SVGRenderingIntent.idl \
1020         ksvg2/svg/SVGScriptElement.idl \
1021         ksvg2/svg/SVGSetElement.idl \
1022         ksvg2/svg/SVGStopElement.idl \
1023         ksvg2/svg/SVGStringList.idl \
1024         ksvg2/svg/SVGStyleElement.idl \
1025         ksvg2/svg/SVGSVGElement.idl \
1026         ksvg2/svg/SVGSwitchElement.idl \
1027         ksvg2/svg/SVGSymbolElement.idl \
1028         ksvg2/svg/SVGTextContentElement.idl \
1029         ksvg2/svg/SVGTextElement.idl \
1030         ksvg2/svg/SVGTextPositioningElement.idl \
1031         ksvg2/svg/SVGTitleElement.idl \
1032         ksvg2/svg/SVGTransform.idl \
1033         ksvg2/svg/SVGTransformList.idl \
1034         ksvg2/svg/SVGTRefElement.idl \
1035         ksvg2/svg/SVGTSpanElement.idl \
1036         ksvg2/svg/SVGUnitTypes.idl \
1037         ksvg2/svg/SVGUseElement.idl \
1038         ksvg2/svg/SVGViewElement.idl 
1039
1040     SOURCES += \
1041 # TODO: this-one-is-not-auto-added! FIXME! tmp/SVGElementFactory.cpp \
1042         bindings/js/JSSVGElementWrapperFactory.cpp \
1043         bindings/js/JSSVGMatrixCustom.cpp \
1044         bindings/js/JSSVGPathSegCustom.cpp \
1045         bindings/js/JSSVGPathSegListCustom.cpp \
1046         bindings/js/JSSVGPointListCustom.cpp \
1047         ksvg2/css/SVGCSSParser.cpp \
1048         ksvg2/css/SVGCSSStyleSelector.cpp \
1049         ksvg2/css/SVGRenderStyle.cpp \
1050         ksvg2/css/SVGRenderStyleDefs.cpp \
1051         ksvg2/events/JSSVGLazyEventListener.cpp \
1052         ksvg2/events/SVGZoomEvent.cpp \
1053         ksvg2/misc/KCanvasRenderingStyle.cpp \
1054         ksvg2/misc/PointerEventsHitRules.cpp \
1055         ksvg2/misc/SVGDocumentExtensions.cpp \
1056         ksvg2/misc/SVGImageLoader.cpp \
1057         ksvg2/misc/SVGTimer.cpp \
1058         ksvg2/misc/TimeScheduler.cpp \
1059         ksvg2/svg/ColorDistance.cpp \
1060         ksvg2/svg/SVGAElement.cpp \
1061         ksvg2/svg/SVGAngle.cpp \
1062         ksvg2/svg/SVGAnimateColorElement.cpp \
1063         ksvg2/svg/SVGAnimatedPathData.cpp \
1064         ksvg2/svg/SVGAnimatedPoints.cpp \
1065         ksvg2/svg/SVGAnimateElement.cpp \
1066         ksvg2/svg/SVGAnimateMotionElement.cpp \
1067         ksvg2/svg/SVGAnimateTransformElement.cpp \
1068         ksvg2/svg/SVGAnimationElement.cpp \
1069         ksvg2/svg/SVGCircleElement.cpp \
1070         ksvg2/svg/SVGClipPathElement.cpp \
1071         ksvg2/svg/SVGColor.cpp \
1072         ksvg2/svg/SVGComponentTransferFunctionElement.cpp \
1073         ksvg2/svg/SVGCursorElement.cpp \
1074         ksvg2/svg/SVGDefsElement.cpp \
1075         ksvg2/svg/SVGDescElement.cpp \
1076         ksvg2/svg/SVGDocument.cpp \
1077         ksvg2/svg/SVGElement.cpp \
1078         ksvg2/svg/SVGElementInstance.cpp \
1079         ksvg2/svg/SVGElementInstanceList.cpp \
1080         ksvg2/svg/SVGEllipseElement.cpp \
1081         ksvg2/svg/SVGExternalResourcesRequired.cpp \
1082         ksvg2/svg/SVGFEBlendElement.cpp \
1083         ksvg2/svg/SVGFEColorMatrixElement.cpp \
1084         ksvg2/svg/SVGFEComponentTransferElement.cpp \
1085         ksvg2/svg/SVGFECompositeElement.cpp \
1086         ksvg2/svg/SVGFEDiffuseLightingElement.cpp \
1087         ksvg2/svg/SVGFEDisplacementMapElement.cpp \
1088         ksvg2/svg/SVGFEDistantLightElement.cpp \
1089         ksvg2/svg/SVGFEFloodElement.cpp \
1090         ksvg2/svg/SVGFEFuncAElement.cpp \
1091         ksvg2/svg/SVGFEFuncBElement.cpp \
1092         ksvg2/svg/SVGFEFuncGElement.cpp \
1093         ksvg2/svg/SVGFEFuncRElement.cpp \
1094         ksvg2/svg/SVGFEGaussianBlurElement.cpp \
1095         ksvg2/svg/SVGFEImageElement.cpp \
1096         ksvg2/svg/SVGFELightElement.cpp \
1097         ksvg2/svg/SVGFEMergeElement.cpp \
1098         ksvg2/svg/SVGFEMergeNodeElement.cpp \
1099         ksvg2/svg/SVGFEOffsetElement.cpp \
1100         ksvg2/svg/SVGFEPointLightElement.cpp \
1101         ksvg2/svg/SVGFESpecularLightingElement.cpp \
1102         ksvg2/svg/SVGFESpotLightElement.cpp \
1103         ksvg2/svg/SVGFETileElement.cpp \
1104         ksvg2/svg/SVGFETurbulenceElement.cpp \
1105         ksvg2/svg/SVGFilterElement.cpp \
1106         ksvg2/svg/SVGFilterPrimitiveStandardAttributes.cpp \
1107         ksvg2/svg/SVGFitToViewBox.cpp \
1108         ksvg2/svg/SVGForeignObjectElement.cpp \
1109         ksvg2/svg/SVGGElement.cpp \
1110         ksvg2/svg/SVGGradientElement.cpp \
1111         ksvg2/svg/SVGImageElement.cpp \
1112         ksvg2/svg/SVGLangSpace.cpp \
1113         ksvg2/svg/SVGLength.cpp \
1114         ksvg2/svg/SVGLengthList.cpp \
1115         ksvg2/svg/SVGLinearGradientElement.cpp \
1116         ksvg2/svg/SVGLineElement.cpp \
1117         ksvg2/svg/SVGLocatable.cpp \
1118         ksvg2/svg/SVGMarkerElement.cpp \
1119         ksvg2/svg/SVGMaskElement.cpp \
1120         ksvg2/svg/SVGMetadataElement.cpp \
1121         ksvg2/svg/SVGMPathElement.cpp \
1122         ksvg2/svg/SVGNumberList.cpp \
1123         ksvg2/svg/SVGPaint.cpp \
1124         ksvg2/svg/SVGParserUtilities.cpp \
1125         ksvg2/svg/SVGPathElement.cpp \
1126         ksvg2/svg/SVGPathSegArc.cpp \
1127         ksvg2/svg/SVGPathSegClosePath.cpp \
1128         ksvg2/svg/SVGPathSegCurvetoCubic.cpp \
1129         ksvg2/svg/SVGPathSegCurvetoCubicSmooth.cpp \
1130         ksvg2/svg/SVGPathSegCurvetoQuadratic.cpp \
1131         ksvg2/svg/SVGPathSegCurvetoQuadraticSmooth.cpp \
1132         ksvg2/svg/SVGPathSegLineto.cpp \
1133         ksvg2/svg/SVGPathSegLinetoHorizontal.cpp \
1134         ksvg2/svg/SVGPathSegLinetoVertical.cpp \
1135         ksvg2/svg/SVGPathSegList.cpp \
1136         ksvg2/svg/SVGPathSegMoveto.cpp \
1137         ksvg2/svg/SVGPatternElement.cpp \
1138         ksvg2/svg/SVGPointList.cpp \
1139         ksvg2/svg/SVGPolyElement.cpp \
1140         ksvg2/svg/SVGPolygonElement.cpp \
1141         ksvg2/svg/SVGPolylineElement.cpp \
1142         ksvg2/svg/SVGPreserveAspectRatio.cpp \
1143         ksvg2/svg/SVGRadialGradientElement.cpp \
1144         ksvg2/svg/SVGRectElement.cpp \
1145         ksvg2/svg/SVGScriptElement.cpp \
1146         ksvg2/svg/SVGSetElement.cpp \
1147         ksvg2/svg/SVGStopElement.cpp \
1148         ksvg2/svg/SVGStringList.cpp \
1149         ksvg2/svg/SVGStylable.cpp \
1150         ksvg2/svg/SVGStyledElement.cpp \
1151         ksvg2/svg/SVGStyledLocatableElement.cpp \
1152         ksvg2/svg/SVGStyledTransformableElement.cpp \
1153         ksvg2/svg/SVGStyleElement.cpp \
1154         ksvg2/svg/SVGSVGElement.cpp \
1155         ksvg2/svg/SVGSwitchElement.cpp \
1156         ksvg2/svg/SVGSymbolElement.cpp \
1157         ksvg2/svg/SVGTests.cpp \
1158         ksvg2/svg/SVGTextContentElement.cpp \
1159         ksvg2/svg/SVGTextElement.cpp \
1160         ksvg2/svg/SVGTextPositioningElement.cpp \
1161         ksvg2/svg/SVGTitleElement.cpp \
1162         ksvg2/svg/SVGTransformable.cpp \
1163         ksvg2/svg/SVGTransform.cpp \
1164         ksvg2/svg/SVGTransformDistance.cpp \
1165         ksvg2/svg/SVGTransformList.cpp \
1166         ksvg2/svg/SVGTRefElement.cpp \
1167         ksvg2/svg/SVGTSpanElement.cpp \
1168         ksvg2/svg/SVGURIReference.cpp \
1169         ksvg2/svg/SVGUseElement.cpp \
1170         ksvg2/svg/SVGViewElement.cpp \
1171         ksvg2/svg/SVGZoomAndPan.cpp \
1172         platform/graphics/svg/filters/SVGFEBlend.cpp \
1173         platform/graphics/svg/filters/SVGFEColorMatrix.cpp \
1174         platform/graphics/svg/filters/SVGFEComponentTransfer.cpp \
1175         platform/graphics/svg/filters/SVGFEComposite.cpp \
1176         platform/graphics/svg/filters/SVGFEConvolveMatrix.cpp \
1177         platform/graphics/svg/filters/SVGFEDiffuseLighting.cpp \
1178         platform/graphics/svg/filters/SVGFEDisplacementMap.cpp \
1179         platform/graphics/svg/filters/SVGFEFlood.cpp \
1180         platform/graphics/svg/filters/SVGFEGaussianBlur.cpp \
1181         platform/graphics/svg/filters/SVGFEImage.cpp \
1182         platform/graphics/svg/filters/SVGFEMerge.cpp \
1183         platform/graphics/svg/filters/SVGFEMorphology.cpp \
1184         platform/graphics/svg/filters/SVGFEOffset.cpp \
1185         platform/graphics/svg/filters/SVGFESpecularLighting.cpp \
1186         platform/graphics/svg/filters/SVGFETurbulence.cpp \
1187         platform/graphics/svg/filters/SVGFilterEffect.cpp \
1188         platform/graphics/svg/filters/SVGLightSource.cpp \
1189         platform/graphics/svg/SVGImage.cpp \
1190         platform/graphics/svg/SVGPaintServer.cpp \
1191         platform/graphics/svg/SVGPaintServerGradient.cpp \
1192         platform/graphics/svg/SVGPaintServerLinearGradient.cpp \
1193         platform/graphics/svg/SVGPaintServerPattern.cpp \
1194         platform/graphics/svg/SVGPaintServerRadialGradient.cpp \
1195         platform/graphics/svg/SVGPaintServerSolid.cpp \
1196         platform/graphics/svg/SVGResourceClipper.cpp \
1197         platform/graphics/svg/SVGResource.cpp \
1198         platform/graphics/svg/SVGResourceFilter.cpp \
1199         platform/graphics/svg/SVGResourceMarker.cpp \
1200         platform/graphics/svg/SVGResourceMasker.cpp \
1201         rendering/RenderForeignObject.cpp \
1202         rendering/RenderPath.cpp \
1203         rendering/RenderSVGBlock.cpp \
1204         rendering/RenderSVGContainer.cpp \
1205         rendering/RenderSVGGradientStop.cpp \
1206         rendering/RenderSVGHiddenContainer.cpp \
1207         rendering/RenderSVGImage.cpp \
1208         rendering/RenderSVGInline.cpp \
1209         rendering/RenderSVGInlineText.cpp \
1210         rendering/RenderSVGText.cpp \
1211         rendering/RenderSVGTSpan.cpp \
1212         rendering/SVGInlineFlowBox.cpp \
1213         rendering/SVGInlineTextBox.cpp \
1214         rendering/SVGRootInlineBox.cpp
1215
1216 qt-port:SOURCES += \
1217         platform/graphics/svg/qt/RenderPathQt.cpp \
1218         platform/graphics/svg/qt/SVGPaintServerGradientQt.cpp \
1219         platform/graphics/svg/qt/SVGPaintServerLinearGradientQt.cpp \
1220         platform/graphics/svg/qt/SVGPaintServerPatternQt.cpp \
1221         platform/graphics/svg/qt/SVGPaintServerQt.cpp \
1222         platform/graphics/svg/qt/SVGPaintServerRadialGradientQt.cpp \
1223         platform/graphics/svg/qt/SVGPaintServerSolidQt.cpp \
1224         platform/graphics/svg/qt/SVGResourceClipperQt.cpp \
1225         platform/graphics/svg/qt/SVGResourceFilterQt.cpp \
1226         platform/graphics/svg/qt/SVGResourceMaskerQt.cpp
1227
1228 gdk-port:SOURCES += \
1229         platform/graphics/svg/cairo/RenderPathCairo.cpp \
1230         platform/graphics/svg/cairo/SVGPaintServerCairo.cpp \
1231         platform/graphics/svg/cairo/SVGPaintServerGradientCairo.cpp \
1232         platform/graphics/svg/cairo/SVGPaintServerPatternCairo.cpp \
1233         platform/graphics/svg/cairo/SVGPaintServerSolidCairo.cpp \
1234         platform/graphics/svg/cairo/SVGResourceClipperCairo.cpp \
1235         platform/graphics/svg/cairo/SVGResourceMaskerCairo.cpp
1236
1237         # GENERATOR 5-C:
1238         svgnames_a.output = tmp/SVGNames.cpp
1239         svgnames_a.commands = perl $$PWD/ksvg2/scripts/make_names.pl --tags $$PWD/ksvg2/svg/svgtags.in --attrs $$PWD/ksvg2/svg/svgattrs.in --namespace SVG --cppNamespace WebCore --namespaceURI 'http://www.w3.org/2000/svg' --factory --attrsNullNamespace --output tmp
1240         svgnames_a.input = SVG_NAMES
1241         svgnames_a.dependency_type = TYPE_C
1242         svgnames_a.CONFIG = target_predeps
1243         svgnames_a.variable_out = GENERATED_SOURCES
1244         svgnames_a.clean = ${QMAKE_FILE_OUT} tmp/SVGNames.h
1245         QMAKE_EXTRA_COMPILERS += svgnames_a
1246         svgnames_b.output = tmp/SVGElementFactory.cpp
1247         svgnames_b.commands = @echo -n ''
1248         svgnames_b.input = SVG_NAMES
1249         svgnames_b.depends = tmp/SVGNames.cpp
1250         svgnames_b.CONFIG = target_predeps
1251         svgnames_b.variable_out = GENERATED_SOURCES
1252         svgnames_b.clean += tmp/SVGElementFactory.h ${QMAKE_FILE_OUT}
1253         QMAKE_EXTRA_COMPILERS += svgnames_b
1254
1255         # GENERATOR 5-D:
1256         xlinknames.output = tmp/XLinkNames.cpp
1257         xlinknames.commands = perl $$PWD/ksvg2/scripts/make_names.pl --attrs $$PWD/ksvg2/misc/xlinkattrs.in --namespace XLink --cppNamespace WebCore --namespaceURI 'http://www.w3.org/1999/xlink' --output tmp
1258         xlinknames.input = XLINK_NAMES
1259         xlinknames.dependency_type = TYPE_C
1260         xlinknames.CONFIG = target_predeps
1261         xlinknames.variable_out = GENERATED_SOURCES
1262         xlinknames.clean = ${QMAKE_FILE_OUT} tmp/XLinkNames.h
1263         QMAKE_EXTRA_COMPILERS += xlinknames
1264 }
1265
1266
1267 # GENERATOR 1: IDL compiler
1268 idl.output = tmp/JS${QMAKE_FILE_BASE}.cpp
1269 idl.variable_out = GENERATED_SOURCES
1270 idl.input = IDL_BINDINGS
1271 idl.commands = perl -I$$PWD/bindings/scripts $$PWD/bindings/scripts/generate-bindings.pl --defines \"$${FEATURE_DEFINES_JAVASCRIPT}\" --generator JS --include $$PWD/dom --include $$PWD/html --include $$PWD/xml --include $$PWD/ksvg2/svg --outputdir tmp ${QMAKE_FILE_NAME}
1272 idl.CONFIG += target_predeps
1273 idl.clean = tmp/JS${QMAKE_FILE_BASE}.h ${QMAKE_FILE_OUT}
1274 QMAKE_EXTRA_COMPILERS += idl
1275
1276 # GENERATOR 2-A: LUT creator
1277 #lut.output = tmp/${QMAKE_FILE_BASE}.lut.h
1278 #lut.commands = perl $$PWD/../JavaScriptCore/kjs/create_hash_table ${QMAKE_FILE_NAME} -i > ${QMAKE_FILE_OUT}
1279 #lut.depend = ${QMAKE_FILE_NAME}
1280 #lut.input = LUT_FILES
1281 #lut.CONFIG += no_link
1282 #QMAKE_EXTRA_COMPILERS += lut
1283
1284 # GENERATOR 2-B: like JavaScriptCore/LUT Generator, but rename output
1285 luttable.output = tmp/${QMAKE_FILE_BASE}Table.cpp
1286 luttable.commands = perl $$PWD/../JavaScriptCore/kjs/create_hash_table ${QMAKE_FILE_NAME} -i > ${QMAKE_FILE_OUT}
1287 luttable.depend = ${QMAKE_FILE_NAME}
1288 luttable.input = LUT_TABLE_FILES
1289 luttable.CONFIG += no_link
1290 luttable.dependency_type = TYPE_C
1291 QMAKE_EXTRA_COMPILERS += luttable
1292
1293 # GENERATOR 3: tokenizer (flex)
1294 tokenizer.output = tmp/${QMAKE_FILE_BASE}.cpp
1295 tokenizer.commands = flex -t < ${QMAKE_FILE_NAME} | perl $$PWD/css/maketokenizer > ${QMAKE_FILE_OUT}
1296 tokenizer.dependency_Type = TYPE_C
1297 tokenizer.input = TOKENIZER
1298 tokenizer.CONFIG += target_predeps no_link
1299 QMAKE_EXTRA_COMPILERS += tokenizer
1300
1301 # GENERATOR 4: CSS grammar
1302 CSS_GRAMMAR_GUARD_A = \"\\043ifndef CSSGRAMMAR_H\\n\\043define CSSGRAMMAR_H\\n\"
1303 CSS_GRAMMAR_GUARD_B = \"\\043endif\\n\"
1304 cssbison.output = tmp/${QMAKE_FILE_BASE}.cpp
1305 cssbison.commands = bison -d -p cssyy ${QMAKE_FILE_NAME} -o ${QMAKE_FILE_BASE}.tab.c && mv ${QMAKE_FILE_BASE}.tab.c tmp/${QMAKE_FILE_BASE}.cpp && touch tmp/${QMAKE_FILE_BASE}.h && perl -e \'printf $$CSS_GRAMMAR_GUARD_A\' > tmp/${QMAKE_FILE_BASE}.h && cat ${QMAKE_FILE_BASE}.tab.h >> tmp/${QMAKE_FILE_BASE}.h && perl -e \'printf $$CSS_GRAMMAR_GUARD_B\' >> tmp/${QMAKE_FILE_BASE}.h && rm ${QMAKE_FILE_BASE}.tab.h
1306 cssbison.depend = ${QMAKE_FILE_NAME}
1307 cssbison.input = CSSBISON
1308 cssbison.CONFIG = target_predeps
1309 cssbison.dependency_type = TYPE_C
1310 cssbison.variable_out = GENERATED_SOURCES
1311 cssbison.clean = ${QMAKE_FILE_OUT} tmp/${QMAKE_FILE_BASE}.h
1312 QMAKE_EXTRA_COMPILERS += cssbison
1313 #PRE_TARGETDEPS += tmp/CSSGrammar.cpp
1314 grammar_h_dep.target = tmp/cssparser.o
1315 grammar_h_dep.depends = tmp/CSSGrammar.cpp tmp/HTMLNames.cpp
1316 QMAKE_EXTRA_TARGETS += grammar_h_dep
1317
1318 # GENERATOR 5-A:
1319 htmlnames.output = tmp/HTMLNames.cpp
1320 htmlnames.commands = perl $$PWD/ksvg2/scripts/make_names.pl --tags $$PWD/html/HTMLTagNames.in --attrs $$PWD/html/HTMLAttributeNames.in --namespace HTML --namespacePrefix xhtml --cppNamespace WebCore --namespaceURI 'http://www.w3.org/1999/xhtml' --attrsNullNamespace --output tmp
1321 htmlnames.input = HTML_NAMES
1322 htmlnames.dependency_type = TYPE_C
1323 htmlnames.CONFIG = target_predeps
1324 htmlnames.variable_out = GENERATED_SOURCES
1325 htmlnames.clean = ${QMAKE_FILE_OUT} tmp/HTMLNames.h
1326 QMAKE_EXTRA_COMPILERS += htmlnames
1327
1328 # GENERATOR 5-B:
1329 xmlnames.output = tmp/XMLNames.cpp
1330 xmlnames.commands = perl $$PWD/ksvg2/scripts/make_names.pl --attrs $$PWD/xml/xmlattrs.in --namespace XML --cppNamespace WebCore --namespaceURI 'http://www.w3.org/XML/1998/namespace' --output tmp
1331 xmlnames.input = XML_NAMES
1332 xmlnames.dependency_type = TYPE_C
1333 xmlnames.CONFIG = target_predeps
1334 xmlnames.variable_out = GENERATED_SOURCES
1335 xmlnames.clean = ${QMAKE_FILE_OUT} tmp/XMLNames.h
1336 QMAKE_EXTRA_COMPILERS += xmlnames
1337
1338 # GENERATOR 6-A:
1339 cssprops.output = tmp/CSSPropertyNames.c
1340 cssprops.input = WALDOCSSPROPS
1341 cssprops.commands = cp ${QMAKE_FILE_NAME} tmp && cd tmp && sh $$PWD/css/makeprop && rm ${QMAKE_FILE_BASE}.strip ${QMAKE_FILE_BASE}.in ${QMAKE_FILE_BASE}.gperf
1342 cssprops.CONFIG = target_predeps no_link
1343 cssprops.clean = ${QMAKE_FILE_OUT} tmp/CSSPropertyNames.h
1344 QMAKE_EXTRA_COMPILERS += cssprops
1345
1346 # GENERATOR 6-B:
1347 cssvalues.output = tmp/CSSValueKeywords.c
1348 cssvalues.input = WALDOCSSVALUES
1349 cssvalues.commands = cp ${QMAKE_FILE_NAME} tmp && cd tmp && sh $$PWD/css/makevalues && rm CSSValueKeywords.in CSSValueKeywords.strip CSSValueKeywords.gperf
1350 cssvalues.CONFIG = target_predeps no_link
1351 cssvalues.clean = ${QMAKE_FILE_OUT} tmp/CSSValueKeywords.h
1352 QMAKE_EXTRA_COMPILERS += cssvalues
1353
1354 # GENERATOR 7-A:
1355 svgcssproperties.output = tmp/ksvgcssproperties.h
1356 svgcssproperties.input = SVGCSSPROPERTIES
1357 svgcssproperties.commands = cp $$PWD/ksvg2/css/CSSPropertyNames.in tmp/ksvgcssproperties.in && cd tmp && perl $$PWD/ksvg2/scripts/cssmakeprops -n SVG -f ksvgcssproperties.in && rm ksvgcssproperties.in ksvgcssproperties.gperf
1358 svgcssproperties.CONFIG = target_predeps no_link
1359 svgcssproperties.clean = ${QMAKE_FILE_OUT} tmp/ksvgcssproperties.c
1360 QMAKE_EXTRA_COMPILERS += svgcssproperties
1361
1362 # GENERATOR 7-B:
1363 svgcssvalues.output = tmp/ksvgcssvalues.h
1364 svgcssvalues.input = SVGCSSVALUES
1365 svgcssvalues.commands = perl -ne \'print lc\' $$PWD/ksvg2/css/CSSValueKeywords.in > tmp/ksvgcssvalues.in && cd tmp && perl $$PWD/ksvg2/scripts/cssmakevalues -n SVG -f ksvgcssvalues.in && rm ksvgcssvalues.in ksvgcssvalues.gperf
1366 svgcssvalues.CONFIG = target_predeps no_link
1367 svgcssvalues.clean = ${QMAKE_FILE_OUT} tmp/ksvgcssvalues.c tmp/CSSValueKeywords.h
1368 QMAKE_EXTRA_COMPILERS += svgcssvalues
1369
1370 # GENERATOR 8-A:
1371 entities.output = tmp/HTMLEntityNames.c
1372 entities.commands = gperf -a -L ANSI-C -C -G -c -o -t -k '\*' -N findEntity -D -s 2 < $$PWD/html/HTMLEntityNames.gperf > tmp/HTMLEntityNames.c
1373 entities.input = ENTITIES_GPERF
1374 entities.dependency_type = TYPE_C
1375 entities.CONFIG = target_predeps no_link
1376 entities.clean = ${QMAKE_FILE_OUT}
1377 QMAKE_EXTRA_COMPILERS += entities
1378
1379 # PRE-GENERATOR 8-B:
1380 doctypestrings.target = $$OUTPUT_DIR/WebCore/tmp/DocTypeStrings.cpp
1381 doctypestrings.commands = echo \"$${LITERAL_HASH}include <string.h>\" > $$doctypestrings.target && gperf -CEot -L ANSI-C -k \'*\' -N findDoctypeEntry -F ,PubIDInfo::eAlmostStandards,PubIDInfo::eAlmostStandards < $$PWD/html/DocTypeStrings.gperf >> $$doctypestrings.target
1382 QMAKE_EXTRA_TARGETS += doctypestrings
1383 PRE_TARGETDEPS += $$OUTPUT_DIR/WebCore/tmp/DocTypeStrings.cpp
1384 CLEAN_FILES += $$doctypestrings.target
1385
1386 # GENERATOR 8-C:
1387 colordata.output = tmp/ColorData.c
1388 colordata.commands = echo \"$${LITERAL_HASH}include <string.h>\" > ${QMAKE_FILE_OUT} && gperf -CDEot -L ANSI-C -k \'*\' -N findColor -D -s 2 < ${QMAKE_FILE_NAME} >> ${QMAKE_FILE_OUT}
1389 colordata.input = COLORDAT_GPERF
1390 colordata.CONFIG = target_predeps no_link
1391 QMAKE_EXTRA_COMPILERS += colordata
1392
1393 # GENERATOR 9:
1394 stylesheets.output = tmp/UserAgentStyleSheetsData.cpp
1395 stylesheets.commands = perl $$PWD/css/make-css-file-arrays.pl tmp/UserAgentStyleSheets.h tmp/UserAgentStyleSheetsData.cpp $$PWD/css/html4.css $$PWD/css/quirks.css $$PWD/css/svg.css $$PWD/css/view-source.css
1396 stylesheets.input = STYLESHEETS_EMBED
1397 stylesheets.CONFIG = target_predeps
1398 stylesheets.variable_out = GENERATED_SOURCES
1399 stylesheets.clean = ${QMAKE_FILE_OUT} tmp/UserAgentStyleSheets.h
1400 QMAKE_EXTRA_COMPILERS += stylesheets
1401
1402 # GENERATOR 10: XPATH grammar
1403 xpathbison.output = tmp/${QMAKE_FILE_BASE}.cpp
1404 xpathbison.commands = bison -d -p xpathyy ${QMAKE_FILE_NAME} -o ${QMAKE_FILE_BASE}.tab.c && mv ${QMAKE_FILE_BASE}.tab.c tmp/${QMAKE_FILE_BASE}.cpp && mv ${QMAKE_FILE_BASE}.tab.h tmp/${QMAKE_FILE_BASE}.h
1405 xpathbison.depend = ${QMAKE_FILE_NAME}
1406 xpathbison.input = XPATHBISON
1407 xpathbison.CONFIG = target_predeps
1408 xpathbison.dependency_type = TYPE_C
1409 xpathbison.variable_out = GENERATED_SOURCES
1410 xpathbison.clean = ${QMAKE_FILE_OUT} tmp/${QMAKE_FILE_BASE}.h
1411 QMAKE_EXTRA_COMPILERS += xpathbison
1412
1413 qt-port {
1414     target.path = $$[QT_INSTALL_LIBS]
1415     include($$PWD/../WebKitQt/Api/headers.pri)
1416     headers.files = $$WEBKIT_API_HEADERS
1417     headers.path = $$[QT_INSTALL_HEADERS]/QtWebKit
1418     prf.files = $$PWD/../WebKitQt/Api/qtwebkit.prf
1419     prf.path = $$[QT_INSTALL_PREFIX]/mkspecs/features
1420
1421     INSTALLS += target headers prf
1422
1423     unix {
1424         CONFIG += create_pc create_prl
1425         QMAKE_PKGCONFIG_LIBDIR = $$target.path
1426         QMAKE_PKGCONFIG_INCDIR = $$headers.path
1427         QMAKE_PKGCONFIG_DESTDIR = pkgconfig
1428         lib_replace.match = $$DESTDIR
1429         lib_replace.replace = $$[QT_INSTALL_LIBS]
1430         QMAKE_PKGCONFIG_INSTALL_REPLACE += lib_replace
1431     }
1432 }
1433