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