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