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