summaryrefslogtreecommitdiffstats
path: root/WebKit.pro
blob: 2df08f5eb339c62a15d087a0432a5ef256fa7e77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# -------------------------------------------------------------------
# Root project file, used to load WebKit in Qt Creator and for
# building QtWebKit.
#
# See 'Tools/qmake/README' for an overview of the build system
# -------------------------------------------------------------------

TEMPLATE = subdirs
CONFIG += ordered

QMAKEPATH = $$(QMAKEPATH)
isEmpty(QMAKEPATH)|!exists($${QMAKEPATH}/mkspecs) {
    error("The environment variable QMAKEPATH needs to point to $WEBKITSRC/Tools/qmake")
    # Otherwise we won't pick up the feature prf files needed for the build
}

# Always go into JavaScriptCore to at least build WTF.
JavaScriptCore.file = Source/JavaScriptCore/JavaScriptCore.pro
JavaScriptCore.makefile = Makefile.JavaScriptCore
SUBDIRS += JavaScriptCore

WebCore.file = Source/WebCore/WebCore.pro
WebCore.makefile = Makefile.WebCore
SUBDIRS += WebCore

!CONFIG(no_webkit2) {
    webkit2.file = Source/WebKit2/WebKit2.pro
    webkit2.makefile = Makefile.WebKit2
    SUBDIRS += webkit2
}

QtWebKit.file = Source/QtWebKit.pro
QtWebKit.makefile = Makefile.QtWebKit
SUBDIRS += QtWebKit

SUBDIRS += Tools

OTHER_FILES = \
    Tools/qmake/README \
    Tools/qmake/configure.pro \
    Tools/qmake/sync.profile \
    Tools/qmake/config.tests/fontconfig/* \
    Tools/qmake/mkspecs/modules/* \
    Tools/qmake/mkspecs/features/*.prf \
    Tools/qmake/mkspecs/features/mac/*.prf \
    Tools/qmake/mkspecs/features/unix/*.prf \
    Tools/qmake/mkspecs/features/win32/*.prf