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