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