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