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