WebCore.pro 57.3 KB
Newer Older
zack's avatar
zack committed
1
# -*- Mode:makefile -*-
2
# WebCore - qmake build info
3
CONFIG += building-libs
4 5 6
# do not use implicit rules in nmake Makefiles to avoid the clash
# of API/Node.c and dom/Node.cpp
CONFIG += no_batch
7
include($$PWD/../WebKit.pri)
zecke's avatar
/:  
zecke committed
8
gtk-port:LIBS -= -lWebKitGtk
9 10

TEMPLATE = lib
11
qt-port:TARGET = QtWebKit
zecke's avatar
/:  
zecke committed
12
gtk-port:TARGET = WebKitGtk
13
OBJECTS_DIR = tmp
14
OBJECTS_DIR_WTR = $$OBJECTS_DIR/
15
win32-*: OBJECTS_DIR_WTR ~= s|/|\|
16
INCLUDEPATH += tmp $$OUTPUT_DIR/WebCore/tmp
17 18

DESTDIR = $$OUTPUT_DIR/lib
zack's avatar
zack committed
19 20
DEPENDPATH += css dom loader editing history html \
	loader page platform platform/graphics rendering xml
21 22 23 24

include($$OUTPUT_DIR/config.pri)

CONFIG -= warn_on
25
*-g++*:QMAKE_CXXFLAGS += -Wreturn-type -fno-strict-aliasing
26
#QMAKE_CXXFLAGS += -Wall -Wno-undef -Wno-unused-parameter
27

28
contains(QT_CONFIG, reduce_exports):CONFIG += hide_symbols
29 30
unix:contains(QT_CONFIG, reduce_relocations):CONFIG += bsymbolic_functions

hausmann's avatar
hausmann committed
31
linux-*: DEFINES += HAVE_STDINT_H
bdash's avatar
bdash committed
32
freebsd-*: DEFINES += HAVE_PTHREAD_NP_H
hausmann's avatar
hausmann committed
33

34 35 36 37 38 39 40
# PRE-BUILD: make the required config.h file
#config_h.target = config.h
#config_h.commands = cp config.h.qmake config.h
#config_h.depends = config.h.qmake
#QMAKE_EXTRA_TARGETS += config_h
#PRE_TARGETDEPS += config.h

41 42
DEFINES += BUILD_WEBKIT

43 44
win32-*: DEFINES += ENABLE_ICONDATABASE=0

45 46 47 48 49 50 51 52
# Pick up 3rdparty libraries from INCLUDE/LIB just like with MSVC
win32-g++ {
    TMPPATH            = $$quote($$(INCLUDE))
    QMAKE_INCDIR_POST += $$split(TMPPATH,";")
    TMPPATH            = $$quote($$(LIB))
    QMAKE_LIBDIR_POST += $$split(TMPPATH,";")
}

53
# Optional components (look for defs in config.h and included files!)
54 55
!contains(DEFINES, ENABLE_ICONDATABASE=.): DEFINES += ENABLE_ICONDATABASE=1
!contains(DEFINES, ENABLE_XPATH=.): DEFINES += ENABLE_XPATH=1
zecke's avatar
/:  
zecke committed
56
gtk-port:!contains(DEFINES, ENABLE_XSLT=.): DEFINES += ENABLE_XSLT=1
57 58
#!contains(DEFINES, ENABLE_XBL=.): DEFINES += ENABLE_XBL=1
qt-port: !contains(DEFINES, ENABLE_SVG=.): DEFINES += ENABLE_SVG=1
zecke's avatar
/:  
zecke committed
59
gtk-port:DEFINES += ENABLE_SVG=1
60

61
DEFINES += WTF_CHANGES=1
62

63 64 65 66
include($$PWD/../JavaScriptCore/JavaScriptCore.pri)

#INCLUDEPATH += $$PWD/../JavaScriptCore
#LIBS += -L$$OUTPUT_DIR/lib -lJavaScriptCore
67

aroben's avatar
aroben committed
68
qt-port {
69 70 71 72
!win32-* {
    LIBS += -L$$OUTPUT_DIR/WebKitQt/Plugins
    LIBS += -lqtwebico
}
73

zack's avatar
zack committed
74
INCLUDEPATH += \
75 76 77 78 79 80 81 82 83
                $$PWD/platform/qt \
                $$PWD/platform/network/qt \
                $$PWD/platform/graphics/qt \
                $$PWD/platform/graphics/svg/qt \
                $$PWD/loader/qt \
                $$PWD/page/qt \
                $$PWD/../WebKitQt/WebCoreSupport \
                $$PWD/../WebKitQt/Api

zack's avatar
zack committed
84 85
DEPENDPATH += editing/qt history/qt loader/qt page/qt \
	platform/graphics/qt ../WeKitQt/Api ../WebKitQt/WebCoreSupport
86 87

    DEFINES += WTF_USE_JAVASCRIPTCORE_BINDINGS=1
zack's avatar
zack committed
88 89
}

zecke's avatar
/:  
zecke committed
90
gtk-port {
91
    INCLUDEPATH += \
92
    $$PWD/platform/graphics/svg/cairo \
93 94 95 96 97 98
    $$PWD/platform/image-decoders/bmp \
    $$PWD/platform/image-decoders/gif \
    $$PWD/platform/image-decoders/ico \
    $$PWD/platform/image-decoders/jpeg \
    $$PWD/platform/image-decoders/png \
    $$PWD/platform/image-decoders/xbm
99

100 101 102 103 104 105
    DEPENDPATH += platform/graphics/gdk       \
                  platform/gdk                \
                  loader/gdk                  \
                  page/gdk                    \
                  platform/graphics/cairo     \
                  platform/graphics/svg/cairo \
106
                  platform/network/curl       \
107
                  ../WebKit/gtk/Api           \
108
                  ../WebKit/gtk/WebCoreSupport
109 110
}

111 112
INCLUDEPATH +=  $$PWD \
                $$PWD/ForwardingHeaders \
staikos's avatar
staikos committed
113
                $$PWD/.. \
114 115 116 117 118 119
                $$PWD/../JavaScriptCore/kjs \
                $$PWD/../JavaScriptCore/bindings \
                $$PWD/platform \
                $$PWD/platform/network \
                $$PWD/platform/graphics \
                $$PWD/platform/graphics/svg \
120
                $$PWD/platform/graphics/svg/filters \
121
                $$PWD/loader $$PWD/loader/icon \
122 123 124 125 126 127
                $$PWD/css \
                $$PWD/dom \
                $$PWD/page \
                $$PWD/bridge \
                $$PWD/editing \
                $$PWD/rendering \
lars's avatar
lars committed
128
                $$PWD/history \
129 130 131 132
                $$PWD/xml \
                $$PWD/html \
                $$PWD/bindings/js \
                $$PWD/ksvg2 $$PWD/ksvg2/css $$PWD/ksvg2/svg $$PWD/ksvg2/misc $$PWD/ksvg2/events \
133 134
                $$PWD/platform/image-decoders

135
QT += network xml
136

137
FEATURE_DEFINES_JAVASCRIPT = LANGUAGE_JAVASCRIPT=1
138 139 140

TOKENIZER = $$PWD/css/tokenizer.flex

141 142
DOCTYPESTRINGS = $$PWD/html/DocTypeStrings.gperf

143 144 145 146
CSSBISON = $$PWD/css/CSSGrammar.y

HTML_NAMES = $$PWD/html/HTMLTagNames.in

staikos's avatar
 
staikos committed
147 148
XML_NAMES = $$PWD/xml/xmlattrs.in

149 150 151 152 153 154 155 156 157 158 159 160 161 162 163
ENTITIES_GPERF = $$PWD/html/HTMLEntityNames.gperf

COLORDAT_GPERF = $$PWD/platform/ColorData.gperf

WALDOCSSPROPS = $$PWD/css/CSSPropertyNames.in

WALDOCSSVALUES = $$PWD/css/CSSValueKeywords.in

SVGCSSPROPERTIES = $$PWD/ksvg2/css/CSSPropertyNames.in

SVGCSSVALUES = $$PWD/ksvg2/css/CSSValueKeywords.in

STYLESHEETS_EMBED = $$PWD/css/html4.css

LUT_FILES += \
weinig's avatar
weinig committed
164 165
    bindings/js/JSDOMExceptionConstructor.cpp \
    bindings/js/JSEventTargetNode.cpp \
166 167
    bindings/js/JSXMLHttpRequest.cpp \
    bindings/js/JSXSLTProcessor.cpp \
168 169 170
    bindings/js/kjs_css.cpp \
    bindings/js/kjs_events.cpp \
    bindings/js/kjs_navigator.cpp \
171
    bindings/js/kjs_window.cpp
172 173 174 175 176

LUT_TABLE_FILES += \
    bindings/js/JSHTMLInputElementBase.cpp

IDL_BINDINGS += \
177
    css/Counter.idl \
weinig's avatar
weinig committed
178 179 180 181 182
    css/CSSCharsetRule.idl \
    css/CSSFontFaceRule.idl \
    css/CSSImportRule.idl \
    css/CSSMediaRule.idl \
    css/CSSPageRule.idl \
183 184
    css/CSSPrimitiveValue.idl \
    css/CSSRule.idl \
185 186
    css/CSSRuleList.idl \
    css/CSSStyleDeclaration.idl \
weinig's avatar
weinig committed
187
    css/CSSStyleRule.idl \
weinig's avatar
weinig committed
188
    css/CSSStyleSheet.idl \
189 190
    css/CSSValue.idl \
    css/CSSValueList.idl \
191
    css/MediaList.idl \
weinig's avatar
weinig committed
192
    css/Rect.idl \
weinig's avatar
weinig committed
193
    css/StyleSheet.idl \
194 195
    dom/Attr.idl \
    dom/CharacterData.idl \
lars's avatar
lars committed
196 197
    dom/CDATASection.idl \
    dom/Comment.idl \
198 199 200 201 202 203
    dom/DocumentFragment.idl \
    dom/Document.idl \
    dom/DocumentType.idl \
    dom/DOMImplementation.idl \
    dom/Element.idl \
    dom/Entity.idl \
lars's avatar
lars committed
204
    dom/EntityReference.idl \
205
    dom/Event.idl \
206 207
#    dom/EventListener.idl \
#    dom/EventTarget.idl \
208
    dom/KeyboardEvent.idl \
209
    dom/MouseEvent.idl \
210
    dom/MutationEvent.idl \
weinig's avatar
weinig committed
211
    dom/NamedNodeMap.idl \
212
    dom/Node.idl \
weinig's avatar
weinig committed
213
    dom/NodeFilter.idl \
214
    dom/NodeIterator.idl \
weinig's avatar
weinig committed
215
    dom/NodeList.idl \
216 217
    dom/Notation.idl \
    dom/OverflowEvent.idl \
218
    dom/ProcessingInstruction.idl \
219
    dom/RangeException.idl \
220 221
    dom/Range.idl \
    dom/Text.idl \
darin's avatar
darin committed
222
    dom/TextEvent.idl \
223 224 225
    dom/TreeWalker.idl \
    dom/UIEvent.idl \
    dom/WheelEvent.idl \
226 227 228 229 230 231 232 233 234 235 236 237 238
    html/CanvasGradient.idl \
    html/CanvasPattern.idl \
    html/CanvasRenderingContext2D.idl \
    html/HTMLAnchorElement.idl \
    html/HTMLAppletElement.idl \
    html/HTMLAreaElement.idl \
    html/HTMLBaseElement.idl \
    html/HTMLBaseFontElement.idl \
    html/HTMLBlockquoteElement.idl \
    html/HTMLBodyElement.idl \
    html/HTMLBRElement.idl \
    html/HTMLButtonElement.idl \
    html/HTMLCanvasElement.idl \
weinig's avatar
weinig committed
239
    html/HTMLCollection.idl \
240 241 242 243 244
    html/HTMLDirectoryElement.idl \
    html/HTMLDivElement.idl \
    html/HTMLDListElement.idl \
    html/HTMLDocument.idl \
    html/HTMLElement.idl \
weinig's avatar
weinig committed
245
    html/HTMLEmbedElement.idl \
246 247 248
    html/HTMLFieldSetElement.idl \
    html/HTMLFontElement.idl \
    html/HTMLFormElement.idl \
weinig's avatar
weinig committed
249
    html/HTMLFrameElement.idl \
weinig's avatar
weinig committed
250
    html/HTMLFrameSetElement.idl \
251 252 253 254
    html/HTMLHeadElement.idl \
    html/HTMLHeadingElement.idl \
    html/HTMLHRElement.idl \
    html/HTMLHtmlElement.idl \
weinig's avatar
weinig committed
255
    html/HTMLIFrameElement.idl \
256 257 258 259 260 261 262 263
    html/HTMLImageElement.idl \
    html/HTMLInputElement.idl \
    html/HTMLIsIndexElement.idl \
    html/HTMLLabelElement.idl \
    html/HTMLLegendElement.idl \
    html/HTMLLIElement.idl \
    html/HTMLLinkElement.idl \
    html/HTMLMapElement.idl \
weinig's avatar
weinig committed
264
    html/HTMLMarqueeElement.idl \
265 266 267
    html/HTMLMenuElement.idl \
    html/HTMLMetaElement.idl \
    html/HTMLModElement.idl \
weinig's avatar
weinig committed
268
    html/HTMLObjectElement.idl \
269 270 271
    html/HTMLOListElement.idl \
    html/HTMLOptGroupElement.idl \
    html/HTMLOptionElement.idl \
272
    html/HTMLOptionsCollection.idl \
273 274 275 276 277
    html/HTMLParagraphElement.idl \
    html/HTMLParamElement.idl \
    html/HTMLPreElement.idl \
    html/HTMLQuoteElement.idl \
    html/HTMLScriptElement.idl \
zack's avatar
zack committed
278
    html/HTMLSelectElement.idl \
279
    html/HTMLStyleElement.idl \
weinig's avatar
weinig committed
280 281 282 283 284 285
    html/HTMLTableCaptionElement.idl \
    html/HTMLTableCellElement.idl \
    html/HTMLTableColElement.idl \
    html/HTMLTableElement.idl \
    html/HTMLTableRowElement.idl \
    html/HTMLTableSectionElement.idl \
286 287 288
    html/HTMLTextAreaElement.idl \
    html/HTMLTitleElement.idl \
    html/HTMLUListElement.idl \
weinig's avatar
weinig committed
289
    page/BarInfo.idl \
weinig's avatar
weinig committed
290
    page/DOMSelection.idl \
291
    page/DOMWindow.idl \
weinig's avatar
weinig committed
292
    page/History.idl \
weinig's avatar
weinig committed
293
    page/Screen.idl \
294
    xml/DOMParser.idl \
295 296
    xml/XMLSerializer.idl

297 298

SOURCES += \
ggaren's avatar
ggaren committed
299
    bindings/js/GCController.cpp \
weinig's avatar
weinig committed
300
    bindings/js/JSAttrCustom.cpp \
301
    bindings/js/JSCanvasRenderingContext2DCustom.cpp \
weinig's avatar
weinig committed
302
    bindings/js/JSCSSRuleCustom.cpp \
weinig's avatar
weinig committed
303
    bindings/js/JSCSSStyleDeclarationCustom.cpp \
weinig's avatar
weinig committed
304
    bindings/js/JSCSSValueCustom.cpp \
ap's avatar
ap committed
305
    bindings/js/JSCustomXPathNSResolver.cpp \
darin's avatar
darin committed
306
    bindings/js/JSDocumentCustom.cpp \
weinig's avatar
weinig committed
307 308
    bindings/js/JSDOMExceptionConstructor.cpp \
    bindings/js/JSDOMWindowCustom.cpp \
weinig's avatar
weinig committed
309
    bindings/js/JSElementCustom.cpp \
weinig's avatar
weinig committed
310
    bindings/js/JSEventCustom.cpp \
weinig's avatar
weinig committed
311
    bindings/js/JSEventTargetNode.cpp \
weinig's avatar
weinig committed
312
    bindings/js/JSHTMLAppletElementCustom.cpp \
weinig's avatar
weinig committed
313
    bindings/js/JSHTMLCollectionCustom.cpp \
weinig's avatar
weinig committed
314
    bindings/js/JSHTMLDocumentCustom.cpp \
weinig's avatar
weinig committed
315
    bindings/js/JSHTMLElementCustom.cpp \
316
    bindings/js/JSHTMLElementWrapperFactory.cpp \
weinig's avatar
weinig committed
317
    bindings/js/JSHTMLEmbedElementCustom.cpp \
318
    bindings/js/JSHTMLFormElementCustom.cpp \
weinig's avatar
weinig committed
319
    bindings/js/JSHTMLFrameElementCustom.cpp \
weinig's avatar
weinig committed
320
    bindings/js/JSHTMLFrameSetElementCustom.cpp \
weinig's avatar
weinig committed
321
    bindings/js/JSHTMLIFrameElementCustom.cpp \
weinig's avatar
weinig committed
322
    bindings/js/JSHTMLInputElementBase.cpp \
weinig's avatar
weinig committed
323
    bindings/js/JSHTMLObjectElementCustom.cpp \
324 325
    bindings/js/JSHTMLOptionElementConstructor.cpp \
    bindings/js/JSHTMLOptionsCollectionCustom.cpp \
weinig's avatar
weinig committed
326
    bindings/js/JSHTMLSelectElementCustom.cpp \
weinig's avatar
weinig committed
327 328 329
    bindings/js/JSNamedNodeMapCustom.cpp \
    bindings/js/JSNamedNodesCollection.cpp  \
    bindings/js/JSNodeCustom.cpp \
weinig's avatar
weinig committed
330 331
    bindings/js/JSNodeFilterCondition.cpp \
    bindings/js/JSNodeFilterCustom.cpp \
332
    bindings/js/JSNodeIteratorCustom.cpp \
weinig's avatar
weinig committed
333
    bindings/js/JSNodeListCustom.cpp \
weinig's avatar
weinig committed
334
    bindings/js/JSStyleSheetCustom.cpp \
335
    bindings/js/JSTreeWalkerCustom.cpp \
weinig's avatar
weinig committed
336
    bindings/js/JSXMLHttpRequest.cpp \
337
    bindings/js/JSXSLTProcessor.cpp \
338 339 340 341 342 343 344 345 346
    bindings/js/kjs_binding.cpp \
    bindings/js/kjs_css.cpp \
    bindings/js/kjs_dom.cpp \
    bindings/js/kjs_events.cpp \
    bindings/js/kjs_html.cpp \
    bindings/js/kjs_navigator.cpp \
    bindings/js/kjs_proxy.cpp \
    bindings/js/kjs_window.cpp \
    css/CSSBorderImageValue.cpp \
347
    css/CSSCharsetRule.cpp \
348 349 350
    css/CSSComputedStyleDeclaration.cpp \
    css/CSSCursorImageValue.cpp \
    css/CSSFontFaceRule.cpp \
weinig's avatar
weinig committed
351
    css/CSSHelper.cpp \
352
    css/CSSImageValue.cpp \
353
    css/CSSImportRule.cpp \
354 355 356 357 358
    css/CSSInheritedValue.cpp \
    css/CSSInitialValue.cpp \
    css/CSSMediaRule.cpp \
    css/CSSMutableStyleDeclaration.cpp \
    css/CSSPageRule.cpp \
weinig's avatar
weinig committed
359
    css/CSSParser.cpp \
360 361 362
    css/CSSPrimitiveValue.cpp \
    css/CSSProperty.cpp \
    css/CSSRule.cpp \
363 364 365
    css/CSSRuleList.cpp \
    css/CSSSelector.cpp \
    css/CSSStyleDeclaration.cpp \
366
    css/CSSStyleRule.cpp \
weinig's avatar
weinig committed
367
    css/CSSStyleSelector.cpp \
368 369
    css/CSSStyleSheet.cpp \
    css/CSSValueList.cpp \
370
    css/FontFamilyValue.cpp \
371 372
    css/FontValue.cpp \
    css/MediaFeatureNames.cpp \
373
    css/MediaList.cpp \
374 375 376
    css/MediaQuery.cpp \
    css/MediaQueryEvaluator.cpp \
    css/MediaQueryExp.cpp \
377
    css/ShadowValue.cpp \
378 379 380 381 382 383 384 385 386 387 388
    css/StyleBase.cpp \
    css/StyleList.cpp \
    css/StyleSheet.cpp \
    css/StyleSheetList.cpp \
    dom/Attr.cpp \
    dom/Attribute.cpp \
    dom/BeforeTextInsertedEvent.cpp \
    dom/BeforeUnloadEvent.cpp \
    dom/CDATASection.cpp \
    dom/CharacterData.cpp \
    dom/ChildNodeList.cpp \
389
    dom/Clipboard.cpp \
390 391 392 393 394 395 396
    dom/ClipboardEvent.cpp \
    dom/Comment.cpp \
    dom/ContainerNode.cpp \
    dom/CSSMappedAttributeDeclaration.cpp \
    dom/Document.cpp \
    dom/DocumentFragment.cpp \
    dom/DocumentType.cpp \
397
    dom/DOMImplementation.cpp \
398 399 400
    dom/EditingText.cpp \
    dom/Element.cpp \
    dom/Entity.cpp \
401
    dom/EntityReference.cpp \
402 403 404 405 406
    dom/Event.cpp \
    dom/EventNames.cpp \
    dom/EventTarget.cpp \
    dom/EventTargetNode.cpp \
    dom/KeyboardEvent.cpp \
407
    dom/MappedAttribute.cpp \
408 409 410
    dom/MouseEvent.cpp \
    dom/MouseRelatedEvent.cpp \
    dom/MutationEvent.cpp \
411 412
    dom/NamedAttrMap.cpp \
    dom/NamedMappedAttrMap.cpp \
413
    dom/NameNodeList.cpp \
414 415
    dom/Node.cpp \
    dom/NodeFilterCondition.cpp \
416 417
    dom/NodeFilter.cpp \
    dom/NodeIterator.cpp \
418
    dom/NodeList.cpp \
419
    dom/Notation.cpp \
420
    dom/OverflowEvent.cpp \
421
    dom/Position.cpp \
weinig's avatar
weinig committed
422
    dom/PositionIterator.cpp \
423 424 425
    dom/ProcessingInstruction.cpp \
    dom/QualifiedName.cpp \
    dom/Range.cpp \
426
    dom/RegisteredEventListener.cpp \
427 428 429
    dom/StyledElement.cpp \
    dom/StyleElement.cpp \
    dom/Text.cpp \
darin's avatar
darin committed
430
    dom/TextEvent.cpp \
431
    dom/Traversal.cpp \
432 433
    dom/TreeWalker.cpp \
    dom/UIEvent.cpp \
434
    dom/UIEventWithKeyState.cpp \
435 436 437 438 439 440 441 442
    dom/WheelEvent.cpp \
    dom/XMLTokenizer.cpp \
    editing/AppendNodeCommand.cpp \
    editing/ApplyStyleCommand.cpp \
    editing/BreakBlockquoteCommand.cpp \
    editing/CommandByName.cpp \
    editing/CompositeEditCommand.cpp \
    editing/CreateLinkCommand.cpp \
443 444
    editing/DeleteButtonController.cpp \
    editing/DeleteButton.cpp \
445 446 447
    editing/DeleteFromTextNodeCommand.cpp \
    editing/DeleteSelectionCommand.cpp \
    editing/EditCommand.cpp \
448 449 450
    editing/Editor.cpp \
    editing/FormatBlockCommand.cpp \
    editing/htmlediting.cpp \
451
    editing/HTMLInterchange.cpp \
452
    editing/IndentOutdentCommand.cpp \
453 454 455
    editing/InsertIntoTextNodeCommand.cpp \
    editing/InsertLineBreakCommand.cpp \
    editing/InsertListCommand.cpp \
456
    editing/InsertNodeBeforeCommand.cpp \
457
    editing/InsertParagraphSeparatorCommand.cpp \
458
    editing/InsertTextCommand.cpp \
459 460 461 462 463 464 465
    editing/JoinTextNodesCommand.cpp \
    editing/JSEditor.cpp \
    editing/markup.cpp \
    editing/MergeIdenticalElementsCommand.cpp \
    editing/ModifySelectionListLevel.cpp \
    editing/MoveSelectionCommand.cpp \
    editing/RemoveCSSPropertyCommand.cpp \
466 467
    editing/RemoveNodeAttributeCommand.cpp \
    editing/RemoveNodeCommand.cpp \
468 469 470 471
    editing/RemoveNodePreservingChildrenCommand.cpp \
    editing/ReplaceSelectionCommand.cpp \
    editing/SelectionController.cpp \
    editing/Selection.cpp \
472
    editing/SetNodeAttributeCommand.cpp \
staikos's avatar
Compile  
staikos committed
473
    editing/SmartReplace.cpp \
474 475 476 477 478 479 480 481 482 483
    editing/SplitElementCommand.cpp \
    editing/SplitTextNodeCommand.cpp \
    editing/SplitTextNodeContainingElementCommand.cpp \
    editing/TextIterator.cpp \
    editing/TypingCommand.cpp \
    editing/UnlinkCommand.cpp \
    editing/VisiblePosition.cpp \
    editing/visible_units.cpp \
    editing/WrapContentsInDummySpanCommand.cpp \
    history/BackForwardList.cpp \
bdash's avatar
bdash committed
484
    history/CachedPage.cpp \
485
    history/HistoryItem.cpp \
ggaren's avatar
ggaren committed
486
    history/PageCache.cpp \
487 488
    html/CanvasGradient.cpp \
    html/CanvasPattern.cpp \
489
    html/CanvasRenderingContext2D.cpp \
490
    html/CanvasStyle.cpp \
491
    html/FormDataList.cpp \
492 493
    html/HTMLAnchorElement.cpp \
    html/HTMLAppletElement.cpp \
494
    html/HTMLAreaElement.cpp \
495 496 497
    html/HTMLBaseElement.cpp \
    html/HTMLBaseFontElement.cpp \
    html/HTMLBlockquoteElement.cpp \
498 499
    html/HTMLBodyElement.cpp \
    html/HTMLBRElement.cpp \
500 501 502 503 504 505 506 507
    html/HTMLButtonElement.cpp \
    html/HTMLCanvasElement.cpp \
    html/HTMLCollection.cpp \
    html/HTMLDirectoryElement.cpp \
    html/HTMLDivElement.cpp \
    html/HTMLDListElement.cpp \
    html/HTMLDocument.cpp \
    html/HTMLElement.cpp \
508
    html/HTMLElementFactory.cpp \
509
    html/HTMLEmbedElement.cpp \
510
    html/HTMLFieldSetElement.cpp \
511 512
    html/HTMLFontElement.cpp \
    html/HTMLFormCollection.cpp \
513 514
    html/HTMLFormElement.cpp \
    html/HTMLFrameElementBase.cpp \
515 516 517 518 519 520 521 522
    html/HTMLFrameElement.cpp \
    html/HTMLFrameOwnerElement.cpp \
    html/HTMLFrameSetElement.cpp \
    html/HTMLGenericFormElement.cpp \
    html/HTMLHeadElement.cpp \
    html/HTMLHeadingElement.cpp \
    html/HTMLHRElement.cpp \
    html/HTMLHtmlElement.cpp \
523
    html/HTMLIFrameElement.cpp \
524 525 526 527 528 529 530 531 532 533 534
    html/HTMLImageElement.cpp \
    html/HTMLImageLoader.cpp \
    html/HTMLInputElement.cpp \
    html/HTMLIsIndexElement.cpp \
    html/HTMLKeygenElement.cpp \
    html/HTMLLabelElement.cpp \
    html/HTMLLegendElement.cpp \
    html/HTMLLIElement.cpp \
    html/HTMLLinkElement.cpp \
    html/HTMLMapElement.cpp \
    html/HTMLMarqueeElement.cpp \
535
    html/HTMLMenuElement.cpp \
536
    html/HTMLMetaElement.cpp \
537
    html/HTMLModElement.cpp \
538 539 540 541 542 543 544 545 546
    html/HTMLNameCollection.cpp \
    html/HTMLObjectElement.cpp \
    html/HTMLOListElement.cpp \
    html/HTMLOptGroupElement.cpp \
    html/HTMLOptionElement.cpp \
    html/HTMLOptionsCollection.cpp \
    html/HTMLParagraphElement.cpp \
    html/HTMLParamElement.cpp \
    html/HTMLParser.cpp \
hyatt's avatar
hyatt committed
547
    html/HTMLParserErrorCodes.cpp \
548 549
    html/HTMLPlugInElement.cpp \
    html/HTMLPreElement.cpp \
550
    html/HTMLQuoteElement.cpp \
551
    html/HTMLScriptElement.cpp \
552
    html/HTMLSelectElement.cpp \
553 554 555 556 557 558
    html/HTMLStyleElement.cpp \
    html/HTMLTableCaptionElement.cpp \
    html/HTMLTableCellElement.cpp \
    html/HTMLTableColElement.cpp \
    html/HTMLTableElement.cpp \
    html/HTMLTablePartElement.cpp \
559
    html/HTMLTableRowElement.cpp \
560 561 562 563 564 565 566
    html/HTMLTableSectionElement.cpp \
    html/HTMLTextAreaElement.cpp \
    html/HTMLTextFieldInnerElement.cpp \
    html/HTMLTitleElement.cpp \
    html/HTMLTokenizer.cpp \
    html/HTMLUListElement.cpp \
    html/HTMLViewSourceDocument.cpp \
567 568 569 570
    loader/Cache.cpp \
    loader/CachedCSSStyleSheet.cpp \
    loader/CachedImage.cpp \
    loader/CachedResourceClientWalker.cpp \
571
    loader/CachedResource.cpp \
572 573 574 575 576 577
    loader/CachedScript.cpp \
    loader/CachedXSLStyleSheet.cpp \
    loader/DocLoader.cpp \
    loader/DocumentLoader.cpp \
    loader/FormState.cpp \
    loader/FrameLoader.cpp \
578 579
    loader/FTPDirectoryDocument.cpp \
    loader/FTPDirectoryParser.cpp \
580
    loader/icon/IconLoader.cpp \
581
    loader/ImageDocument.cpp \
582
    loader/loader.cpp \
583
    loader/MainResourceLoader.cpp \
584
    loader/NavigationAction.cpp \
585 586
    loader/NetscapePlugInStreamLoader.cpp \
    loader/PluginDocument.cpp \
587
    loader/ProgressTracker.cpp \
588 589 590 591 592
    loader/Request.cpp \
    loader/ResourceLoader.cpp \
    loader/SubresourceLoader.cpp \
    loader/TextDocument.cpp \
    loader/TextResourceDecoder.cpp \
weinig's avatar
weinig committed
593
    page/BarInfo.cpp \
594 595
    page/Chrome.cpp \
    page/ContextMenuController.cpp \
weinig's avatar
weinig committed
596
    page/DOMSelection.cpp \
597 598 599 600 601 602 603
    page/DOMWindow.cpp \
    page/DragController.cpp \
    page/EventHandler.cpp \
    page/FocusController.cpp \
    page/Frame.cpp \
    page/FrameTree.cpp \
    page/FrameView.cpp \
weinig's avatar
weinig committed
604
    page/History.cpp \
aroben's avatar
aroben committed
605
    page/InspectorController.cpp \
606 607
    page/MouseEventWithHitTestResults.cpp \
    page/Page.cpp \
weinig's avatar
weinig committed
608
    page/Screen.cpp \
609 610 611
    page/Settings.cpp \
    platform/Arena.cpp \
    platform/ArrayImpl.cpp \
612
    platform/AtomicString.cpp \
staikos's avatar
staikos committed
613
    platform/Base64.cpp \
614
    platform/BidiContext.cpp \
615 616 617 618 619
    platform/ContextMenu.cpp \
    platform/CString.cpp \
    platform/DeprecatedCString.cpp \
    platform/DeprecatedPtrListImpl.cpp \
    platform/DeprecatedString.cpp \
620 621
    platform/DeprecatedStringList.cpp \
    platform/DeprecatedValueListImpl.cpp \
622
    platform/DragData.cpp \
623
    platform/DragImage.cpp \
624 625 626 627
    platform/FileChooser.cpp \
    platform/FontFamily.cpp \
    platform/graphics/AffineTransform.cpp \
    platform/graphics/BitmapImage.cpp \
628
    platform/graphics/Color.cpp \
629 630
    platform/graphics/FloatPoint3D.cpp \
    platform/graphics/FloatPoint.cpp \
631
    platform/graphics/FloatRect.cpp \
632 633 634 635 636 637
    platform/graphics/FloatSize.cpp \
    platform/graphics/GraphicsContext.cpp \
    platform/graphics/GraphicsTypes.cpp \
    platform/graphics/ImageBuffer.cpp \
    platform/graphics/Image.cpp \
    platform/graphics/IntRect.cpp \
638
    platform/graphics/Path.cpp \
639 640 641 642
    platform/graphics/PathTraversalState.cpp \
    platform/graphics/Pen.cpp \
    platform/KURL.cpp \
    platform/Logging.cpp \
weinig's avatar
weinig committed
643
    platform/MIMETypeRegistry.cpp \
644 645 646 647 648 649
    platform/network/AuthenticationChallenge.cpp \
    platform/network/Credential.cpp \
    platform/network/FormData.cpp \
    platform/network/HTTPParsers.cpp \
    platform/network/ProtectionSpace.cpp \
    platform/network/ResourceHandle.cpp \
650
    platform/network/ResourceRequestBase.cpp \
651
    platform/network/ResourceResponse.cpp \
652
    platform/RegularExpression.cpp \
653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670
    platform/ScrollBar.cpp \
#    platform/SearchPopupMenu.cpp \
    platform/SegmentedString.cpp \
    platform/SharedBuffer.cpp \
    platform/String.cpp \
    platform/StringImpl.cpp \
    platform/TextCodec.cpp \
    platform/TextCodecLatin1.cpp \
    platform/TextCodecUTF16.cpp \
    platform/TextDecoder.cpp \
    platform/TextEncoding.cpp \
    platform/TextEncodingRegistry.cpp \
    platform/TextStream.cpp \
    platform/Timer.cpp \
    platform/Widget.cpp \
    rendering/AutoTableLayout.cpp \
    rendering/bidi.cpp \
    rendering/break_lines.cpp \
671
    rendering/CounterNode.cpp \
672 673 674 675
    rendering/EllipsisBox.cpp \
    rendering/FixedTableLayout.cpp \
    rendering/HitTestResult.cpp \
    rendering/InlineBox.cpp \
676
    rendering/InlineFlowBox.cpp \
677
    rendering/InlineTextBox.cpp \
weinig's avatar
weinig committed
678
    rendering/LayoutState.cpp \
679 680
    rendering/ListMarkerBox.cpp \
    rendering/RenderApplet.cpp \
681 682 683
    rendering/RenderArena.cpp \
    rendering/RenderBlock.cpp \
    rendering/RenderBox.cpp \
684
    rendering/RenderBR.cpp \
685
    rendering/RenderButton.cpp \
686 687 688
    rendering/RenderContainer.cpp \
    rendering/RenderCounter.cpp \
    rendering/RenderFieldset.cpp \
689 690
    rendering/RenderFileUploadControl.cpp \
    rendering/RenderFlexibleBox.cpp \
691 692 693 694 695 696 697
    rendering/RenderFlow.cpp \
    rendering/RenderFrame.cpp \
    rendering/RenderFrameSet.cpp \
    rendering/RenderHTMLCanvas.cpp \
    rendering/RenderImage.cpp \
    rendering/RenderInline.cpp \
    rendering/RenderLayer.cpp \
698
    rendering/RenderLegend.cpp \
699 700 701 702 703 704 705 706 707 708 709 710 711 712 713
    rendering/RenderListBox.cpp \
    rendering/RenderListItem.cpp \
    rendering/RenderListMarker.cpp \
    rendering/RenderMenuList.cpp \
    rendering/RenderObject.cpp \
    rendering/RenderPart.cpp \
    rendering/RenderPartObject.cpp \
    rendering/RenderReplaced.cpp \
    rendering/RenderSlider.cpp \
    rendering/RenderStyle.cpp \
    rendering/RenderTableCell.cpp \
    rendering/RenderTableCol.cpp \
    rendering/RenderTable.cpp \
    rendering/RenderTableRow.cpp \
    rendering/RenderTableSection.cpp \
714
    rendering/RenderTextControl.cpp \
715
    rendering/RenderText.cpp \
716
    rendering/RenderTextFragment.cpp \
717 718 719 720
    rendering/RenderTheme.cpp \
    rendering/RenderTreeAsText.cpp \
    rendering/RenderView.cpp \
    rendering/RenderWidget.cpp \
darin's avatar
darin committed
721
    rendering/RenderWordBreak.cpp \
722 723 724
    rendering/RootInlineBox.cpp \
    rendering/SVGRenderTreeAsText.cpp \
    xml/DOMParser.cpp \
ap's avatar
ap committed
725
    xml/NativeXPathNSResolver.cpp \
weinig's avatar
weinig committed
726
    xml/XMLHttpRequest.cpp \
727 728 729 730 731 732
    xml/XMLSerializer.cpp \
    xml/XPathEvaluator.cpp \
    xml/XPathExpression.cpp \
    xml/XPathExpressionNode.cpp \
    xml/XPathFunctions.cpp \
    xml/XPathNamespace.cpp \
ap's avatar
ap committed
733
    xml/XPathNodeSet.cpp \
734 735 736 737 738 739 740 741 742 743 744
    xml/XPathNSResolver.cpp \
    xml/XPathParser.cpp \
    xml/XPathPath.cpp \
    xml/XPathPredicate.cpp \
    xml/XPathResult.cpp \
    xml/XPathStep.cpp \
    xml/XPathUtil.cpp \
    xml/XPathValue.cpp \
    xml/XPathVariableReference.cpp \
    xml/XSLImportRule.cpp \
    xml/XSLStyleSheet.cpp \
ap's avatar
ap committed
745
    xml/XSLTExtensions.cpp \
746 747
    xml/XSLTProcessor.cpp

zecke's avatar
/:  
zecke committed
748
gtk-port {
749 750 751 752 753 754 755 756 757
  SOURCES += \
    platform/GlyphPageTreeNode.cpp \
    platform/GlyphWidthMap.cpp \
    platform/FontCache.cpp \
    platform/Font.cpp \
    platform/FontData.cpp \
    platform/FontFallbackList.cpp 
}

758 759 760
qt-port {

    HEADERS += \
lars's avatar
lars committed
761
    $$PWD/platform/qt/QWebPopup.h \
762
    $$PWD/platform/qt/MenuEventProxy.h \
lars's avatar
lars committed
763 764 765 766 767 768 769
    $$PWD/platform/qt/SharedTimerQt.h \
    $$PWD/../WebKitQt/Api/qwebframe.h \
    $$PWD/../WebKitQt/Api/qwebpage.h \
    $$PWD/../WebKitQt/Api/qwebnetworkinterface.h \
    $$PWD/../WebKitQt/Api/qwebnetworkinterface_p.h \
    $$PWD/../WebKitQt/Api/qwebobjectplugin.h \
    $$PWD/../WebKitQt/Api/qwebobjectplugin_p.h \
770
    $$PWD/../WebKitQt/Api/qwebobjectpluginconnector.h \
771
    $$PWD/../WebKitQt/Api/qwebhistoryinterface.h \
lars's avatar
lars committed
772 773 774
    $$PWD/../WebKitQt/Api/qcookiejar.h \
    $$PWD/../WebKitQt/WebCoreSupport/FrameLoaderClientQt.h

775
    SOURCES += \
776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804
    page/qt/DragControllerQt.cpp \
    page/qt/EventHandlerQt.cpp \
    page/qt/FrameQt.cpp \
    loader/qt/DocumentLoaderQt.cpp \
    platform/graphics/qt/AffineTransformQt.cpp \
    platform/graphics/qt/ColorQt.cpp \
    platform/graphics/qt/FloatPointQt.cpp \
    platform/graphics/qt/FloatRectQt.cpp \
    platform/graphics/qt/GraphicsContextQt.cpp \
    platform/graphics/qt/IconQt.cpp \
    platform/graphics/qt/ImageBufferQt.cpp \
    platform/graphics/qt/ImageDecoderQt.cpp \
    platform/graphics/qt/ImageQt.cpp \
    platform/graphics/qt/ImageSourceQt.cpp \
    platform/graphics/qt/IntPointQt.cpp \
    platform/graphics/qt/IntRectQt.cpp \
    platform/graphics/qt/IntSizeQt.cpp \
    platform/graphics/qt/PathQt.cpp \
    platform/network/qt/ResourceHandleQt.cpp \
    editing/qt/EditorQt.cpp \
    history/qt/CachedPageQt.cpp \
    platform/qt/ClipboardQt.cpp \
    platform/qt/ContextMenuItemQt.cpp \
    platform/qt/ContextMenuQt.cpp \
    platform/qt/CookieJarQt.cpp \
    platform/qt/CursorQt.cpp \
    platform/qt/DragDataQt.cpp \
    platform/qt/DragImageQt.cpp \
    platform/qt/FileChooserQt.cpp \
staikos's avatar
staikos committed
805
    platform/qt/FileSystemQt.cpp \
806
    platform/qt/FontQt.cpp \
staikos's avatar
staikos committed
807
    platform/qt/Localizations.cpp \
weinig's avatar
weinig committed
808
    platform/qt/MIMETypeRegistryQt.cpp \
809 810 811
    platform/qt/PasteboardQt.cpp \
    platform/qt/PlatformKeyboardEventQt.cpp \
    platform/qt/PlatformMouseEventQt.cpp \
weinig's avatar
weinig committed
812
    platform/qt/PlatformScreenQt.cpp \
813
    platform/qt/PlatformScrollBarQt.cpp \
lars's avatar
lars committed
814
    platform/qt/PlugInInfoStoreQt.cpp \
815 816 817 818 819 820 821 822 823 824 825 826
    platform/qt/PopupMenuQt.cpp \
    platform/qt/QWebPopup.cpp \
    platform/qt/RenderThemeQt.cpp \
    platform/qt/ScrollViewQt.cpp \
    platform/qt/SearchPopupMenuQt.cpp \
    platform/qt/SharedTimerQt.cpp \
    platform/qt/SoundQt.cpp \
    platform/qt/StringQt.cpp \
    platform/qt/TemporaryLinkStubs.cpp \
    platform/qt/TextBoundaries.cpp \
    platform/qt/TextBreakIteratorQt.cpp \
    platform/qt/TextCodecQt.cpp \
staikos's avatar
staikos committed
827
    platform/qt/ThreadingQt.cpp \
828 829
    platform/qt/WheelEventQt.cpp \
    platform/qt/WidgetQt.cpp \
830
    ../WebKitQt/WebCoreSupport/ChromeClientQt.cpp \
831
    ../WebKitQt/WebCoreSupport/ContextMenuClientQt.cpp \
832
    ../WebKitQt/WebCoreSupport/DragClientQt.cpp \
833
    ../WebKitQt/WebCoreSupport/EditorClientQt.cpp \
834
    ../WebKitQt/WebCoreSupport/EditCommandQt.cpp \
835
    ../WebKitQt/WebCoreSupport/FrameLoaderClientQt.cpp \
aroben's avatar
aroben committed
836
    ../WebKitQt/WebCoreSupport/InspectorClientQt.cpp \
zack's avatar
zack committed
837
    ../WebKitQt/Api/qwebframe.cpp \
lars's avatar
lars committed
838
    ../WebKitQt/Api/qwebnetworkinterface.cpp \
839
    ../WebKitQt/Api/qcookiejar.cpp \
840
    ../WebKitQt/Api/qwebpage.cpp \
841
    ../WebKitQt/Api/qwebpagehistory.cpp \
lars's avatar
lars committed
842
    ../WebKitQt/Api/qwebsettings.cpp \
843
    ../WebKitQt/Api/qwebobjectplugin.cpp \
844 845
    ../WebKitQt/Api/qwebobjectpluginconnector.cpp \
    ../WebKitQt/Api/qwebhistoryinterface.cpp
846

847 848 849 850
    unix: SOURCES += platform/qt/SystemTimeQt.cpp
    else: SOURCES += platform/win/SystemTimeWin.cpp
}

zecke's avatar
/:  
zecke committed
851
gtk-port {
852
    HEADERS += \
zecke's avatar
/:  
zecke committed
853
        ../WebCore/platform/gtk/ClipboardGtk.h \
854 855 856 857 858 859 860
        ../WebKit/gtk/Api/webkitgtkdefines.h \
        ../WebKit/gtk/Api/webkitgtkframe.h \
        ../WebKit/gtk/Api/webkitgtkglobal.h \
        ../WebKit/gtk/Api/webkitgtknetworkrequest.h \
        ../WebKit/gtk/Api/webkitgtkpage.h \
        ../WebKit/gtk/Api/webkitgtkprivate.h \
        ../WebKit/gtk/Api/webkitgtksettings.h \
zecke's avatar
zecke committed
861 862
        ../WebKit/gtk/WebCoreSupport/ChromeClientGtk.h \ 
        ../WebKit/gtk/WebCoreSupport/ContextMenuClientGtk.h \
zecke's avatar
zecke committed
863
        ../WebKit/gtk/WebCoreSupport/DragClientGtk.h \
zecke's avatar
zecke committed
864 865 866
        ../WebKit/gtk/WebCoreSupport/EditorClientGtk.h \
        ../WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.h \
        ../WebKit/gtk/WebCoreSupport/InspectorClientGtk.h
867
    SOURCES += \
868
        platform/StringTruncator.cpp \
869 870
        platform/TextCodecICU.cpp \
        platform/TextBreakIteratorICU.cpp \
zecke's avatar
/:  
zecke committed
871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908
        page/gtk/EventHandlerGtk.cpp \
        page/gtk/FrameGtk.cpp \
        page/gtk/DragControllerGtk.cpp \
        loader/gtk/DocumentLoaderGtk.cpp \