2008-07-25 Simon Hausmann <hausmann@webkit.org>
[WebKit-https.git] / JavaScriptCore / kjs / jsc.pro
1 TEMPLATE = app
2 TARGET = jsc
3 DESTDIR = ..
4 SOURCES = Shell.cpp
5 QT -= gui
6 INCLUDEPATH += $$PWD/.. \
7     $$PWD \
8     $$PWD/../bindings \
9     $$PWD/../bindings/c \
10     $$PWD/../wtf \
11     $$PWD/../VM
12 CONFIG -= app_bundle
13 DEFINES += BUILDING_QT__
14
15 CONFIG(release) {
16     DEFINES += NDEBUG USE_SYSTEM_MALLOC
17 }
18
19 include($$PWD/../../WebKit.pri)
20
21 CONFIG += link_pkgconfig
22
23 QMAKE_RPATHDIR += $$OUTPUT_DIR/lib
24
25 isEmpty(OUTPUT_DIR):OUTPUT_DIR=$$PWD/../..
26 include($$OUTPUT_DIR/config.pri)
27 OBJECTS_DIR = tmp
28 OBJECTS_DIR_WTR = $$OBJECTS_DIR/
29 win32-*: OBJECTS_DIR_WTR ~= s|/|\|
30 include($$PWD/../JavaScriptCore.pri)
31
32 lessThan(QT_MINOR_VERSION, 4) {
33     DEFINES += QT_BEGIN_NAMESPACE="" QT_END_NAMESPACE=""
34 }