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