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