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