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