]> git.saurik.com Git - apple/javascriptcore.git/blame - jsc.pro
JavaScriptCore-521.tar.gz
[apple/javascriptcore.git] / jsc.pro
CommitLineData
9dae56ea
A
1TEMPLATE = app
2TARGET = jsc
3DESTDIR = .
4SOURCES = jsc.cpp
5QT -= gui
6INCLUDEPATH += $$PWD \
7 $$PWD/parser \
8 $$PWD/bindings \
9 $$PWD/bindings/c \
10 $$PWD/wtf \
11 $$PWD/jit \
12 $$PWD/bytecode
13CONFIG -= app_bundle
14DEFINES += BUILDING_QT__
15CONFIG += building-libs
16
17CONFIG(release) {
18 DEFINES += NDEBUG USE_SYSTEM_MALLOC
19}
20
21include($$PWD/../WebKit.pri)
22
23CONFIG += link_pkgconfig
24
25QMAKE_RPATHDIR += $$OUTPUT_DIR/lib
26
27isEmpty(OUTPUT_DIR):OUTPUT_DIR=$$PWD/..
28include($$OUTPUT_DIR/config.pri)
29OBJECTS_DIR = tmp
30OBJECTS_DIR_WTR = $$OBJECTS_DIR/
31win32-*: OBJECTS_DIR_WTR ~= s|/|\|
32include($$PWD/JavaScriptCore.pri)
33
34lessThan(QT_MINOR_VERSION, 4) {
35 DEFINES += QT_BEGIN_NAMESPACE="" QT_END_NAMESPACE=""
36}
37
38*-g++*:QMAKE_CXXFLAGS_RELEASE -= -O2
39*-g++*:QMAKE_CXXFLAGS_RELEASE += -O3