2008-11-12 Tor Arne Vestbø <tavestbo@trolltech.com>
[WebKit-https.git] / WebCore / WebCore.pro
1 # WebCore - qmake build info
2 CONFIG += building-libs
3 CONFIG += depend_includepath
4 include($$PWD/../WebKit.pri)
5
6 TEMPLATE = lib
7 TARGET = QtWebKit
8
9 contains(QT_CONFIG, embedded):CONFIG += embedded
10
11 CONFIG(QTDIR_build) {
12     GENERATED_SOURCES_DIR = $$PWD/generated
13     include($$QT_SOURCE_TREE/src/qbase.pri)
14     !win32-msvc*: CONFIG -= create_prl
15     PRECOMPILED_HEADER = $$PWD/../WebKit/qt/WebKit_pch.h
16     DEFINES *= NDEBUG
17 }
18
19 isEmpty(GENERATED_SOURCES_DIR):GENERATED_SOURCES_DIR = tmp
20 GENERATED_SOURCES_DIR_SLASH = $$GENERATED_SOURCES_DIR/
21 win32-*: GENERATED_SOURCES_DIR_SLASH ~= s|/|\|
22
23 !CONFIG(QTDIR_build) {
24      OBJECTS_DIR = tmp
25      DESTDIR = $$OUTPUT_DIR/lib
26 }
27
28 include($$OUTPUT_DIR/config.pri)
29
30 CONFIG -= warn_on
31 *-g++*:QMAKE_CXXFLAGS += -Wreturn-type -fno-strict-aliasing
32 #QMAKE_CXXFLAGS += -Wall -Wno-undef -Wno-unused-parameter
33
34 CONFIG(release):!CONFIG(QTDIR_build) {
35     contains(QT_CONFIG, reduce_exports):CONFIG += hide_symbols
36     unix:contains(QT_CONFIG, reduce_relocations):CONFIG += bsymbolic_functions
37 }
38
39 linux-*: DEFINES += HAVE_STDINT_H
40 freebsd-*: DEFINES += HAVE_PTHREAD_NP_H
41
42 # PRE-BUILD: make the required config.h file
43 #config_h.target = config.h
44 #config_h.commands = cp config.h.qmake config.h
45 #config_h.depends = config.h.qmake
46 #QMAKE_EXTRA_TARGETS += config_h
47 #PRE_TARGETDEPS += config.h
48
49 DEFINES += BUILD_WEBKIT
50
51 !CONFIG(QTDIR_build):win32-*: DEFINES += ENABLE_ICONDATABASE=0 ENABLE_DATABASE=0
52 win32-*: DEFINES += _HAS_TR1=0
53
54 # Pick up 3rdparty libraries from INCLUDE/LIB just like with MSVC
55 win32-g++ {
56     TMPPATH            = $$quote($$(INCLUDE))
57     QMAKE_INCDIR_POST += $$split(TMPPATH,";")
58     TMPPATH            = $$quote($$(LIB))
59     QMAKE_LIBDIR_POST += $$split(TMPPATH,";")
60 }
61
62 # Optional components (look for defs in config.h and included files!)
63 !contains(DEFINES, ENABLE_DASHBOARD_SUPPORT=.): DEFINES += ENABLE_DASHBOARD_SUPPORT=0
64 !contains(DEFINES, ENABLE_DATABASE=.): DEFINES += ENABLE_DATABASE=1
65 !contains(DEFINES, ENABLE_ICONDATABASE=.): DEFINES += ENABLE_ICONDATABASE=1
66 !contains(DEFINES, ENABLE_XPATH=.): DEFINES += ENABLE_XPATH=1
67 #!contains(DEFINES, ENABLE_XBL=.): DEFINES += ENABLE_XBL=1
68 !contains(DEFINES, ENABLE_SVG=.): DEFINES += ENABLE_SVG=1
69 #!contains(DEFINES, ENABLE_SVG_FONTS=.): DEFINES += ENABLE_SVG_FONTS=1
70 !contains(DEFINES, ENABLE_SVG_FILTERS=.): DEFINES += ENABLE_SVG_FILTERS=1
71 !contains(DEFINES, ENABLE_SVG_FOREIGN_OBJECT=.): DEFINES += ENABLE_SVG_FOREIGN_OBJECT=1
72 !contains(DEFINES, ENABLE_SVG_ANIMATION=.): DEFINES += ENABLE_SVG_ANIMATION=1
73 !contains(DEFINES, ENABLE_SVG_AS_IMAGE=.): DEFINES += ENABLE_SVG_AS_IMAGE=1
74 !contains(DEFINES, ENABLE_SVG_USE=.): DEFINES += ENABLE_SVG_USE=1
75
76 # HTML5 media support
77 contains(QT_CONFIG, phonon):DEFINES += ENABLE_VIDEO=1
78 else:DEFINES += ENABLE_VIDEO=0
79
80 # Nescape plugins support (NPAPI)
81 unix|win32-*:!embedded:!wince*:!symbian {
82     DEFINES += ENABLE_NETSCAPE_PLUGIN_API=1
83 } else {
84     DEFINES += ENABLE_NETSCAPE_PLUGIN_API=0
85 }
86
87 DEFINES += WTF_USE_JAVASCRIPTCORE_BINDINGS=1 WTF_CHANGES=1
88
89 INCLUDEPATH += $$PWD $$PWD/../JavaScriptCore $$PWD/../JavaScriptCore/ForwardingHeaders \
90                $$PWD/../JavaScriptCore/VM \
91                $$PWD/../JavaScriptCore/debugger \
92                $$PWD/../JavaScriptCore/parser \
93                $$PWD/../JavaScriptCore/runtime \
94                $$PWD/../JavaScriptCore/bindings \
95                $$PWD/../JavaScriptCore/wtf
96
97 contains(CONFIG, debug_and_release_target) {
98     CONFIG(debug, debug|release) {
99         LIBS += -L../JavaScriptCore/debug
100     } else {
101         LIBS += -L../JavaScriptCore/release
102     }
103 } else {
104     LIBS += -L../JavaScriptCore
105 }
106
107 unset(JSCORE_LINKAGE)
108 CONFIG(QTDIR_build) {
109     if(!debug_and_release|build_pass):CONFIG(debug, debug|release) {
110         win32:JSCORE_LINKAGE = -lJavaScriptCored
111         mac:JSCORE_LINKAGE = -lJavaScriptCore_debug
112     }
113 }
114 isEmpty(JSCORE_LINKAGE):JSCORE_LINKAGE += -lJavaScriptCore
115 LIBS += $$JSCORE_LINKAGE
116
117 RESOURCES += \
118     $$PWD/../WebCore/inspector/front-end/WebKit.qrc \
119     $$PWD/../WebCore/Resources/WebKitResources.qrc \
120     $$PWD/../WebCore/platform/qt/WebCoreResources.qrc
121 INCLUDEPATH += \
122     $$PWD/platform/qt \
123     $$PWD/platform/network/qt \
124     $$PWD/platform/graphics/filters \
125     $$PWD/platform/graphics/qt \
126     $$PWD/svg/graphics/qt \
127     $$PWD/loader \
128     $$PWD/page/qt \
129     $$PWD/../WebKit/qt/WebCoreSupport \
130     $$PWD/../WebKit/qt/Api \
131     $$PWD/bridge/qt
132
133 # Make sure storage/ appears before JavaScriptCore/. Both provide LocalStorage.h
134 # but the header from the former include path is included across directories while
135 # LocalStorage.h is included only from files within the same directory
136 INCLUDEPATH = $$PWD/storage $$INCLUDEPATH
137
138 INCLUDEPATH +=  $$PWD \
139                 $$PWD/ForwardingHeaders \
140                 $$PWD/.. \
141                 $$PWD/platform \
142                 $$PWD/platform/network \
143                 $$PWD/platform/graphics \
144                 $$PWD/svg/animation \
145                 $$PWD/svg/graphics \
146                 $$PWD/svg/graphics/filters \
147                 $$PWD/platform/sql \
148                 $$PWD/platform/text \
149                 $$PWD/loader \
150                 $$PWD/loader/appcache \
151                 $$PWD/loader/archive \
152                 $$PWD/loader/icon \
153                 $$PWD/css \
154                 $$PWD/dom \
155                 $$PWD/page \
156                 $$PWD/page/animation \
157                 $$PWD/bridge \
158                 $$PWD/editing \
159                 $$PWD/rendering \
160                 $$PWD/rendering/style \
161                 $$PWD/history \
162                 $$PWD/inspector \
163                 $$PWD/xml \
164                 $$PWD/html \
165                 $$PWD/bindings/js \
166                 $$PWD/svg \
167                 $$PWD/platform/image-decoders \
168                 $$PWD/plugins \
169                 $$PWD/bridge \
170                 $$PWD/bridge/c \
171                 $$PWD/bridge/qt \
172                 $$GENERATED_SOURCES_DIR
173
174 QT += network
175 lessThan(QT_MINOR_VERSION, 4): QT += xml
176
177 QMAKE_EXTRA_TARGETS += generated_files
178
179 FEATURE_DEFINES_JAVASCRIPT = LANGUAGE_JAVASCRIPT=1
180
181 TOKENIZER = $$PWD/css/tokenizer.flex
182
183 DOCTYPESTRINGS = $$PWD/html/DocTypeStrings.gperf
184
185 CSSBISON = $$PWD/css/CSSGrammar.y
186
187 HTML_NAMES = $$PWD/html/HTMLTagNames.in
188
189 XML_NAMES = $$PWD/xml/xmlattrs.in
190
191 ENTITIES_GPERF = $$PWD/html/HTMLEntityNames.gperf
192
193 COLORDAT_GPERF = $$PWD/platform/ColorData.gperf
194
195 WALDOCSSPROPS = $$PWD/css/CSSPropertyNames.in
196
197 WALDOCSSVALUES = $$PWD/css/CSSValueKeywords.in
198
199 DASHBOARDSUPPORTCSSPROPERTIES = $$PWD/css/DashboardSupportCSSPropertyNames.in
200
201 SVGCSSPROPERTIES = $$PWD/css/SVGCSSPropertyNames.in
202
203 SVGCSSVALUES = $$PWD/css/SVGCSSValueKeywords.in
204
205 STYLESHEETS_EMBED = $$PWD/css/html4.css
206
207 LUT_FILES += \
208     bindings/js/JSDOMWindowBase.cpp \
209     bindings/js/JSRGBColor.cpp
210
211 IDL_BINDINGS += \
212     css/Counter.idl \
213     css/CSSCharsetRule.idl \
214     css/CSSFontFaceRule.idl \
215     css/CSSImportRule.idl \
216     css/CSSMediaRule.idl \
217     css/CSSPageRule.idl \
218     css/CSSPrimitiveValue.idl \
219     css/CSSRule.idl \
220     css/CSSRuleList.idl \
221     css/CSSStyleDeclaration.idl \
222     css/CSSStyleRule.idl \
223     css/CSSStyleSheet.idl \
224     css/CSSValue.idl \
225     css/CSSValueList.idl \
226     css/CSSVariablesDeclaration.idl \
227     css/CSSVariablesRule.idl \
228     css/MediaList.idl \
229     css/Rect.idl \
230     css/StyleSheet.idl \
231     css/StyleSheetList.idl \
232     css/WebKitCSSKeyframeRule.idl \
233     css/WebKitCSSKeyframesRule.idl \
234     css/WebKitCSSTransformValue.idl \
235     dom/Attr.idl \
236     dom/CharacterData.idl \
237     dom/Clipboard.idl \
238     dom/CDATASection.idl \
239     dom/Comment.idl \
240     dom/DocumentFragment.idl \
241     dom/Document.idl \
242     dom/DocumentType.idl \
243     dom/DOMCoreException.idl \
244     dom/DOMImplementation.idl \
245     dom/Element.idl \
246     dom/Entity.idl \
247     dom/EntityReference.idl \
248     dom/Event.idl \
249     dom/EventException.idl \
250 #    dom/EventListener.idl \
251 #    dom/EventTarget.idl \
252     dom/EventTargetNode.idl \
253     dom/KeyboardEvent.idl \
254     dom/MouseEvent.idl \
255     dom/MessageChannel.idl \
256     dom/MessageEvent.idl \
257     dom/MessagePort.idl \
258     dom/MutationEvent.idl \
259     dom/NamedNodeMap.idl \
260     dom/Node.idl \
261     dom/NodeFilter.idl \
262     dom/NodeIterator.idl \
263     dom/NodeList.idl \
264     dom/Notation.idl \
265     dom/OverflowEvent.idl \
266     dom/ProcessingInstruction.idl \
267     dom/ProgressEvent.idl \
268     dom/RangeException.idl \
269     dom/Range.idl \
270     dom/Text.idl \
271     dom/TextEvent.idl \
272     dom/TreeWalker.idl \
273     dom/UIEvent.idl \
274     dom/WebKitAnimationEvent.idl \
275     dom/WebKitTransitionEvent.idl \
276     dom/WheelEvent.idl \
277     html/CanvasGradient.idl \
278     html/CanvasPattern.idl \
279     html/CanvasPixelArray.idl \
280     html/CanvasRenderingContext2D.idl \
281     html/File.idl \
282     html/FileList.idl \
283     html/HTMLAnchorElement.idl \
284     html/HTMLAppletElement.idl \
285     html/HTMLAreaElement.idl \
286     html/HTMLBaseElement.idl \
287     html/HTMLBaseFontElement.idl \
288     html/HTMLBlockquoteElement.idl \
289     html/HTMLBodyElement.idl \
290     html/HTMLBRElement.idl \
291     html/HTMLButtonElement.idl \
292     html/HTMLCanvasElement.idl \
293     html/HTMLCollection.idl \
294     html/HTMLDirectoryElement.idl \
295     html/HTMLDivElement.idl \
296     html/HTMLDListElement.idl \
297     html/HTMLDocument.idl \
298     html/HTMLElement.idl \
299     html/HTMLEmbedElement.idl \
300     html/HTMLFieldSetElement.idl \
301     html/HTMLFontElement.idl \
302     html/HTMLFormElement.idl \
303     html/HTMLFrameElement.idl \
304     html/HTMLFrameSetElement.idl \
305     html/HTMLHeadElement.idl \
306     html/HTMLHeadingElement.idl \
307     html/HTMLHRElement.idl \
308     html/HTMLHtmlElement.idl \
309     html/HTMLIFrameElement.idl \
310     html/HTMLImageElement.idl \
311     html/HTMLInputElement.idl \
312     html/HTMLIsIndexElement.idl \
313     html/HTMLLabelElement.idl \
314     html/HTMLLegendElement.idl \
315     html/HTMLLIElement.idl \
316     html/HTMLLinkElement.idl \
317     html/HTMLMapElement.idl \
318     html/HTMLMarqueeElement.idl \
319     html/HTMLMenuElement.idl \
320     html/HTMLMetaElement.idl \
321     html/HTMLModElement.idl \
322     html/HTMLObjectElement.idl \
323     html/HTMLOListElement.idl \
324     html/HTMLOptGroupElement.idl \
325     html/HTMLOptionElement.idl \
326     html/HTMLOptionsCollection.idl \
327     html/HTMLParagraphElement.idl \
328     html/HTMLParamElement.idl \
329     html/HTMLPreElement.idl \
330     html/HTMLQuoteElement.idl \
331     html/HTMLScriptElement.idl \
332     html/HTMLSelectElement.idl \
333     html/HTMLStyleElement.idl \
334     html/HTMLTableCaptionElement.idl \
335     html/HTMLTableCellElement.idl \
336     html/HTMLTableColElement.idl \
337     html/HTMLTableElement.idl \
338     html/HTMLTableRowElement.idl \
339     html/HTMLTableSectionElement.idl \
340     html/HTMLTextAreaElement.idl \
341     html/HTMLTitleElement.idl \
342     html/HTMLUListElement.idl \
343     html/ImageData.idl \
344     html/TextMetrics.idl \
345     inspector/JavaScriptCallFrame.idl \
346     page/BarInfo.idl \
347     page/Console.idl \
348     page/DOMSelection.idl \
349     page/DOMWindow.idl \
350     page/Geolocation.idl \
351     page/Geoposition.idl \
352     page/History.idl \
353     page/Location.idl \
354     page/Navigator.idl \
355     page/PositionError.idl \
356     page/PositionOptions.idl \
357     page/Screen.idl \
358     plugins/Plugin.idl \
359     plugins/MimeType.idl \
360     plugins/PluginArray.idl \
361     plugins/MimeTypeArray.idl \
362     xml/DOMParser.idl \
363     xml/XMLHttpRequest.idl \
364     xml/XMLHttpRequestException.idl \
365     xml/XMLHttpRequestProgressEvent.idl \
366     xml/XMLHttpRequestUpload.idl \
367     xml/XMLSerializer.idl \
368     xml/XSLTProcessor.idl
369
370
371 SOURCES += \
372     bindings/js/GCController.cpp \
373     bindings/js/JSAttrCustom.cpp \
374     bindings/js/JSCanvasRenderingContext2DCustom.cpp \
375     bindings/js/JSClipboardCustom.cpp \
376     bindings/js/JSConsoleCustom.cpp \
377     bindings/js/JSCSSRuleCustom.cpp \
378     bindings/js/JSCSSStyleDeclarationCustom.cpp \
379     bindings/js/JSCSSValueCustom.cpp \
380     bindings/js/JSCustomPositionCallback.cpp \
381     bindings/js/JSCustomPositionErrorCallback.cpp \
382     bindings/js/JSCustomVoidCallback.cpp \
383     bindings/js/JSCustomXPathNSResolver.cpp \
384     bindings/js/JSDocumentCustom.cpp \
385     bindings/js/JSDocumentFragmentCustom.cpp \
386     bindings/js/JSDOMGlobalObject.cpp \
387     bindings/js/JSDOMWindowBase.cpp \
388     bindings/js/JSDOMWindowCustom.cpp \
389     bindings/js/JSDOMWindowShell.cpp \
390     bindings/js/JSElementCustom.cpp \
391     bindings/js/JSEventCustom.cpp \
392     bindings/js/JSEventTarget.cpp \
393     bindings/js/JSEventTargetNodeCustom.cpp \
394     bindings/js/JSGeolocationCustom.cpp \
395     bindings/js/JSHTMLAllCollection.cpp \
396     bindings/js/JSHistoryCustom.cpp \
397     bindings/js/JSJavaScriptCallFrameCustom.cpp \
398     bindings/js/JSHTMLAppletElementCustom.cpp \
399     bindings/js/JSHTMLCollectionCustom.cpp \
400     bindings/js/JSHTMLDocumentCustom.cpp \
401     bindings/js/JSHTMLElementCustom.cpp \
402     bindings/js/JSHTMLEmbedElementCustom.cpp \
403     bindings/js/JSHTMLFormElementCustom.cpp \
404     bindings/js/JSHTMLFrameElementCustom.cpp \
405     bindings/js/JSHTMLFrameSetElementCustom.cpp \
406     bindings/js/JSHTMLIFrameElementCustom.cpp \
407     bindings/js/JSHTMLInputElementCustom.cpp \
408     bindings/js/JSHTMLObjectElementCustom.cpp \
409     bindings/js/JSHTMLOptionsCollectionCustom.cpp \
410     bindings/js/JSHTMLSelectElementCustom.cpp \
411     bindings/js/JSImageConstructor.cpp \
412     bindings/js/JSImageDataCustom.cpp \
413     bindings/js/JSInspectedObjectWrapper.cpp \
414     bindings/js/JSInspectorCallbackWrapper.cpp \
415     bindings/js/JSLocationCustom.cpp \
416     bindings/js/JSNamedNodeMapCustom.cpp \
417     bindings/js/JSNamedNodesCollection.cpp  \
418     bindings/js/JSNavigatorCustom.cpp  \
419     bindings/js/JSNodeCustom.cpp \
420     bindings/js/JSNodeFilterCondition.cpp \
421     bindings/js/JSNodeFilterCustom.cpp \
422     bindings/js/JSNodeIteratorCustom.cpp \
423     bindings/js/JSNodeListCustom.cpp \
424     bindings/js/JSOptionConstructor.cpp \
425     bindings/js/JSQuarantinedObjectWrapper.cpp \
426     bindings/js/JSRGBColor.cpp \
427     bindings/js/JSStyleSheetCustom.cpp \
428     bindings/js/JSStyleSheetListCustom.cpp \
429     bindings/js/JSTreeWalkerCustom.cpp \
430     bindings/js/JSXMLHttpRequestConstructor.cpp \
431     bindings/js/JSXMLHttpRequestCustom.cpp \
432     bindings/js/JSXMLHttpRequestUploadCustom.cpp \
433     bindings/js/JSXSLTProcessorConstructor.cpp \
434     bindings/js/JSXSLTProcessorCustom.cpp \
435     bindings/js/JSPluginCustom.cpp \
436     bindings/js/JSPluginArrayCustom.cpp \
437     bindings/js/JSMessageChannelConstructor.cpp \
438     bindings/js/JSMessageChannelCustom.cpp \
439     bindings/js/JSMessagePortCustom.cpp \
440     bindings/js/JSMimeTypeArrayCustom.cpp \
441     bindings/js/JSDOMBinding.cpp \
442     bindings/js/JSEventListener.cpp \
443     bindings/js/JSPluginElementFunctions.cpp \
444     bindings/js/ScriptController.cpp \
445     bindings/js/PausedTimeouts.cpp \
446     bindings/js/ScheduledAction.cpp \
447     bridge/NP_jsobject.cpp \
448     bridge/npruntime.cpp \
449     bridge/runtime_array.cpp \
450     bridge/runtime.cpp \
451     bridge/runtime_method.cpp \
452     bridge/runtime_object.cpp \
453     bridge/runtime_root.cpp \
454     bridge/c/c_class.cpp \
455     bridge/c/c_instance.cpp \
456     bridge/c/c_runtime.cpp \
457     bridge/c/c_utility.cpp \
458     css/CSSBorderImageValue.cpp \
459     css/CSSCanvasValue.cpp \
460     css/CSSCharsetRule.cpp \
461     css/CSSComputedStyleDeclaration.cpp \
462     css/CSSCursorImageValue.cpp \
463     css/CSSFontFace.cpp \
464     css/CSSFontFaceRule.cpp \
465     css/CSSFontFaceSrcValue.cpp \
466     css/CSSFontSelector.cpp \
467     css/CSSFontFaceSource.cpp \
468     css/CSSFunctionValue.cpp \
469     css/CSSGradientValue.cpp \
470     css/CSSHelper.cpp \
471     css/CSSImageValue.cpp \
472     css/CSSImageGeneratorValue.cpp \
473     css/CSSImportRule.cpp \
474     css/CSSInheritedValue.cpp \
475     css/CSSInitialValue.cpp \
476     css/CSSMediaRule.cpp \
477     css/CSSMutableStyleDeclaration.cpp \
478     css/CSSNthSelector.cpp \
479     css/CSSPageRule.cpp \
480     css/CSSParser.cpp \
481     css/CSSParserValues.cpp \
482     css/CSSPrimitiveValue.cpp \
483     css/CSSProperty.cpp \
484     css/CSSReflectValue.cpp \
485     css/CSSRule.cpp \
486     css/CSSRuleList.cpp \
487     css/CSSSelector.cpp \
488     css/CSSSegmentedFontFace.cpp \
489     css/CSSStyleDeclaration.cpp \
490     css/CSSStyleRule.cpp \
491     css/CSSStyleSelector.cpp \
492     css/CSSStyleSheet.cpp \
493     css/CSSTimingFunctionValue.cpp \
494     css/CSSUnicodeRangeValue.cpp \
495     css/CSSValueList.cpp \
496     css/CSSVariableDependentValue.cpp \
497     css/CSSVariablesDeclaration.cpp \
498     css/CSSVariablesRule.cpp \
499     css/FontFamilyValue.cpp \
500     css/FontValue.cpp \
501     css/MediaFeatureNames.cpp \
502     css/MediaList.cpp \
503     css/MediaQuery.cpp \
504     css/MediaQueryEvaluator.cpp \
505     css/MediaQueryExp.cpp \
506     css/ShadowValue.cpp \
507     css/StyleBase.cpp \
508     css/StyleList.cpp \
509     css/StyleSheet.cpp \
510     css/StyleSheetList.cpp \
511     css/WebKitCSSKeyframeRule.cpp \
512     css/WebKitCSSKeyframesRule.cpp \
513     css/WebKitCSSTransformValue.cpp \
514     dom/ActiveDOMObject.cpp \
515     dom/Attr.cpp \
516     dom/Attribute.cpp \
517     dom/BeforeTextInsertedEvent.cpp \
518     dom/BeforeUnloadEvent.cpp \
519     dom/CDATASection.cpp \
520     dom/CharacterData.cpp \
521     dom/ChildNodeList.cpp \
522     dom/ClassNames.cpp \
523     dom/ClassNodeList.cpp \
524     dom/Clipboard.cpp \
525     dom/ClipboardEvent.cpp \
526     dom/Comment.cpp \
527     dom/ContainerNode.cpp \
528     dom/CSSMappedAttributeDeclaration.cpp \
529     dom/Document.cpp \
530     dom/DocumentFragment.cpp \
531     dom/DocumentType.cpp \
532     dom/DOMImplementation.cpp \
533     dom/DynamicNodeList.cpp \
534     dom/EditingText.cpp \
535     dom/Element.cpp \
536     dom/Entity.cpp \
537     dom/EntityReference.cpp \
538     dom/Event.cpp \
539     dom/EventNames.cpp \
540     dom/EventTarget.cpp \
541     dom/EventTargetNode.cpp \
542     dom/ExceptionBase.cpp \
543     dom/ExceptionCode.cpp \
544     dom/KeyboardEvent.cpp \
545     dom/MappedAttribute.cpp \
546     dom/MessageChannel.cpp \
547     dom/MessageEvent.cpp \
548     dom/MessagePort.cpp \
549     dom/MouseEvent.cpp \
550     dom/MouseRelatedEvent.cpp \
551     dom/MutationEvent.cpp \
552     dom/NamedAttrMap.cpp \
553     dom/NamedMappedAttrMap.cpp \
554     dom/NameNodeList.cpp \
555     dom/Node.cpp \
556     dom/NodeFilterCondition.cpp \
557     dom/NodeFilter.cpp \
558     dom/NodeIterator.cpp \
559     dom/Notation.cpp \
560     dom/OverflowEvent.cpp \
561     dom/Position.cpp \
562     dom/PositionIterator.cpp \
563     dom/ProcessingInstruction.cpp \
564     dom/ProgressEvent.cpp \
565     dom/QualifiedName.cpp \
566     dom/Range.cpp \
567     dom/RegisteredEventListener.cpp \
568     dom/ScriptElement.cpp \
569     dom/ScriptExecutionContext.cpp \
570     dom/SelectorNodeList.cpp \
571     dom/StaticNodeList.cpp \
572     dom/StyledElement.cpp \
573     dom/StyleElement.cpp \
574     dom/TagNodeList.cpp \
575     dom/Text.cpp \
576     dom/TextEvent.cpp \
577     dom/Traversal.cpp \
578     dom/TreeWalker.cpp \
579     dom/UIEvent.cpp \
580     dom/UIEventWithKeyState.cpp \
581     dom/WebKitAnimationEvent.cpp \
582     dom/WebKitTransitionEvent.cpp \
583     dom/WheelEvent.cpp \
584     dom/XMLTokenizer.cpp \
585     dom/XMLTokenizerQt.cpp \
586     editing/AppendNodeCommand.cpp \
587     editing/ApplyStyleCommand.cpp \
588     editing/BreakBlockquoteCommand.cpp \
589     editing/CompositeEditCommand.cpp \
590     editing/CreateLinkCommand.cpp \
591     editing/DeleteButtonController.cpp \
592     editing/DeleteButton.cpp \
593     editing/DeleteFromTextNodeCommand.cpp \
594     editing/DeleteSelectionCommand.cpp \
595     editing/EditCommand.cpp \
596     editing/Editor.cpp \
597     editing/EditorCommand.cpp \
598     editing/FormatBlockCommand.cpp \
599     editing/htmlediting.cpp \
600     editing/HTMLInterchange.cpp \
601     editing/IndentOutdentCommand.cpp \
602     editing/InsertIntoTextNodeCommand.cpp \
603     editing/InsertLineBreakCommand.cpp \
604     editing/InsertListCommand.cpp \
605     editing/InsertNodeBeforeCommand.cpp \
606     editing/InsertParagraphSeparatorCommand.cpp \
607     editing/InsertTextCommand.cpp \
608     editing/JoinTextNodesCommand.cpp \
609     editing/markup.cpp \
610     editing/MergeIdenticalElementsCommand.cpp \
611     editing/ModifySelectionListLevel.cpp \
612     editing/MoveSelectionCommand.cpp \
613     editing/RemoveCSSPropertyCommand.cpp \
614     editing/RemoveFormatCommand.cpp \
615     editing/RemoveNodeAttributeCommand.cpp \
616     editing/RemoveNodeCommand.cpp \
617     editing/RemoveNodePreservingChildrenCommand.cpp \
618     editing/ReplaceSelectionCommand.cpp \
619     editing/SelectionController.cpp \
620     editing/Selection.cpp \
621     editing/SetNodeAttributeCommand.cpp \
622     editing/SmartReplace.cpp \
623     editing/SmartReplaceICU.cpp \
624     editing/SplitElementCommand.cpp \
625     editing/SplitTextNodeCommand.cpp \
626     editing/SplitTextNodeContainingElementCommand.cpp \
627     editing/TextIterator.cpp \
628     editing/TypingCommand.cpp \
629     editing/UnlinkCommand.cpp \
630     editing/VisiblePosition.cpp \
631     editing/visible_units.cpp \
632     editing/WrapContentsInDummySpanCommand.cpp \
633     history/BackForwardList.cpp \
634     history/CachedPage.cpp \
635     history/HistoryItem.cpp \
636     history/PageCache.cpp \
637     html/CanvasGradient.cpp \
638     html/CanvasPattern.cpp \
639     html/CanvasPixelArray.cpp \
640     html/CanvasRenderingContext2D.cpp \
641     html/CanvasStyle.cpp \
642     html/File.cpp \
643     html/FileList.cpp \
644     html/FormDataList.cpp \
645     html/HTMLAnchorElement.cpp \
646     html/HTMLAppletElement.cpp \
647     html/HTMLAreaElement.cpp \
648     html/HTMLBaseElement.cpp \
649     html/HTMLBaseFontElement.cpp \
650     html/HTMLBlockquoteElement.cpp \
651     html/HTMLBodyElement.cpp \
652     html/HTMLBRElement.cpp \
653     html/HTMLButtonElement.cpp \
654     html/HTMLCanvasElement.cpp \
655     html/HTMLCollection.cpp \
656     html/HTMLDirectoryElement.cpp \
657     html/HTMLDivElement.cpp \
658     html/HTMLDListElement.cpp \
659     html/HTMLDocument.cpp \
660     html/HTMLElement.cpp \
661     html/HTMLElementFactory.cpp \
662     html/HTMLEmbedElement.cpp \
663     html/HTMLFieldSetElement.cpp \
664     html/HTMLFontElement.cpp \
665     html/HTMLFormCollection.cpp \
666     html/HTMLFormElement.cpp \
667     html/HTMLFrameElementBase.cpp \
668     html/HTMLFrameElement.cpp \
669     html/HTMLFrameOwnerElement.cpp \
670     html/HTMLFrameSetElement.cpp \
671     html/HTMLFormControlElement.cpp \
672     html/HTMLHeadElement.cpp \
673     html/HTMLHeadingElement.cpp \
674     html/HTMLHRElement.cpp \
675     html/HTMLHtmlElement.cpp \
676     html/HTMLIFrameElement.cpp \
677     html/HTMLImageElement.cpp \
678     html/HTMLImageLoader.cpp \
679     html/HTMLInputElement.cpp \
680     html/HTMLIsIndexElement.cpp \
681     html/HTMLKeygenElement.cpp \
682     html/HTMLLabelElement.cpp \
683     html/HTMLLegendElement.cpp \
684     html/HTMLLIElement.cpp \
685     html/HTMLLinkElement.cpp \
686     html/HTMLMapElement.cpp \
687     html/HTMLMarqueeElement.cpp \
688     html/HTMLMenuElement.cpp \
689     html/HTMLMetaElement.cpp \
690     html/HTMLModElement.cpp \
691     html/HTMLNameCollection.cpp \
692     html/HTMLObjectElement.cpp \
693     html/HTMLOListElement.cpp \
694     html/HTMLOptGroupElement.cpp \
695     html/HTMLOptionElement.cpp \
696     html/HTMLOptionsCollection.cpp \
697     html/HTMLParagraphElement.cpp \
698     html/HTMLParamElement.cpp \
699     html/HTMLParser.cpp \
700     html/HTMLParserErrorCodes.cpp \
701     html/HTMLPlugInElement.cpp \
702     html/HTMLPlugInImageElement.cpp \
703     html/HTMLPreElement.cpp \
704     html/HTMLQuoteElement.cpp \
705     html/HTMLScriptElement.cpp \
706     html/HTMLSelectElement.cpp \
707     html/HTMLStyleElement.cpp \
708     html/HTMLTableCaptionElement.cpp \
709     html/HTMLTableCellElement.cpp \
710     html/HTMLTableColElement.cpp \
711     html/HTMLTableElement.cpp \
712     html/HTMLTablePartElement.cpp \
713     html/HTMLTableRowElement.cpp \
714     html/HTMLTableRowsCollection.cpp \
715     html/HTMLTableSectionElement.cpp \
716     html/HTMLTextAreaElement.cpp \
717     html/HTMLTitleElement.cpp \
718     html/HTMLTokenizer.cpp \
719     html/HTMLUListElement.cpp \
720     html/HTMLViewSourceDocument.cpp \
721     html/ImageData.cpp \
722     html/PreloadScanner.cpp \
723     inspector/InspectorController.cpp \
724     inspector/JavaScriptCallFrame.cpp \
725     inspector/JavaScriptDebugServer.cpp \
726     inspector/JavaScriptProfile.cpp \
727     inspector/JavaScriptProfileNode.cpp \
728     loader/archive/ArchiveFactory.cpp \
729     loader/archive/ArchiveResource.cpp \
730     loader/archive/ArchiveResourceCollection.cpp \
731     loader/UserStyleSheetLoader.cpp \
732     loader/Cache.cpp \
733     loader/CachedCSSStyleSheet.cpp \
734     loader/CachedFont.cpp \
735     loader/CachedImage.cpp \
736     loader/CachedResourceClientWalker.cpp \
737     loader/CachedResourceHandle.cpp \
738     loader/CachedResource.cpp \
739     loader/CachedScript.cpp \
740     loader/CachedXSLStyleSheet.cpp \
741     loader/DocLoader.cpp \
742     loader/DocumentLoader.cpp \
743     loader/FormState.cpp \
744     loader/FrameLoader.cpp \
745     loader/FTPDirectoryDocument.cpp \
746     loader/FTPDirectoryParser.cpp \
747     loader/icon/IconLoader.cpp \
748     loader/ImageDocument.cpp \
749     loader/ImageLoader.cpp \
750     loader/loader.cpp \
751     loader/MainResourceLoader.cpp \
752     loader/MediaDocument.cpp \
753     loader/NavigationAction.cpp \
754     loader/NetscapePlugInStreamLoader.cpp \
755     loader/PluginDocument.cpp \
756     loader/ProgressTracker.cpp \
757     loader/Request.cpp \
758     loader/ResourceLoader.cpp \
759     loader/SubresourceLoader.cpp \
760     loader/TextDocument.cpp \
761     loader/TextResourceDecoder.cpp \
762     page/AccessibilityImageMapLink.cpp \
763     page/AccessibilityObject.cpp \    
764     page/AccessibilityList.cpp \    
765     page/AccessibilityListBox.cpp \    
766     page/AccessibilityListBoxOption.cpp \    
767     page/AccessibilityRenderObject.cpp \    
768     page/AccessibilityTable.cpp \    
769     page/AccessibilityTableCell.cpp \    
770     page/AccessibilityTableColumn.cpp \    
771     page/AccessibilityTableHeaderContainer.cpp \    
772     page/AccessibilityTableRow.cpp \    
773     page/animation/AnimationBase.cpp \
774     page/animation/AnimationController.cpp \
775     page/animation/CompositeAnimation.cpp \
776     page/animation/ImplicitAnimation.cpp \
777     page/animation/KeyframeAnimation.cpp \
778     page/AXObjectCache.cpp \
779     page/BarInfo.cpp \
780     page/Chrome.cpp \
781     page/Console.cpp \
782     page/ContextMenuController.cpp \
783     page/DOMSelection.cpp \
784     page/DOMWindow.cpp \
785     page/Navigator.cpp \
786     page/DragController.cpp \
787     page/EventHandler.cpp \
788     page/FocusController.cpp \
789     page/Frame.cpp \
790     page/FrameTree.cpp \
791     page/FrameView.cpp \
792     page/Geolocation.cpp \
793     page/Geoposition.cpp \
794     page/History.cpp \
795     page/Location.cpp \
796     page/MouseEventWithHitTestResults.cpp \
797     page/Page.cpp \
798     page/PageGroup.cpp \
799     page/PrintContext.cpp \
800     page/SecurityOrigin.cpp \
801     page/Screen.cpp \
802     page/Settings.cpp \
803     page/WindowFeatures.cpp \
804     plugins/PluginData.cpp \
805     plugins/PluginArray.cpp \
806     plugins/Plugin.cpp \
807     plugins/PluginMainThreadScheduler.cpp \
808     plugins/MimeType.cpp \
809     plugins/MimeTypeArray.cpp \
810     platform/Arena.cpp \
811     platform/text/AtomicString.cpp \
812     platform/text/Base64.cpp \
813     platform/text/BidiContext.cpp \
814     platform/ContextMenu.cpp \
815     platform/text/CString.cpp \
816     platform/DeprecatedPtrListImpl.cpp \
817     platform/DeprecatedValueListImpl.cpp \
818     platform/DragData.cpp \
819     platform/DragImage.cpp \
820     platform/FileChooser.cpp \
821     platform/GeolocationService.cpp \
822     platform/graphics/FontDescription.cpp \
823     platform/graphics/FontFamily.cpp \
824     platform/graphics/AffineTransform.cpp \
825     platform/graphics/BitmapImage.cpp \
826     platform/graphics/Color.cpp \
827     platform/graphics/FloatPoint3D.cpp \
828     platform/graphics/FloatPoint.cpp \
829     platform/graphics/FloatQuad.cpp \
830     platform/graphics/FloatRect.cpp \
831     platform/graphics/FloatSize.cpp \
832     platform/graphics/FontData.cpp \
833     platform/graphics/GeneratedImage.cpp \
834     platform/graphics/Gradient.cpp \
835     platform/graphics/GraphicsContext.cpp \
836     platform/graphics/GraphicsTypes.cpp \
837     platform/graphics/Image.cpp \
838     platform/graphics/IntRect.cpp \
839     platform/graphics/Path.cpp \
840     platform/graphics/PathTraversalState.cpp \
841     platform/graphics/Pattern.cpp \
842     platform/graphics/Pen.cpp \
843     platform/graphics/SegmentedFontData.cpp \
844     platform/KURL.cpp \
845     platform/Length.cpp \
846     platform/Logging.cpp \
847     platform/MIMETypeRegistry.cpp \
848     platform/network/AuthenticationChallengeBase.cpp \
849     platform/network/Credential.cpp \
850     platform/network/FormData.cpp \
851     platform/network/HTTPParsers.cpp \
852     platform/network/NetworkStateNotifier.cpp \
853     platform/network/ProtectionSpace.cpp \
854     platform/network/ResourceErrorBase.cpp \
855     platform/network/ResourceHandle.cpp \
856     platform/network/ResourceRequestBase.cpp \
857     platform/network/ResourceResponseBase.cpp \
858     platform/text/RegularExpression.cpp \
859     platform/Scrollbar.cpp \
860     platform/ScrollbarThemeComposite.cpp \
861     platform/ScrollView.cpp \
862 #    platform/SearchPopupMenu.cpp \
863     platform/text/SegmentedString.cpp \
864     platform/SharedBuffer.cpp \
865     platform/text/String.cpp \
866     platform/text/StringBuilder.cpp \
867     platform/text/StringImpl.cpp \
868     platform/text/TextCodec.cpp \
869     platform/text/TextCodecLatin1.cpp \
870     platform/text/TextCodecUserDefined.cpp \
871     platform/text/TextCodecUTF16.cpp \
872     platform/text/TextDecoder.cpp \
873     platform/text/TextEncoding.cpp \
874     platform/text/TextEncodingRegistry.cpp \
875     platform/text/TextStream.cpp \
876     platform/Timer.cpp \
877     platform/text/UnicodeRange.cpp \
878     platform/Widget.cpp \
879     plugins/PluginDatabase.cpp \
880     plugins/PluginInfoStore.cpp \
881     plugins/PluginPackage.cpp \
882     plugins/PluginStream.cpp \
883     plugins/PluginView.cpp \
884     rendering/AutoTableLayout.cpp \
885     rendering/bidi.cpp \
886     rendering/break_lines.cpp \
887     rendering/CounterNode.cpp \
888     rendering/EllipsisBox.cpp \
889     rendering/FixedTableLayout.cpp \
890     rendering/HitTestResult.cpp \
891     rendering/InlineBox.cpp \
892     rendering/InlineFlowBox.cpp \
893     rendering/InlineTextBox.cpp \
894     rendering/LayoutState.cpp \
895     rendering/ListMarkerBox.cpp \
896     rendering/RenderApplet.cpp \
897     rendering/RenderArena.cpp \
898     rendering/RenderBlock.cpp \
899     rendering/RenderBox.cpp \
900     rendering/RenderBR.cpp \
901     rendering/RenderButton.cpp \
902     rendering/RenderContainer.cpp \
903     rendering/RenderCounter.cpp \
904     rendering/RenderFieldset.cpp \
905     rendering/RenderFileUploadControl.cpp \
906     rendering/RenderFlexibleBox.cpp \
907     rendering/RenderFlow.cpp \
908     rendering/RenderFrame.cpp \
909     rendering/RenderFrameSet.cpp \
910     rendering/RenderHTMLCanvas.cpp \
911     rendering/RenderImage.cpp \
912     rendering/RenderImageGeneratedContent.cpp \
913     rendering/RenderInline.cpp \
914     rendering/RenderLayer.cpp \
915     rendering/RenderLegend.cpp \
916     rendering/RenderListBox.cpp \
917     rendering/RenderListItem.cpp \
918     rendering/RenderListMarker.cpp \
919     rendering/RenderMarquee.cpp \
920     rendering/RenderMenuList.cpp \
921     rendering/RenderObject.cpp \
922     rendering/RenderPart.cpp \
923     rendering/RenderPartObject.cpp \
924     rendering/RenderReplaced.cpp \
925     rendering/RenderReplica.cpp \
926     rendering/RenderScrollbar.cpp \
927     rendering/RenderScrollbarPart.cpp \
928     rendering/RenderScrollbarTheme.cpp \
929     rendering/RenderSlider.cpp \
930     rendering/RenderTableCell.cpp \
931     rendering/RenderTableCol.cpp \
932     rendering/RenderTable.cpp \
933     rendering/RenderTableRow.cpp \
934     rendering/RenderTableSection.cpp \
935     rendering/RenderTextControl.cpp \
936     rendering/RenderText.cpp \
937     rendering/RenderTextFragment.cpp \
938     rendering/RenderTheme.cpp \
939     rendering/RenderTreeAsText.cpp \
940     rendering/RenderView.cpp \
941     rendering/RenderWidget.cpp \
942     rendering/RenderWordBreak.cpp \
943     rendering/RootInlineBox.cpp \
944     rendering/SVGRenderTreeAsText.cpp \
945     rendering/TextControlInnerElements.cpp \
946     rendering/style/Animation.cpp \
947     rendering/style/AnimationList.cpp \
948     rendering/style/BindingURI.cpp \
949     rendering/style/ContentData.cpp \
950     rendering/style/CounterDirectives.cpp \
951     rendering/style/CursorData.h \
952     rendering/style/CursorList.h \
953     rendering/style/FillLayer.cpp \
954     rendering/style/KeyframeList.cpp \
955     rendering/style/MatrixTransformOperation.cpp \
956     rendering/style/NinePieceImage.cpp \
957     rendering/style/RenderStyle.cpp \
958     rendering/style/RotateTransformOperation.cpp \
959     rendering/style/ScaleTransformOperation.cpp \
960     rendering/style/ShadowData.cpp \
961     rendering/style/SkewTransformOperation.cpp \
962     rendering/style/StyleBackgroundData.cpp \
963     rendering/style/StyleBoxData.cpp \
964     rendering/style/StyleCachedImage.cpp \
965     rendering/style/StyleFlexibleBoxData.cpp \
966     rendering/style/StyleGeneratedImage.cpp \
967     rendering/style/StyleInheritedData.cpp \
968     rendering/style/StyleInheritedData.h \
969     rendering/style/StyleMarqueeData.cpp \
970     rendering/style/StyleMultiColData.cpp \
971     rendering/style/StyleRareInheritedData.cpp \
972     rendering/style/StyleRareInheritedData.h \
973     rendering/style/StyleRareNonInheritedData.cpp \
974     rendering/style/StyleRareNonInheritedData.h \
975     rendering/style/StyleReflection.h \
976     rendering/style/StyleSurroundData.cpp \
977     rendering/style/StyleTransformData.cpp \
978     rendering/style/StyleVisualData.cpp \
979     rendering/style/TransformOperations.cpp \
980     rendering/style/TranslateTransformOperation.cpp \
981     xml/DOMParser.cpp \
982     xml/NativeXPathNSResolver.cpp \
983     xml/XMLHttpRequest.cpp \
984     xml/XMLHttpRequestUpload.cpp \
985     xml/XMLSerializer.cpp \
986     xml/XPathEvaluator.cpp \
987     xml/XPathExpression.cpp \
988     xml/XPathExpressionNode.cpp \
989     xml/XPathFunctions.cpp \
990     xml/XPathNamespace.cpp \
991     xml/XPathNodeSet.cpp \
992     xml/XPathNSResolver.cpp \
993     xml/XPathParser.cpp \
994     xml/XPathPath.cpp \
995     xml/XPathPredicate.cpp \
996     xml/XPathResult.cpp \
997     xml/XPathStep.cpp \
998     xml/XPathUtil.cpp \
999     xml/XPathValue.cpp \
1000     xml/XPathVariableReference.cpp \
1001     xml/XSLImportRule.cpp \
1002     xml/XSLStyleSheet.cpp \
1003     xml/XSLTExtensions.cpp \
1004     xml/XSLTUnicodeSort.cpp \
1005     xml/XSLTProcessor.cpp
1006
1007 HEADERS += \
1008     $$PWD/platform/graphics/qt/StillImageQt.h \
1009     $$PWD/platform/qt/QWebPopup.h \
1010     $$PWD/platform/qt/MenuEventProxy.h \
1011     $$PWD/platform/qt/SharedTimerQt.h \
1012     $$PWD/../WebKit/qt/Api/qwebframe.h \
1013     $$PWD/../WebKit/qt/Api/qwebpage.h \
1014     $$PWD/../WebKit/qt/Api/qwebview.h \
1015     $$PWD/../WebKit/qt/Api/qwebhistoryinterface.h \
1016     $$PWD/../WebKit/qt/Api/qwebpluginfactory.h \
1017     $$PWD/../WebKit/qt/WebCoreSupport/FrameLoaderClientQt.h \
1018     $$PWD/platform/network/qt/QNetworkReplyHandler.h
1019
1020 SOURCES += \
1021     bindings/js/ScriptControllerQt.cpp \
1022     bridge/qt/qt_class.cpp \
1023     bridge/qt/qt_instance.cpp \
1024     bridge/qt/qt_runtime.cpp \
1025     page/qt/AccessibilityObjectQt.cpp \
1026     page/qt/DragControllerQt.cpp \
1027     page/qt/EventHandlerQt.cpp \
1028     page/qt/FrameQt.cpp \
1029     platform/graphics/qt/AffineTransformQt.cpp \
1030     platform/graphics/qt/ColorQt.cpp \
1031     platform/graphics/qt/FloatPointQt.cpp \
1032     platform/graphics/qt/FloatRectQt.cpp \
1033     platform/graphics/qt/GradientQt.cpp \
1034     platform/graphics/qt/GraphicsContextQt.cpp \
1035     platform/graphics/qt/IconQt.cpp \
1036     platform/graphics/qt/ImageBufferQt.cpp \
1037     platform/graphics/qt/ImageDecoderQt.cpp \
1038     platform/graphics/qt/ImageQt.cpp \
1039     platform/graphics/qt/ImageSourceQt.cpp \
1040     platform/graphics/qt/IntPointQt.cpp \
1041     platform/graphics/qt/IntRectQt.cpp \
1042     platform/graphics/qt/IntSizeQt.cpp \
1043     platform/graphics/qt/PathQt.cpp \
1044     platform/graphics/qt/PatternQt.cpp \
1045     platform/graphics/qt/StillImageQt.cpp \
1046     platform/network/qt/ResourceHandleQt.cpp \
1047     platform/network/qt/ResourceRequestQt.cpp \
1048     platform/network/qt/QNetworkReplyHandler.cpp \
1049     editing/qt/EditorQt.cpp \
1050     platform/qt/ClipboardQt.cpp \
1051     platform/qt/ContextMenuItemQt.cpp \
1052     platform/qt/ContextMenuQt.cpp \
1053     platform/qt/CookieJarQt.cpp \
1054     platform/qt/CursorQt.cpp \
1055     platform/qt/DragDataQt.cpp \
1056     platform/qt/DragImageQt.cpp \
1057     platform/qt/EventLoopQt.cpp \
1058     platform/qt/FileChooserQt.cpp \
1059     platform/qt/FileSystemQt.cpp \
1060     platform/qt/SharedBufferQt.cpp \
1061     platform/graphics/qt/FontCacheQt.cpp \
1062     platform/graphics/qt/FontCustomPlatformData.cpp \
1063     platform/graphics/qt/FontQt.cpp \
1064     platform/graphics/qt/GlyphPageTreeNodeQt.cpp \
1065     platform/graphics/qt/SimpleFontDataQt.cpp \
1066     platform/qt/KURLQt.cpp \
1067     platform/qt/Localizations.cpp \
1068     platform/qt/MIMETypeRegistryQt.cpp \
1069     platform/qt/PasteboardQt.cpp \
1070     platform/qt/PlatformKeyboardEventQt.cpp \
1071     platform/qt/PlatformMouseEventQt.cpp \
1072     platform/qt/PlatformScreenQt.cpp \
1073     platform/qt/PopupMenuQt.cpp \
1074     platform/qt/QWebPopup.cpp \
1075     platform/qt/RenderThemeQt.cpp \
1076     platform/qt/ScrollbarQt.cpp \
1077     platform/qt/ScrollbarThemeQt.cpp \
1078     platform/qt/ScrollViewQt.cpp \
1079     platform/qt/SearchPopupMenuQt.cpp \
1080     platform/qt/SharedTimerQt.cpp \
1081     platform/qt/SoundQt.cpp \
1082     platform/qt/LoggingQt.cpp \
1083     platform/text/qt/StringQt.cpp \
1084     platform/qt/TemporaryLinkStubs.cpp \
1085     platform/text/qt/TextBoundaries.cpp \
1086     platform/text/qt/TextBreakIteratorQt.cpp \
1087     platform/text/qt/TextCodecQt.cpp \
1088     platform/qt/WheelEventQt.cpp \
1089     platform/qt/WidgetQt.cpp \
1090     plugins/qt/PluginDataQt.cpp \
1091     ../WebKit/qt/WebCoreSupport/ChromeClientQt.cpp \
1092     ../WebKit/qt/WebCoreSupport/ContextMenuClientQt.cpp \
1093     ../WebKit/qt/WebCoreSupport/DragClientQt.cpp \
1094     ../WebKit/qt/WebCoreSupport/EditorClientQt.cpp \
1095     ../WebKit/qt/WebCoreSupport/EditCommandQt.cpp \
1096     ../WebKit/qt/WebCoreSupport/FrameLoaderClientQt.cpp \
1097     ../WebKit/qt/WebCoreSupport/InspectorClientQt.cpp \
1098     ../WebKit/qt/Api/qwebframe.cpp \
1099     ../WebKit/qt/Api/qwebpage.cpp \
1100     ../WebKit/qt/Api/qwebview.cpp \
1101     ../WebKit/qt/Api/qwebhistory.cpp \
1102     ../WebKit/qt/Api/qwebsettings.cpp \
1103     ../WebKit/qt/Api/qwebhistoryinterface.cpp \
1104     ../WebKit/qt/Api/qwebpluginfactory.cpp
1105
1106     win32-*: SOURCES += platform/win/SystemTimeWin.cpp
1107     else: SOURCES += platform/qt/SystemTimeQt.cpp
1108
1109     mac {
1110         SOURCES += \
1111             platform/text/cf/StringCF.cpp \
1112             platform/text/cf/StringImplCF.cpp
1113     }
1114
1115     win32-* {
1116         LIBS += -lgdi32
1117         LIBS += -luser32
1118         LIBS += -lwinmm
1119     }
1120
1121     # Files belonging to the Qt 4.3 build
1122     lessThan(QT_MINOR_VERSION, 4) {
1123         HEADERS += \
1124             $$PWD/../WebKit/qt/Api/qwebnetworkinterface.h \
1125             $$PWD/../WebKit/qt/Api/qwebnetworkinterface_p.h \
1126             $$PWD/../WebKit/qt/Api/qcookiejar.h
1127
1128         SOURCES += \
1129             ../WebKit/qt/Api/qwebnetworkinterface.cpp \
1130             ../WebKit/qt/Api/qcookiejar.cpp
1131
1132         DEFINES += QT_BEGIN_NAMESPACE="" QT_END_NAMESPACE=""
1133      }
1134
1135 contains(DEFINES, ENABLE_NETSCAPE_PLUGIN_API=1) {
1136
1137     SOURCES += plugins/npapi.cpp
1138
1139     unix {
1140         mac {
1141             SOURCES += \
1142                 plugins/mac/PluginPackageMac.cpp \
1143                 plugins/mac/PluginViewMac.cpp
1144             OBJECTIVE_SOURCES += \
1145                 platform/text/mac/StringImplMac.mm \
1146                 platform/mac/WebCoreNSStringExtras.mm
1147             INCLUDEPATH += platform/mac
1148             # Note: XP_MACOSX is defined in npapi.h
1149         } else {
1150             SOURCES += \
1151                 plugins/qt/PluginPackageQt.cpp \
1152                 plugins/qt/PluginViewQt.cpp
1153             DEFINES += XP_UNIX
1154         }
1155     }
1156
1157     win32-* {
1158         INCLUDEPATH += $$PWD/plugins/win
1159
1160         SOURCES += page/win/PageWin.cpp \
1161                    plugins/win/PluginDatabaseWin.cpp \
1162                    plugins/win/PluginPackageWin.cpp \
1163                    plugins/win/PluginMessageThrottlerWin.cpp \
1164                    plugins/win/PluginViewWin.cpp
1165
1166         LIBS += \
1167             -ladvapi32 \
1168             -lgdi32 \
1169             -lshell32 \
1170             -lshlwapi \
1171             -luser32 \
1172             -lversion
1173     }
1174
1175 }
1176
1177 contains(DEFINES, ENABLE_DASHBOARD_SUPPORT=0) {
1178     DASHBOARDSUPPORTCSSPROPERTIES -= $$PWD/css/DashboardSupportCSSPropertyNames.in
1179 }
1180
1181 contains(DEFINES, ENABLE_DATABASE=1) {
1182     FEATURE_DEFINES_JAVASCRIPT += ENABLE_DATABASE=1
1183
1184     CONFIG(QTDIR_build) {
1185         # some what copied from src/plugins/sqldrivers/sqlite/sqlite.pro
1186         system-sqlite {
1187             LIBS *= $$QT_LFLAGS_SQLITE
1188             QMAKE_CXXFLAGS *= $$QT_CFLAGS_SQLITE
1189         } else {
1190             CONFIG(release, debug|release):DEFINES *= NDEBUG
1191             INCLUDEPATH += $$QT_SOURCE_TREE/src/3rdparty/sqlite/
1192             SOURCES += $$QT_SOURCE_TREE/src/3rdparty/sqlite/sqlite3.c
1193         }
1194     } else {
1195         SQLITE3SRCDIR = $$(SQLITE3SRCDIR)
1196         isEmpty(SQLITE3SRCDIR) {
1197             INCLUDEPATH += $$[QT_INSTALL_PREFIX]/src/3rdparty/sqlite/
1198             LIBS += -lsqlite3
1199         } else {
1200             CONFIG(release, debug|release):DEFINES *= NDEBUG
1201             INCLUDEPATH += $${SQLITE3SRCDIR}
1202             SOURCES += $${SQLITE3SRCDIR}/sqlite3.c
1203         }
1204     }
1205
1206     SOURCES += \
1207         platform/sql/SQLiteAuthorizer.cpp \
1208         platform/sql/SQLiteDatabase.cpp \
1209         platform/sql/SQLiteStatement.cpp \
1210         platform/sql/SQLiteTransaction.cpp \
1211         platform/sql/SQLValue.cpp \
1212         storage/ChangeVersionWrapper.cpp \
1213         storage/DatabaseAuthorizer.cpp \
1214         storage/Database.cpp \
1215         storage/DatabaseTask.cpp \
1216         storage/DatabaseThread.cpp \
1217         storage/DatabaseTracker.cpp \
1218         storage/LocalStorage.cpp \
1219         storage/LocalStorageArea.cpp \
1220         storage/LocalStorageTask.cpp \
1221         storage/LocalStorageThread.cpp \
1222         storage/OriginQuotaManager.cpp \
1223         storage/OriginUsageRecord.cpp \
1224         storage/StorageArea.cpp \
1225         storage/StorageMap.cpp \
1226         storage/SQLResultSet.cpp \
1227         storage/SQLResultSetRowList.cpp \
1228         storage/SQLStatement.cpp \
1229         storage/SQLTransaction.cpp \
1230         bindings/js/JSCustomSQLStatementCallback.cpp \
1231         bindings/js/JSCustomSQLStatementErrorCallback.cpp \
1232         bindings/js/JSCustomSQLTransactionCallback.cpp \
1233         bindings/js/JSCustomSQLTransactionErrorCallback.cpp \
1234         bindings/js/JSDatabaseCustom.cpp \
1235         bindings/js/JSSQLResultSetRowListCustom.cpp \
1236         bindings/js/JSSQLTransactionCustom.cpp
1237
1238     IDL_BINDINGS += \
1239         storage/Database.idl \
1240         storage/SQLError.idl \
1241         storage/SQLResultSet.idl \
1242         storage/SQLResultSetRowList.idl \
1243         storage/SQLTransaction.idl
1244 }
1245
1246 contains(DEFINES, ENABLE_DOM_STORAGE=1) {
1247     FEATURE_DEFINES_JAVASCRIPT += ENABLE_DOM_STORAGE =1
1248
1249     SOURCES += \
1250         storage/LocalStorage.cpp \
1251         storage/LocalStorageArea.cpp \
1252         storage/Storage.cpp \
1253         storage/StorageArea.cpp \
1254         storage/StorageEvent.cpp \
1255         storage/StorageMap.cpp \
1256         storage/SessionStorage.cpp \
1257         storage/SessionStorageArea.cpp \
1258         bindings/js/JSStorage.cpp \
1259         bindings/js/JSStorageCustom.cpp \
1260         bindings/js/JSStorageEvent.cpp \
1261
1262     IDL_BINDINGS += \
1263         storage/Storage.idl \
1264         storage/StorageEvent.idl
1265 }
1266
1267 contains(DEFINES, ENABLE_ICONDATABASE=1) {
1268     SOURCES += \
1269         loader/icon/IconDatabase.cpp \
1270         loader/icon/IconRecord.cpp \
1271         loader/icon/PageURLRecord.cpp
1272 } else {
1273     SOURCES += \
1274         loader/icon/IconDatabaseNone.cpp
1275 }
1276
1277 contains(DEFINES, ENABLE_VIDEO=1) {
1278     FEATURE_DEFINES_JAVASCRIPT += ENABLE_VIDEO=1
1279
1280     IDL_BINDINGS += \
1281         html/HTMLAudioElement.idl \
1282         html/HTMLMediaElement.idl \
1283         html/HTMLSourceElement.idl \
1284         html/HTMLVideoElement.idl \
1285         html/MediaError.idl \
1286         html/TimeRanges.idl \
1287         html/VoidCallback.idl 
1288
1289     SOURCES += \
1290         html/HTMLAudioElement.cpp \
1291         html/HTMLMediaElement.cpp \
1292         html/HTMLSourceElement.cpp \
1293         html/HTMLVideoElement.cpp \
1294         html/TimeRanges.cpp \
1295         platform/graphics/MediaPlayer.cpp \
1296         rendering/MediaControlElements.cpp \
1297         rendering/RenderVideo.cpp \
1298         rendering/RenderMedia.cpp \
1299         bindings/js/JSAudioConstructor.cpp
1300
1301         HEADERS += \
1302             platform/graphics/qt/MediaPlayerPrivatePhonon.h
1303
1304         SOURCES += \
1305             platform/graphics/qt/MediaPlayerPrivatePhonon.cpp
1306
1307         # Add phonon manually to prevent it from coming first in
1308         # the include paths, as Phonon's path.h conflicts with
1309         # WebCore's Path.h on case-insensitive filesystems.
1310         qtAddLibrary(phonon)
1311         INCLUDEPATH -= $$QMAKE_INCDIR_QT/phonon
1312         INCLUDEPATH += $$QMAKE_INCDIR_QT/phonon
1313         mac {
1314             INCLUDEPATH -= $$QMAKE_LIBDIR_QT/phonon.framework/Headers
1315             INCLUDEPATH += $$QMAKE_LIBDIR_QT/phonon.framework/Headers
1316         }
1317
1318 }
1319
1320 contains(DEFINES, ENABLE_XPATH=1) {
1321     FEATURE_DEFINES_JAVASCRIPT += ENABLE_XPATH=1
1322
1323     XPATHBISON = $$PWD/xml/XPathGrammar.y
1324
1325     IDL_BINDINGS += \
1326         xml/XPathNSResolver.idl \
1327         xml/XPathException.idl \
1328         xml/XPathExpression.idl \
1329         xml/XPathResult.idl \
1330         xml/XPathEvaluator.idl
1331 }
1332
1333 unix:!mac:CONFIG += link_pkgconfig
1334
1335 contains(DEFINES, ENABLE_XSLT=1) {
1336     FEATURE_DEFINES_JAVASCRIPT += ENABLE_XSLT=1
1337     PKGCONFIG += libxml-2.0 libxslt
1338
1339     macx {
1340         INCLUDEPATH += /usr/include/libxml2
1341         LIBS += -lxml2 -lxslt
1342     }
1343
1344     win32-msvc* {
1345         LIBS += -llibxml2 -llibxslt
1346     }
1347 }
1348
1349 contains(DEFINES, ENABLE_XBL=1) {
1350     FEATURE_DEFINES_JAVASCRIPT += ENABLE_XBL=1
1351 }
1352
1353 contains(DEFINES, ENABLE_SVG=1) {
1354     FEATURE_DEFINES_JAVASCRIPT += ENABLE_SVG=1
1355
1356     SVG_NAMES = $$PWD/svg/svgtags.in
1357
1358     XLINK_NAMES = $$PWD/svg/xlinkattrs.in
1359
1360     IDL_BINDINGS += \
1361         svg/SVGZoomEvent.idl \
1362         svg/SVGAElement.idl \
1363         svg/SVGAltGlyphElement.idl \
1364         svg/SVGAngle.idl \
1365         svg/SVGAnimateColorElement.idl \
1366         svg/SVGAnimatedAngle.idl \
1367         svg/SVGAnimatedBoolean.idl \
1368         svg/SVGAnimatedEnumeration.idl \
1369         svg/SVGAnimatedInteger.idl \
1370         svg/SVGAnimatedLength.idl \
1371         svg/SVGAnimatedLengthList.idl \
1372         svg/SVGAnimatedNumber.idl \
1373         svg/SVGAnimatedNumberList.idl \
1374         svg/SVGAnimatedPreserveAspectRatio.idl \
1375         svg/SVGAnimatedRect.idl \
1376         svg/SVGAnimatedString.idl \
1377         svg/SVGAnimatedTransformList.idl \
1378         svg/SVGAnimateElement.idl \
1379         svg/SVGAnimateTransformElement.idl \
1380         svg/SVGAnimationElement.idl \
1381         svg/SVGCircleElement.idl \
1382         svg/SVGClipPathElement.idl \
1383         svg/SVGColor.idl \
1384         svg/SVGComponentTransferFunctionElement.idl \
1385         svg/SVGCursorElement.idl \
1386         svg/SVGDefinitionSrcElement.idl \
1387         svg/SVGDefsElement.idl \
1388         svg/SVGDescElement.idl \
1389         svg/SVGDocument.idl \
1390         svg/SVGElement.idl \
1391         svg/SVGElementInstance.idl \
1392         svg/SVGElementInstanceList.idl \
1393         svg/SVGEllipseElement.idl \
1394         svg/SVGException.idl \
1395         svg/SVGFEBlendElement.idl \
1396         svg/SVGFEColorMatrixElement.idl \
1397         svg/SVGFEComponentTransferElement.idl \
1398         svg/SVGFECompositeElement.idl \
1399         svg/SVGFEDiffuseLightingElement.idl \
1400         svg/SVGFEDisplacementMapElement.idl \
1401         svg/SVGFEDistantLightElement.idl \
1402         svg/SVGFEFloodElement.idl \
1403         svg/SVGFEFuncAElement.idl \
1404         svg/SVGFEFuncBElement.idl \
1405         svg/SVGFEFuncGElement.idl \
1406         svg/SVGFEFuncRElement.idl \
1407         svg/SVGFEGaussianBlurElement.idl \
1408         svg/SVGFEImageElement.idl \
1409         svg/SVGFEMergeElement.idl \
1410         svg/SVGFEMergeNodeElement.idl \
1411         svg/SVGFEOffsetElement.idl \
1412         svg/SVGFEPointLightElement.idl \
1413         svg/SVGFESpecularLightingElement.idl \
1414         svg/SVGFESpotLightElement.idl \
1415         svg/SVGFETileElement.idl \
1416         svg/SVGFETurbulenceElement.idl \
1417         svg/SVGFilterElement.idl \
1418         svg/SVGFontElement.idl \
1419         svg/SVGFontFaceElement.idl \
1420         svg/SVGFontFaceFormatElement.idl \
1421         svg/SVGFontFaceNameElement.idl \
1422         svg/SVGFontFaceSrcElement.idl \
1423         svg/SVGFontFaceUriElement.idl \
1424         svg/SVGForeignObjectElement.idl \
1425         svg/SVGGElement.idl \
1426         svg/SVGGlyphElement.idl \
1427         svg/SVGGradientElement.idl \
1428         svg/SVGImageElement.idl \
1429         svg/SVGLength.idl \
1430         svg/SVGLengthList.idl \
1431         svg/SVGLinearGradientElement.idl \
1432         svg/SVGLineElement.idl \
1433         svg/SVGMarkerElement.idl \
1434         svg/SVGMaskElement.idl \
1435         svg/SVGMatrix.idl \
1436         svg/SVGMetadataElement.idl \
1437         svg/SVGMissingGlyphElement.idl \
1438         svg/SVGNumber.idl \
1439         svg/SVGNumberList.idl \
1440         svg/SVGPaint.idl \
1441         svg/SVGPathElement.idl \
1442         svg/SVGPathSegArcAbs.idl \
1443         svg/SVGPathSegArcRel.idl \
1444         svg/SVGPathSegClosePath.idl \
1445         svg/SVGPathSegCurvetoCubicAbs.idl \
1446         svg/SVGPathSegCurvetoCubicRel.idl \
1447         svg/SVGPathSegCurvetoCubicSmoothAbs.idl \
1448         svg/SVGPathSegCurvetoCubicSmoothRel.idl \
1449         svg/SVGPathSegCurvetoQuadraticAbs.idl \
1450         svg/SVGPathSegCurvetoQuadraticRel.idl \
1451         svg/SVGPathSegCurvetoQuadraticSmoothAbs.idl \
1452         svg/SVGPathSegCurvetoQuadraticSmoothRel.idl \
1453         svg/SVGPathSeg.idl \
1454         svg/SVGPathSegLinetoAbs.idl \
1455         svg/SVGPathSegLinetoHorizontalAbs.idl \
1456         svg/SVGPathSegLinetoHorizontalRel.idl \
1457         svg/SVGPathSegLinetoRel.idl \
1458         svg/SVGPathSegLinetoVerticalAbs.idl \
1459         svg/SVGPathSegLinetoVerticalRel.idl \
1460         svg/SVGPathSegList.idl \
1461         svg/SVGPathSegMovetoAbs.idl \
1462         svg/SVGPathSegMovetoRel.idl \
1463         svg/SVGPatternElement.idl \
1464         svg/SVGPoint.idl \
1465         svg/SVGPointList.idl \
1466         svg/SVGPolygonElement.idl \
1467         svg/SVGPolylineElement.idl \
1468         svg/SVGPreserveAspectRatio.idl \
1469         svg/SVGRadialGradientElement.idl \
1470         svg/SVGRectElement.idl \
1471         svg/SVGRect.idl \
1472         svg/SVGRenderingIntent.idl \
1473         svg/SVGScriptElement.idl \
1474         svg/SVGSetElement.idl \
1475         svg/SVGStopElement.idl \
1476         svg/SVGStringList.idl \
1477         svg/SVGStyleElement.idl \
1478         svg/SVGSVGElement.idl \
1479         svg/SVGSwitchElement.idl \
1480         svg/SVGSymbolElement.idl \
1481         svg/SVGTextContentElement.idl \
1482         svg/SVGTextElement.idl \
1483         svg/SVGTextPathElement.idl \
1484         svg/SVGTextPositioningElement.idl \
1485         svg/SVGTitleElement.idl \
1486         svg/SVGTransform.idl \
1487         svg/SVGTransformList.idl \
1488         svg/SVGTRefElement.idl \
1489         svg/SVGTSpanElement.idl \
1490         svg/SVGUnitTypes.idl \
1491         svg/SVGUseElement.idl \
1492         svg/SVGViewElement.idl 
1493
1494     SOURCES += \
1495 # TODO: this-one-is-not-auto-added! FIXME! tmp/SVGElementFactory.cpp \
1496         bindings/js/JSSVGElementInstanceCustom.cpp \
1497         bindings/js/JSSVGLengthCustom.cpp \
1498         bindings/js/JSSVGMatrixCustom.cpp \
1499         bindings/js/JSSVGPathSegCustom.cpp \
1500         bindings/js/JSSVGPathSegListCustom.cpp \
1501         bindings/js/JSSVGPointListCustom.cpp \
1502         bindings/js/JSSVGTransformListCustom.cpp \
1503         css/SVGCSSComputedStyleDeclaration.cpp \
1504         css/SVGCSSParser.cpp \
1505         css/SVGCSSStyleSelector.cpp \
1506         rendering/style/SVGRenderStyle.cpp \
1507         rendering/style/SVGRenderStyleDefs.cpp \
1508         svg/SVGZoomEvent.cpp \
1509         rendering/PointerEventsHitRules.cpp \
1510         svg/FilterEffect.cpp \
1511         svg/SVGDocumentExtensions.cpp \
1512         svg/SVGImageLoader.cpp \
1513         svg/ColorDistance.cpp \
1514         svg/SVGAElement.cpp \
1515         svg/SVGAltGlyphElement.cpp \
1516         svg/SVGAngle.cpp \
1517         svg/SVGAnimateColorElement.cpp \
1518         svg/SVGAnimatedPathData.cpp \
1519         svg/SVGAnimatedPoints.cpp \
1520         svg/SVGAnimateElement.cpp \
1521         svg/SVGAnimateMotionElement.cpp \
1522         svg/SVGAnimateTransformElement.cpp \
1523         svg/SVGAnimationElement.cpp \
1524         svg/SVGCircleElement.cpp \
1525         svg/SVGClipPathElement.cpp \
1526         svg/SVGColor.cpp \
1527         svg/SVGComponentTransferFunctionElement.cpp \
1528         svg/SVGCursorElement.cpp \
1529         svg/SVGDefinitionSrcElement.cpp \
1530         svg/SVGDefsElement.cpp \
1531         svg/SVGDescElement.cpp \
1532         svg/SVGDocument.cpp \
1533         svg/SVGElement.cpp \
1534         svg/SVGElementInstance.cpp \
1535         svg/SVGElementInstanceList.cpp \
1536         svg/SVGEllipseElement.cpp \
1537         svg/SVGExternalResourcesRequired.cpp \
1538         svg/SVGFEBlendElement.cpp \
1539         svg/SVGFEColorMatrixElement.cpp \
1540         svg/SVGFEComponentTransferElement.cpp \
1541         svg/SVGFECompositeElement.cpp \
1542         svg/SVGFEDiffuseLightingElement.cpp \
1543         svg/SVGFEDisplacementMapElement.cpp \
1544         svg/SVGFEDistantLightElement.cpp \
1545         svg/SVGFEFloodElement.cpp \
1546         svg/SVGFEFuncAElement.cpp \
1547         svg/SVGFEFuncBElement.cpp \
1548         svg/SVGFEFuncGElement.cpp \
1549         svg/SVGFEFuncRElement.cpp \
1550         svg/SVGFEGaussianBlurElement.cpp \
1551         svg/SVGFEImageElement.cpp \
1552         svg/SVGFELightElement.cpp \
1553         svg/SVGFEMergeElement.cpp \
1554         svg/SVGFEMergeNodeElement.cpp \
1555         svg/SVGFEOffsetElement.cpp \
1556         svg/SVGFEPointLightElement.cpp \
1557         svg/SVGFESpecularLightingElement.cpp \
1558         svg/SVGFESpotLightElement.cpp \
1559         svg/SVGFETileElement.cpp \
1560         svg/SVGFETurbulenceElement.cpp \
1561         svg/SVGFilterElement.cpp \
1562         svg/SVGFilterPrimitiveStandardAttributes.cpp \
1563         svg/SVGFitToViewBox.cpp \
1564         svg/SVGFont.cpp \
1565         svg/SVGFontData.cpp \
1566         svg/SVGFontElement.cpp \
1567         svg/SVGFontFaceElement.cpp \
1568         svg/SVGFontFaceFormatElement.cpp \
1569         svg/SVGFontFaceNameElement.cpp \
1570         svg/SVGFontFaceSrcElement.cpp \
1571         svg/SVGFontFaceUriElement.cpp \
1572         svg/SVGForeignObjectElement.cpp \
1573         svg/SVGGElement.cpp \
1574         svg/SVGGlyphElement.cpp \
1575         svg/SVGGradientElement.cpp \
1576         svg/SVGImageElement.cpp \
1577         svg/SVGLangSpace.cpp \
1578         svg/SVGLength.cpp \
1579         svg/SVGLengthList.cpp \
1580         svg/SVGLinearGradientElement.cpp \
1581         svg/SVGLineElement.cpp \
1582         svg/SVGLocatable.cpp \
1583         svg/SVGMarkerElement.cpp \
1584         svg/SVGMaskElement.cpp \
1585         svg/SVGMetadataElement.cpp \
1586         svg/SVGMissingGlyphElement.cpp \
1587         svg/SVGMPathElement.cpp \
1588         svg/SVGNumberList.cpp \
1589         svg/SVGPaint.cpp \
1590         svg/SVGParserUtilities.cpp \
1591         svg/SVGPathElement.cpp \
1592         svg/SVGPathSegArc.cpp \
1593         svg/SVGPathSegClosePath.cpp \
1594         svg/SVGPathSegCurvetoCubic.cpp \
1595         svg/SVGPathSegCurvetoCubicSmooth.cpp \
1596         svg/SVGPathSegCurvetoQuadratic.cpp \
1597         svg/SVGPathSegCurvetoQuadraticSmooth.cpp \
1598         svg/SVGPathSegLineto.cpp \
1599         svg/SVGPathSegLinetoHorizontal.cpp \
1600         svg/SVGPathSegLinetoVertical.cpp \
1601         svg/SVGPathSegList.cpp \
1602         svg/SVGPathSegMoveto.cpp \
1603         svg/SVGPatternElement.cpp \
1604         svg/SVGPointList.cpp \
1605         svg/SVGPolyElement.cpp \
1606         svg/SVGPolygonElement.cpp \
1607         svg/SVGPolylineElement.cpp \
1608         svg/SVGPreserveAspectRatio.cpp \
1609         svg/SVGRadialGradientElement.cpp \
1610         svg/SVGRectElement.cpp \
1611         svg/SVGScriptElement.cpp \
1612         svg/SVGSetElement.cpp \
1613         svg/SVGStopElement.cpp \
1614         svg/SVGStringList.cpp \
1615         svg/SVGStylable.cpp \
1616         svg/SVGStyledElement.cpp \
1617         svg/SVGStyledLocatableElement.cpp \
1618         svg/SVGStyledTransformableElement.cpp \
1619         svg/SVGStyleElement.cpp \
1620         svg/SVGSVGElement.cpp \
1621         svg/SVGSwitchElement.cpp \
1622         svg/SVGSymbolElement.cpp \
1623         svg/SVGTests.cpp \
1624         svg/SVGTextContentElement.cpp \
1625         svg/SVGTextElement.cpp \
1626         svg/SVGTextPathElement.cpp \
1627         svg/SVGTextPositioningElement.cpp \
1628         svg/SVGTitleElement.cpp \
1629         svg/SVGTransformable.cpp \
1630         svg/SVGTransform.cpp \
1631         svg/SVGTransformDistance.cpp \
1632         svg/SVGTransformList.cpp \
1633         svg/SVGTRefElement.cpp \
1634         svg/SVGTSpanElement.cpp \
1635         svg/SVGURIReference.cpp \
1636         svg/SVGUseElement.cpp \
1637         svg/SVGViewElement.cpp \
1638         svg/SVGViewSpec.cpp \
1639         svg/SVGZoomAndPan.cpp \
1640         svg/animation/SMILTime.cpp \
1641         svg/animation/SMILTimeContainer.cpp \
1642         svg/animation/SVGSMILElement.cpp \
1643         platform/graphics/filters/FEBlend.cpp \
1644         platform/graphics/filters/FEColorMatrix.cpp \
1645         platform/graphics/filters/FEComponentTransfer.cpp \
1646         platform/graphics/filters/FEComposite.cpp \
1647         svg/graphics/filters/SVGFEConvolveMatrix.cpp \
1648         svg/graphics/filters/SVGFEDiffuseLighting.cpp \
1649         svg/graphics/filters/SVGFEDisplacementMap.cpp \
1650         svg/graphics/filters/SVGFEFlood.cpp \
1651         svg/graphics/filters/SVGFEGaussianBlur.cpp \
1652         svg/graphics/filters/SVGFEImage.cpp \
1653         svg/graphics/filters/SVGFEMerge.cpp \
1654         svg/graphics/filters/SVGFEMorphology.cpp \
1655         svg/graphics/filters/SVGFEOffset.cpp \
1656         svg/graphics/filters/SVGFESpecularLighting.cpp \
1657         svg/graphics/filters/SVGFETile.cpp \
1658         svg/graphics/filters/SVGFETurbulence.cpp \
1659         svg/graphics/filters/SVGFilterEffect.cpp \
1660         svg/graphics/filters/SVGLightSource.cpp \
1661         svg/graphics/SVGImage.cpp \
1662         svg/graphics/SVGPaintServer.cpp \
1663         svg/graphics/SVGPaintServerGradient.cpp \
1664         svg/graphics/SVGPaintServerLinearGradient.cpp \
1665         svg/graphics/SVGPaintServerPattern.cpp \
1666         svg/graphics/SVGPaintServerRadialGradient.cpp \
1667         svg/graphics/SVGPaintServerSolid.cpp \
1668         svg/graphics/SVGResourceClipper.cpp \
1669         svg/graphics/SVGResource.cpp \
1670         svg/graphics/SVGResourceFilter.cpp \
1671         svg/graphics/SVGResourceMarker.cpp \
1672         svg/graphics/SVGResourceMasker.cpp \
1673         rendering/RenderForeignObject.cpp \
1674         rendering/RenderPath.cpp \
1675         rendering/RenderSVGBlock.cpp \
1676         rendering/RenderSVGContainer.cpp \
1677         rendering/RenderSVGGradientStop.cpp \
1678         rendering/RenderSVGHiddenContainer.cpp \
1679         rendering/RenderSVGImage.cpp \
1680         rendering/RenderSVGInline.cpp \
1681         rendering/RenderSVGInlineText.cpp \
1682         rendering/RenderSVGRoot.cpp \
1683         rendering/RenderSVGText.cpp \
1684         rendering/RenderSVGTextPath.cpp \
1685         rendering/RenderSVGTransformableContainer.cpp \
1686         rendering/RenderSVGTSpan.cpp \
1687         rendering/RenderSVGViewportContainer.cpp \
1688         rendering/SVGCharacterLayoutInfo.cpp \
1689         rendering/SVGInlineFlowBox.cpp \
1690         rendering/SVGInlineTextBox.cpp \
1691         rendering/SVGRenderSupport.cpp \
1692         rendering/SVGRootInlineBox.cpp
1693
1694 SOURCES += \
1695         svg/graphics/qt/RenderPathQt.cpp \
1696         svg/graphics/qt/SVGPaintServerGradientQt.cpp \
1697         svg/graphics/qt/SVGPaintServerLinearGradientQt.cpp \
1698         svg/graphics/qt/SVGPaintServerPatternQt.cpp \
1699         svg/graphics/qt/SVGPaintServerQt.cpp \
1700         svg/graphics/qt/SVGPaintServerRadialGradientQt.cpp \
1701         svg/graphics/qt/SVGPaintServerSolidQt.cpp \
1702         svg/graphics/qt/SVGResourceClipperQt.cpp \
1703         svg/graphics/qt/SVGResourceFilterQt.cpp \
1704         svg/graphics/qt/SVGResourceMaskerQt.cpp
1705
1706
1707         # GENERATOR 5-C:
1708         svgnames_a.output = $$GENERATED_SOURCES_DIR/SVGNames.cpp
1709         svgnames_a.commands = perl -I$$PWD/bindings/scripts $$PWD/dom/make_names.pl --tags $$PWD/svg/svgtags.in --attrs $$PWD/svg/svgattrs.in --extraDefines \"$${DEFINES}\" --preprocessor \"$${QMAKE_MOC} -E\" --factory --wrapperFactory --outputDir $$GENERATED_SOURCES_DIR
1710         svgnames_a.input = SVG_NAMES
1711         svgnames_a.dependency_type = TYPE_C
1712         svgnames_a.CONFIG = target_predeps
1713         svgnames_a.variable_out = GENERATED_SOURCES
1714         addExtraCompilerWithHeader(svgnames_a)
1715         svgnames_b.output = $$GENERATED_SOURCES_DIR/SVGElementFactory.cpp
1716         svgnames_b.commands = @echo -n ''
1717         svgnames_b.input = SVG_NAMES
1718         svgnames_b.depends = $$GENERATED_SOURCES_DIR/SVGNames.cpp
1719         svgnames_b.CONFIG = target_predeps
1720         svgnames_b.variable_out = GENERATED_SOURCES
1721         addExtraCompilerWithHeader(svgnames_b)
1722         svgelementwrapper.output = $$GENERATED_SOURCES_DIR/JSSVGElementWrapperFactory.cpp
1723         svgelementwrapper.commands = @echo -n ''
1724         svgelementwrapper.input = SVG_NAMES
1725         svgelementwrapper.depends = $$GENERATED_SOURCES_DIR/SVGNames.cpp
1726         svgelementwrapper.CONFIG = target_predeps
1727         svgelementwrapper.variable_out = GENERATED_SOURCES
1728         addExtraCompiler(svgelementwrapper)
1729         svgelementwrapper_header.output = $$GENERATED_SOURCES_DIR/JSSVGElementWrapperFactory.h
1730         svgelementwrapper_header.commands = @echo -n ''
1731         svgelementwrapper_header.input = SVG_NAMES
1732         svgelementwrapper_header.depends = $$GENERATED_SOURCES_DIR/SVGNames.cpp
1733         svgelementwrapper_header.CONFIG = target_predeps
1734         svgelementwrapper_header.variable_out = GENERATED_FILES
1735         addExtraCompiler(svgelementwrapper_header)
1736
1737         # GENERATOR 5-D:
1738         xlinknames.output = $$GENERATED_SOURCES_DIR/XLinkNames.cpp
1739         xlinknames.commands = perl -I$$PWD/bindings/scripts $$PWD/dom/make_names.pl --attrs $$PWD/svg/xlinkattrs.in --preprocessor \"$${QMAKE_MOC} -E\" --outputDir $$GENERATED_SOURCES_DIR
1740         xlinknames.input = XLINK_NAMES
1741         xlinknames.dependency_type = TYPE_C
1742         xlinknames.CONFIG = target_predeps
1743         xlinknames.variable_out = GENERATED_SOURCES
1744         addExtraCompilerWithHeader(xlinknames)
1745
1746     # GENERATOR 6-A:
1747     cssprops.output = $$GENERATED_SOURCES_DIR/${QMAKE_FILE_BASE}.cpp
1748     cssprops.input = WALDOCSSPROPS
1749     cssprops.commands = perl -ne \"print lc\" ${QMAKE_FILE_NAME} $$DASHBOARDSUPPORTCSSPROPERTIES $$SVGCSSPROPERTIES > $$GENERATED_SOURCES_DIR/${QMAKE_FILE_BASE}.in && cd $$GENERATED_SOURCES_DIR && perl $$PWD/css/makeprop.pl && $(DEL_FILE) ${QMAKE_FILE_BASE}.strip ${QMAKE_FILE_BASE}.in ${QMAKE_FILE_BASE}.gperf
1750     cssprops.CONFIG = target_predeps no_link
1751     cssprops.depend = ${QMAKE_FILE_NAME} DASHBOARDSUPPORTCSSPROPERTIES SVGCSSPROPERTIES
1752     addExtraCompilerWithHeader(cssprops)
1753
1754     # GENERATOR 6-B:
1755     cssvalues.output = $$GENERATED_SOURCES_DIR/${QMAKE_FILE_BASE}.c
1756     cssvalues.input = WALDOCSSVALUES
1757     cssvalues.commands = perl -ne \"print lc\" ${QMAKE_FILE_NAME} $$SVGCSSVALUES > $$GENERATED_SOURCES_DIR/${QMAKE_FILE_BASE}.in && cd $$GENERATED_SOURCES_DIR && perl $$PWD/css/makevalues.pl && $(DEL_FILE) ${QMAKE_FILE_BASE}.in ${QMAKE_FILE_BASE}.strip ${QMAKE_FILE_BASE}.gperf
1758     cssvalues.CONFIG = target_predeps no_link
1759     cssvalues.depend = ${QMAKE_FILE_NAME} SVGCSSVALUES
1760     addExtraCompilerWithHeader(cssvalues)
1761 } else {
1762     # GENERATOR 6-A:
1763     cssprops.output = $$GENERATED_SOURCES_DIR/${QMAKE_FILE_BASE}.c
1764     cssprops.input = WALDOCSSPROPS
1765     cssprops.commands = perl -ne \"print lc\" ${QMAKE_FILE_NAME} $$DASHBOARDSUPPORTCSSPROPERTIES > $$GENERATED_SOURCES_DIR/${QMAKE_FILE_BASE}.in && cd $$GENERATED_SOURCES_DIR && perl $$PWD/css/makeprop.pl && $(DEL_FILE) ${QMAKE_FILE_BASE}.strip ${QMAKE_FILE_BASE}.in ${QMAKE_FILE_BASE}.gperf
1766     cssprops.CONFIG = target_predeps no_link
1767     cssprops.depend = ${QMAKE_FILE_NAME} DASHBOARDSUPPORTCSSPROPERTIES
1768     addExtraCompilerWithHeader(cssprops)
1769
1770     # GENERATOR 6-B:
1771     cssvalues.output = $$GENERATED_SOURCES_DIR/${QMAKE_FILE_BASE}.c
1772     cssvalues.input = WALDOCSSVALUES
1773     cssvalues.commands = $(COPY_FILE) ${QMAKE_FILE_NAME} $$GENERATED_SOURCES_DIR && cd $$GENERATED_SOURCES_DIR && perl $$PWD/css/makevalues.pl && $(DEL_FILE) ${QMAKE_FILE_BASE}.in ${QMAKE_FILE_BASE}.strip ${QMAKE_FILE_BASE}.gperf
1774     cssvalues.CONFIG = target_predeps no_link
1775     cssvalues.clean = ${QMAKE_FILE_OUT} ${QMAKE_VAR_GENERATED_SOURCES_DIR_SLASH}${QMAKE_FILE_BASE}.h
1776     addExtraCompiler(cssvalues)
1777 }
1778
1779
1780 # GENERATOR 1: IDL compiler
1781 idl.output = $$GENERATED_SOURCES_DIR/JS${QMAKE_FILE_BASE}.cpp
1782 idl.variable_out = GENERATED_SOURCES
1783 idl.input = IDL_BINDINGS
1784 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/svg --outputDir $$GENERATED_SOURCES_DIR --preprocessor \"$${QMAKE_MOC} -E\" ${QMAKE_FILE_NAME}
1785 idl.CONFIG += target_predeps
1786 addExtraCompilerWithHeader(idl)
1787
1788 # GENERATOR 2-A: LUT creator
1789 lut.output = $$GENERATED_SOURCES_DIR/${QMAKE_FILE_BASE}.lut.h
1790 lut.commands = perl $$PWD/../JavaScriptCore/create_hash_table ${QMAKE_FILE_NAME} -n WebCore > ${QMAKE_FILE_OUT}
1791 lut.depend = ${QMAKE_FILE_NAME}
1792 lut.input = LUT_FILES
1793 lut.CONFIG += no_link
1794 addExtraCompiler(lut)
1795
1796 # GENERATOR 2-B: like JavaScriptCore/LUT Generator, but rename output
1797 luttable.output = $$GENERATED_SOURCES_DIR/${QMAKE_FILE_BASE}Table.cpp
1798 luttable.commands = perl $$PWD/../JavaScriptCore/create_hash_table ${QMAKE_FILE_NAME} -n WebCore > ${QMAKE_FILE_OUT}
1799 luttable.depend = ${QMAKE_FILE_NAME}
1800 luttable.input = LUT_TABLE_FILES
1801 luttable.CONFIG += no_link
1802 luttable.dependency_type = TYPE_C
1803 addExtraCompiler(luttable)
1804
1805 # GENERATOR 3: tokenizer (flex)
1806 tokenizer.output = $$GENERATED_SOURCES_DIR/${QMAKE_FILE_BASE}.cpp
1807 tokenizer.commands = flex -t < ${QMAKE_FILE_NAME} | perl $$PWD/css/maketokenizer > ${QMAKE_FILE_OUT}
1808 tokenizer.dependency_type = TYPE_C
1809 tokenizer.input = TOKENIZER
1810 tokenizer.CONFIG += target_predeps no_link
1811 addExtraCompiler(tokenizer)
1812
1813 # GENERATOR 4: CSS grammar
1814 cssbison.output = $$GENERATED_SOURCES_DIR/${QMAKE_FILE_BASE}.cpp
1815 cssbison.commands = perl $$PWD/css/makegrammar.pl ${QMAKE_FILE_NAME} $$GENERATED_SOURCES_DIR/${QMAKE_FILE_BASE}
1816 cssbison.depend = ${QMAKE_FILE_NAME}
1817 cssbison.input = CSSBISON
1818 cssbison.CONFIG = target_predeps
1819 cssbison.dependency_type = TYPE_C
1820 cssbison.variable_out = GENERATED_SOURCES
1821 addExtraCompilerWithHeader(cssbison)
1822
1823 # GENERATOR 5-A:
1824 htmlnames.output = $$GENERATED_SOURCES_DIR/HTMLNames.cpp
1825 htmlnames.commands = perl -I$$PWD/bindings/scripts $$PWD/dom/make_names.pl --tags $$PWD/html/HTMLTagNames.in --attrs $$PWD/html/HTMLAttributeNames.in --extraDefines \"$${DEFINES}\" --preprocessor \"$${QMAKE_MOC} -E\"  --wrapperFactory --outputDir $$GENERATED_SOURCES_DIR
1826 htmlnames.input = HTML_NAMES
1827 htmlnames.dependency_type = TYPE_C
1828 htmlnames.CONFIG = target_predeps
1829 htmlnames.variable_out = GENERATED_SOURCES
1830 addExtraCompilerWithHeader(htmlnames)
1831
1832 elementwrapperfactory.output = $$GENERATED_SOURCES_DIR/JSHTMLElementWrapperFactory.cpp
1833 elementwrapperfactory.commands = @echo -n ''
1834 elementwrapperfactory.input = HTML_NAMES
1835 elementwrapperfactory.depends = $$GENERATED_SOURCES_DIR/HTMLNames.cpp
1836 elementwrapperfactory.CONFIG = target_predeps
1837 elementwrapperfactory.variable_out = GENERATED_SOURCES
1838 elementwrapperfactory.clean += ${QMAKE_FILE_OUT}
1839 addExtraCompilerWithHeader(elementwrapperfactory)
1840
1841 # GENERATOR 5-B:
1842 xmlnames.output = $$GENERATED_SOURCES_DIR/XMLNames.cpp
1843 xmlnames.commands = perl -I$$PWD/bindings/scripts $$PWD/dom/make_names.pl --attrs $$PWD/xml/xmlattrs.in --preprocessor \"$${QMAKE_MOC} -E\" --outputDir $$GENERATED_SOURCES_DIR
1844 xmlnames.input = XML_NAMES
1845 xmlnames.dependency_type = TYPE_C
1846 xmlnames.CONFIG = target_predeps
1847 xmlnames.variable_out = GENERATED_SOURCES
1848 addExtraCompilerWithHeader(xmlnames)
1849
1850 # GENERATOR 8-A:
1851 entities.output = $$GENERATED_SOURCES_DIR/HTMLEntityNames.c
1852 entities.commands = gperf -a -L ANSI-C -C -G -c -o -t --key-positions="*" -N findEntity -D -s 2 < $$PWD/html/HTMLEntityNames.gperf > $$GENERATED_SOURCES_DIR/HTMLEntityNames.c
1853 entities.input = ENTITIES_GPERF
1854 entities.dependency_type = TYPE_C
1855 entities.CONFIG = target_predeps no_link
1856 entities.clean = ${QMAKE_FILE_OUT}
1857 addExtraCompiler(entities)
1858
1859 # GENERATOR 8-B:
1860 doctypestrings.output = $$GENERATED_SOURCES_DIR/${QMAKE_FILE_BASE}.cpp
1861 doctypestrings.input = DOCTYPESTRINGS
1862 doctypestrings.commands = perl -e \"print \'$${LITERAL_HASH}include <string.h>\';\" > ${QMAKE_FILE_OUT} && echo // bogus >> ${QMAKE_FILE_OUT} && gperf -CEot -L ANSI-C --key-positions="*" -N findDoctypeEntry -F ,PubIDInfo::eAlmostStandards,PubIDInfo::eAlmostStandards < ${QMAKE_FILE_NAME} >> ${QMAKE_FILE_OUT}
1863 doctypestrings.dependency_type = TYPE_C
1864 doctypestrings.CONFIG += target_predeps no_link
1865 doctypestrings.clean = ${QMAKE_FILE_OUT}
1866 addExtraCompiler(doctypestrings)
1867
1868 # GENERATOR 8-C:
1869 colordata.output = $$GENERATED_SOURCES_DIR/ColorData.c
1870 colordata.commands = perl -e \"print \'$${LITERAL_HASH}include <string.h>\';\" > ${QMAKE_FILE_OUT} && echo // bogus >> ${QMAKE_FILE_OUT} && gperf -CDEot -L ANSI-C --key-positions="*" -N findColor -D -s 2 < ${QMAKE_FILE_NAME} >> ${QMAKE_FILE_OUT}
1871 colordata.input = COLORDAT_GPERF
1872 colordata.CONFIG = target_predeps no_link
1873 addExtraCompiler(colordata)
1874
1875 # GENERATOR 9:
1876 stylesheets.output = $$GENERATED_SOURCES_DIR/UserAgentStyleSheetsData.cpp
1877 stylesheets.commands = perl $$PWD/css/make-css-file-arrays.pl --preprocessor \"$${QMAKE_MOC} -E\" $$GENERATED_SOURCES_DIR/UserAgentStyleSheets.h $$GENERATED_SOURCES_DIR/UserAgentStyleSheetsData.cpp $$PWD/css/html4.css $$PWD/css/quirks.css $$PWD/css/svg.css $$PWD/css/view-source.css
1878 stylesheets.input = STYLESHEETS_EMBED
1879 stylesheets.CONFIG = target_predeps
1880 stylesheets.variable_out = GENERATED_SOURCES
1881 stylesheets.clean = ${QMAKE_FILE_OUT} ${QMAKE_VAR_GENERATED_SOURCES_DIR_SLASH}UserAgentStyleSheets.h
1882 addExtraCompilerWithHeader(stylesheets, $$GENERATED_SOURCES_DIR/UserAgentStyleSheets.h)
1883
1884 # GENERATOR 10: XPATH grammar
1885 xpathbison.output = $$GENERATED_SOURCES_DIR/${QMAKE_FILE_BASE}.cpp
1886 xpathbison.commands = bison -d -p xpathyy ${QMAKE_FILE_NAME} -o ${QMAKE_FILE_BASE}.tab.c && $(MOVE) ${QMAKE_FILE_BASE}.tab.c $$GENERATED_SOURCES_DIR/${QMAKE_FILE_BASE}.cpp && $(MOVE) ${QMAKE_FILE_BASE}.tab.h $$GENERATED_SOURCES_DIR/${QMAKE_FILE_BASE}.h
1887 xpathbison.depend = ${QMAKE_FILE_NAME}
1888 xpathbison.input = XPATHBISON
1889 xpathbison.CONFIG = target_predeps
1890 xpathbison.dependency_type = TYPE_C
1891 xpathbison.variable_out = GENERATED_SOURCES
1892 addExtraCompilerWithHeader(xpathbison)
1893
1894 !CONFIG(QTDIR_build) {
1895     target.path = $$[QT_INSTALL_LIBS]
1896     include($$PWD/../WebKit/qt/Api/headers.pri)
1897     headers.files = $$WEBKIT_API_HEADERS
1898     headers.path = $$[QT_INSTALL_HEADERS]/QtWebKit
1899     prf.files = $$PWD/../WebKit/qt/Api/qtwebkit.prf
1900     prf.path = $$[QT_INSTALL_PREFIX]/mkspecs/features
1901
1902     VERSION=$${QT_MAJOR_VERSION}.$${QT_MINOR_VERSION}.$${QT_PATCH_VERSION}
1903
1904     win32-* {
1905         DLLDESTDIR = $$OUTPUT_DIR/bin
1906
1907         dlltarget.commands = $(COPY_FILE) $(DESTDIR)$(TARGET) $$[QT_INSTALL_BINS]
1908         dlltarget.CONFIG = no_path
1909         INSTALLS += dlltarget
1910     }
1911
1912
1913     INSTALLS += target headers prf
1914
1915     unix {
1916         CONFIG += create_pc create_prl
1917         QMAKE_PKGCONFIG_LIBDIR = $$target.path
1918         QMAKE_PKGCONFIG_INCDIR = $$headers.path
1919         QMAKE_PKGCONFIG_DESTDIR = pkgconfig
1920         lib_replace.match = $$DESTDIR
1921         lib_replace.replace = $$[QT_INSTALL_LIBS]
1922         QMAKE_PKGCONFIG_INSTALL_REPLACE += lib_replace
1923     }
1924 }
1925