1TARGET = QtScript 2TEMPLATE = lib 3QT = core 4 5INCLUDEPATH += $$PWD 6 7CONFIG += building-libs 8 9isEmpty(JSC_GENERATED_SOURCES_DIR):JSC_GENERATED_SOURCES_DIR = ../../generated 10 11isEmpty(OUTPUT_DIR): OUTPUT_DIR = ../../.. 12include($$PWD/../../../WebKit.pri) 13 14include($$PWD/../../JavaScriptCore.pri) 15prependJavaScriptCoreLib(../..) 16 17INCLUDEPATH += $$PWD/../../API 18 19SOURCES += $$PWD/qscriptengine.cpp \ 20 $$PWD/qscriptengine_p.cpp \ 21 $$PWD/qscriptvalue.cpp \ 22 $$PWD/qscriptvalueiterator.cpp \ 23 $$PWD/qscriptstring.cpp \ 24 $$PWD/qscriptprogram.cpp \ 25 $$PWD/qscriptsyntaxcheckresult.cpp \ 26 $$PWD/qscriptfunction.cpp 27 28HEADERS += $$PWD/qtscriptglobal.h \ 29 $$PWD/qscriptengine.h \ 30 $$PWD/qscriptengine_p.h \ 31 $$PWD/qscriptvalue.h \ 32 $$PWD/qscriptvalue_p.h \ 33 $$PWD/qscriptvalueiterator.h \ 34 $$PWD/qscriptvalueiterator_p.h \ 35 $$PWD/qscriptconverter_p.h \ 36 $$PWD/qscriptstring.h \ 37 $$PWD/qscriptstring_p.h \ 38 $$PWD/qscriptprogram.h \ 39 $$PWD/qscriptprogram_p.h \ 40 $$PWD/qscriptsyntaxcheckresult.h \ 41 $$PWD/qscriptoriginalglobalobject_p.h \ 42 $$PWD/qscriptfunction_p.h 43 44!static: DEFINES += QT_MAKEDLL 45 46DESTDIR = $$OUTPUT_DIR/lib 47