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