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