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