2010-07-13 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
[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/JavaScriptCore/jsc.pro): SUBDIRS += JavaScriptCore/jsc.pro
16 exists($$PWD/JavaScriptCore/testapi.pro): SUBDIRS += JavaScriptCore/testapi.pro
17 exists($$PWD/WebKit/qt/tests): SUBDIRS += WebKit/qt/tests
18 exists($$PWD/WebKitTools/DumpRenderTree/qt/DumpRenderTree.pro): SUBDIRS += WebKitTools/DumpRenderTree/qt/DumpRenderTree.pro
19 exists($$PWD/WebKitTools/DumpRenderTree/qt/ImageDiff.pro): SUBDIRS += WebKitTools/DumpRenderTree/qt/ImageDiff.pro
20
21 !win32:!symbian {
22     exists($$PWD/WebKitTools/DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro): SUBDIRS += WebKitTools/DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro
23 }
24
25 build-qtscript {
26     SUBDIRS += \
27         JavaScriptCore/qt/api/QtScript.pro \
28         JavaScriptCore/qt/tests \
29         JavaScriptCore/qt/benchmarks
30 }
31
32 symbian {
33     # Forward the install target to WebCore. A workaround since INSTALLS is not implemented for symbian
34     install.commands = $(MAKE) -C WebCore install
35     QMAKE_EXTRA_TARGETS += install
36 }
37
38 include(WebKit/qt/docs/docs.pri)