7 CONFIG += building-libs
9 isEmpty(JSC_GENERATED_SOURCES_DIR):JSC_GENERATED_SOURCES_DIR = ../../generated
10 CONFIG(debug, debug|release) {
11 OBJECTS_DIR = obj/debug
13 OBJECTS_DIR = obj/release
16 isEmpty(OUTPUT_DIR): OUTPUT_DIR = ../../..
17 include($$PWD/../../../WebKit.pri)
19 include($$PWD/../../JavaScriptCore.pri)
20 addJavaScriptCoreLib(../..)
22 INCLUDEPATH += $$PWD/../../API
24 SOURCES += $$PWD/qscriptengine.cpp \
25 $$PWD/qscriptengine_p.cpp \
26 $$PWD/qscriptvalue.cpp \
27 $$PWD/qscriptstring.cpp \
28 $$PWD/qscriptprogram.cpp \
29 $$PWD/qscriptsyntaxcheckresult.cpp \
31 HEADERS += $$PWD/qtscriptglobal.h \
32 $$PWD/qscriptengine.h \
33 $$PWD/qscriptengine_p.h \
34 $$PWD/qscriptvalue.h \
35 $$PWD/qscriptvalue_p.h \
36 $$PWD/qscriptconverter_p.h \
37 $$PWD/qscriptstring.h \
38 $$PWD/qscriptstring_p.h \
39 $$PWD/qscriptprogram.h \
40 $$PWD/qscriptprogram_p.h \
41 $$PWD/qscriptsyntaxcheckresult.h \
44 !static: DEFINES += QT_MAKEDLL
46 DESTDIR = $$OUTPUT_DIR/lib