blob: 069e1f2b80d0fc8994775e565401b4dd38510089 [file] [log] [blame]
zack0321d232006-12-10 00:58:36 +00001TEMPLATE = subdirs
2CONFIG += ordered
hausmann@webkit.orgf9804ce2008-05-16 14:25:57 +00003
hausmann@webkit.org59b53cb2010-01-04 15:37:26 +00004include(WebKit.pri)
5
hausmann@webkit.orgdf870bc2010-09-11 18:22:14 +00006!v8: SUBDIRS += JavaScriptCore
abecsi@webkit.org9405f652010-08-10 13:52:00 +00007webkit2 {
8 SUBDIRS += WebKit2
9}
10SUBDIRS += WebCore
hausmannd5df26f2007-05-03 22:04:27 +000011
eric@webkit.org69bb7842010-04-07 08:15:43 +000012# If the source exists, built it
hausmann@webkit.org26048292010-05-14 15:24:14 +000013exists($$PWD/WebKitTools/QtTestBrowser): SUBDIRS += WebKitTools/QtTestBrowser
hausmann@webkit.orga691c332010-06-18 09:18:04 +000014contains(QT_CONFIG, declarative) {
hausmann@webkit.org9cd07742010-06-17 15:03:46 +000015 exists($$PWD/WebKit/qt/declarative): SUBDIRS += WebKit/qt/declarative
16}
hausmann@webkit.orgdf870bc2010-09-11 18:22:14 +000017!v8:exists($$PWD/JavaScriptCore/jsc.pro): SUBDIRS += JavaScriptCore/jsc.pro
eric@webkit.org69bb7842010-04-07 08:15:43 +000018exists($$PWD/WebKit/qt/tests): SUBDIRS += WebKit/qt/tests
19exists($$PWD/WebKitTools/DumpRenderTree/qt/DumpRenderTree.pro): SUBDIRS += WebKitTools/DumpRenderTree/qt/DumpRenderTree.pro
eric@webkit.org625cf472010-05-08 18:29:02 +000020exists($$PWD/WebKitTools/DumpRenderTree/qt/ImageDiff.pro): SUBDIRS += WebKitTools/DumpRenderTree/qt/ImageDiff.pro
vestbo@webkit.orgaa1d9bb2010-01-20 12:33:25 +000021
eric@webkit.org69bb7842010-04-07 08:15:43 +000022!win32:!symbian {
eric@webkit.org69bb7842010-04-07 08:15:43 +000023 exists($$PWD/WebKitTools/DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro): SUBDIRS += WebKitTools/DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro
vestbo@webkit.org9ba76ae2009-07-15 15:14:53 +000024}
hausmann291e38a2007-07-27 08:32:54 +000025
eric@webkit.org00904362010-01-26 13:00:15 +000026build-qtscript {
27 SUBDIRS += \
28 JavaScriptCore/qt/api/QtScript.pro \
commit-queue@webkit.orgb8ccc382010-06-25 19:57:02 +000029 JavaScriptCore/qt/tests \
30 JavaScriptCore/qt/benchmarks
eric@webkit.org00904362010-01-26 13:00:15 +000031}
32
abecsi@webkit.org835033c2010-07-23 13:39:33 +000033webkit2 {
abecsi@webkit.org9405f652010-08-10 13:52:00 +000034 exists($$PWD/WebKit2/WebProcess.pro): SUBDIRS += WebKit2/WebProcess.pro
abecsi@webkit.org1dea2e92010-07-23 14:36:54 +000035 exists($$PWD/WebKitTools/MiniBrowser/qt/MiniBrowser.pro): SUBDIRS += WebKitTools/MiniBrowser/qt/MiniBrowser.pro
kbalazs@webkit.orge63e4712010-10-08 16:16:19 +000036 exists($$PWD/WebKitTools/WebKitTestRunner/WebKitTestRunner.pro): SUBDIRS += WebKitTools/WebKitTestRunner/WebKitTestRunner.pro
abecsi@webkit.org835033c2010-07-23 13:39:33 +000037}
38
jocelyn.turcotte@nokia.com52f5a8872010-02-12 10:01:01 +000039symbian {
40 # Forward the install target to WebCore. A workaround since INSTALLS is not implemented for symbian
41 install.commands = $(MAKE) -C WebCore install
42 QMAKE_EXTRA_TARGETS += install
43}
44
hausmann@webkit.orgac4d7162009-04-24 10:30:07 +000045include(WebKit/qt/docs/docs.pri)