[Qt] Initial WebKit2 implementation
[WebKit-https.git] / WebKit.pro
1 TEMPLATE = subdirs
2 CONFIG += ordered
3
4 include(WebKit.pri)
5
6 SUBDIRS += \
7         JavaScriptCore \
8         WebCore
9
10 # If the source exists, built it
11 exists($$PWD/WebKitTools/QtTestBrowser): SUBDIRS += WebKitTools/QtTestBrowser
12 contains(QT_CONFIG, declarative) {
13     exists($$PWD/WebKit/qt/declarative): SUBDIRS += WebKit/qt/declarative
14 }
15 exists($$PWD/WebKitTools/MiniBrowser/qt/MiniBrowser.pro): SUBDIRS += WebKitTools/MiniBrowser/qt/MiniBrowser.pro
16 exists($$PWD/WebKit2/WebKit2.pro): SUBDIRS += WebKit2/WebKit2.pro
17 exists($$PWD/JavaScriptCore/jsc.pro): SUBDIRS += JavaScriptCore/jsc.pro
18 exists($$PWD/WebKit/qt/tests): SUBDIRS += WebKit/qt/tests
19 exists($$PWD/WebKitTools/DumpRenderTree/qt/DumpRenderTree.pro): SUBDIRS += WebKitTools/DumpRenderTree/qt/DumpRenderTree.pro
20 exists($$PWD/WebKitTools/DumpRenderTree/qt/ImageDiff.pro): SUBDIRS += WebKitTools/DumpRenderTree/qt/ImageDiff.pro
21
22 !win32:!symbian {
23     exists($$PWD/WebKitTools/DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro): SUBDIRS += WebKitTools/DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro
24 }
25
26 build-qtscript {
27     SUBDIRS += \
28         JavaScriptCore/qt/api/QtScript.pro \
29         JavaScriptCore/qt/tests \
30         JavaScriptCore/qt/benchmarks
31 }
32
33 symbian {
34     # Forward the install target to WebCore. A workaround since INSTALLS is not implemented for symbian
35     install.commands = $(MAKE) -C WebCore install
36     QMAKE_EXTRA_TARGETS += install
37 }
38
39 include(WebKit/qt/docs/docs.pri)