X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/9dae56ea45a0f5f8136a5c93d6f3a7f99399ca73..1981f5dfe8d77d97469d20652f712a09400c48ed:/jsc.pro diff --git a/jsc.pro b/jsc.pro index 6262e62..123362f 100644 --- 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 + TARGET = jsc -DESTDIR = . -SOURCES = jsc.cpp +DESTDIR = $${ROOT_BUILD_DIR}/bin + 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 +