2008-05-15 Ariya Hidayat <ariya.hidayat@trolltech.com>
[WebKit-https.git] / JavaScriptCore / kjs / testkjs.pro
1 TEMPLATE = app
2 TARGET = testkjs
3 DESTDIR = ..
4 SOURCES = testkjs.cpp
5 QT -= gui
6 DEFINES -= KJS_IDENTIFIER_HIDE_GLOBALS 
7 INCLUDEPATH += $$PWD/.. $$PWD $$PWD/../bindings $$PWD/../bindings/c $$PWD/../wtf
8 CONFIG -= app_bundle
9 DEFINES += BUILDING_QT__
10
11 CONFIG += link_pkgconfig
12
13 QMAKE_RPATHDIR += $$OUTPUT_DIR/lib
14
15 isEmpty(OUTPUT_DIR):OUTPUT_DIR=$$PWD/../..
16 include($$OUTPUT_DIR/config.pri)
17 OBJECTS_DIR = tmp
18 OBJECTS_DIR_WTR = $$OBJECTS_DIR/
19 win32-*: OBJECTS_DIR_WTR ~= s|/|\|
20 include($$PWD/../JavaScriptCore.pri)
21
22 # Hack!  Fix this.
23 SOURCES -= API/JSBase.cpp \
24     API/JSCallbackConstructor.cpp \
25     API/JSCallbackFunction.cpp \
26     API/JSCallbackObject.cpp \
27     API/JSClassRef.cpp \
28     API/JSContextRef.cpp \
29     API/JSObjectRef.cpp \
30     API/JSStringRef.cpp \
31     API/JSValueRef.cpp
32
33 lessThan(QT_MINOR_VERSION, 4) {
34     DEFINES += QT_BEGIN_NAMESPACE="" QT_END_NAMESPACE=""
35 }