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