]> git.saurik.com Git - apple/javascriptcore.git/blobdiff - jsc.pro
JavaScriptCore-1097.3.3.tar.gz
[apple/javascriptcore.git] / jsc.pro
diff --git a/jsc.pro b/jsc.pro
index 6262e627fe285c1cb1f6484a90638ea2930e9a25..123362faaed233ae202b8fb03dc010839e4101e8 100644 (file)
--- a/jsc.pro
+++ b/jsc.pro
@@ -1,39 +1,37 @@
+# -------------------------------------------------------------------
+# Project file for the jsc binary (interactive interpreter)
+#
+# See 'Tools/qmake/README' for an overview of the build system
+# -------------------------------------------------------------------
+
 TEMPLATE = app
 TEMPLATE = app
+
 TARGET = jsc
 TARGET = jsc
-DESTDIR = .
-SOURCES = jsc.cpp
+DESTDIR = $${ROOT_BUILD_DIR}/bin
+
 QT -= gui
 QT -= gui
-INCLUDEPATH += $$PWD \
-    $$PWD/parser \
-    $$PWD/bindings \
-    $$PWD/bindings/c \
-    $$PWD/wtf \
-    $$PWD/jit \
-    $$PWD/bytecode
-CONFIG -= app_bundle
-DEFINES += BUILDING_QT__
-CONFIG += building-libs
-
-CONFIG(release) {
-    DEFINES += NDEBUG USE_SYSTEM_MALLOC
-}
 
 
-include($$PWD/../WebKit.pri)
+win32-*: CONFIG += console
+win32-msvc*: CONFIG += exceptions_off stl_off
+win32-msvc*|win32-icc: INCLUDEPATH += $$ROOT_WEBKIT_DIR/Source/JavaScriptCore/os-win32
 
 
-CONFIG += link_pkgconfig
+WEBKIT += javascriptcore wtf
 
 
-QMAKE_RPATHDIR += $$OUTPUT_DIR/lib
+SOURCES = jsc.cpp
 
 
-isEmpty(OUTPUT_DIR):OUTPUT_DIR=$$PWD/..
-include($$OUTPUT_DIR/config.pri)
-OBJECTS_DIR = tmp
-OBJECTS_DIR_WTR = $$OBJECTS_DIR/
-win32-*: OBJECTS_DIR_WTR ~= s|/|\|
-include($$PWD/JavaScriptCore.pri)
+mac {
+    LIBS_PRIVATE += -framework AppKit
+}
 
 
-lessThan(QT_MINOR_VERSION, 4) {
-    DEFINES += QT_BEGIN_NAMESPACE="" QT_END_NAMESPACE=""
+win* {
+    LIBS += -ladvapi32
 }
 
 }
 
-*-g++*:QMAKE_CXXFLAGS_RELEASE -= -O2
-*-g++*:QMAKE_CXXFLAGS_RELEASE += -O3
+wince* {
+    LIBS += mmtimer.lib
+}
+
+# Prevent warnings about difference in visibility on Mac OS X
+contains(QT_CONFIG, reduce_exports):CONFIG += hide_symbols
+unix:contains(QT_CONFIG, reduce_relocations):CONFIG += bsymbolic_functions
+