bdc1387f637cba9ff58ad2fef33efb3fe5d011a2
[WebKit-https.git] / JavaScriptCore / kjs / jsc.pro
1 TEMPLATE = app
2 TARGET = jsc
3 DESTDIR = ..
4 SOURCES = Shell.cpp
5 QT -= gui
6 DEFINES -= KJS_IDENTIFIER_HIDE_GLOBALS 
7 INCLUDEPATH += $$PWD/.. \
8     $$PWD \
9     $$PWD/../bindings \
10     $$PWD/../bindings/c \
11     $$PWD/../wtf \
12     $$PWD/../VM
13 CONFIG -= app_bundle
14 DEFINES += BUILDING_QT__
15
16 CONFIG(release) {
17     DEFINES += NDEBUG USE_SYSTEM_MALLOC
18 }
19
20 CONFIG += link_pkgconfig
21
22 QMAKE_RPATHDIR += $$OUTPUT_DIR/lib
23
24 isEmpty(OUTPUT_DIR):OUTPUT_DIR=$$PWD/../..
25 include($$OUTPUT_DIR/config.pri)
26 OBJECTS_DIR = tmp
27 OBJECTS_DIR_WTR = $$OBJECTS_DIR/
28 win32-*: OBJECTS_DIR_WTR ~= s|/|\|
29 include($$PWD/../JavaScriptCore.pri)
30
31 # Hack!  Fix this.
32 SOURCES -= API/JSBase.cpp \
33     API/JSCallbackConstructor.cpp \
34     API/JSCallbackFunction.cpp \
35     API/JSCallbackObject.cpp \
36     API/JSClassRef.cpp \
37     API/JSContextRef.cpp \
38     API/JSObjectRef.cpp \
39     API/JSStringRef.cpp \
40     API/JSValueRef.cpp
41
42 lessThan(QT_MINOR_VERSION, 4) {
43     DEFINES += QT_BEGIN_NAMESPACE="" QT_END_NAMESPACE=""
44 }