eeace1764989db149025f93d9d85996d68ed6ac9
[WebKit-https.git] / Source / JavaScriptCore / JavaScriptCore.pri
1 # -------------------------------------------------------------------
2 # This file contains shared rules used both when building
3 # JavaScriptCore itself, and by targets that use JavaScriptCore.
4 #
5 # See 'Tools/qmake/README' for an overview of the build system
6 # -------------------------------------------------------------------
7
8 SOURCE_DIR = $${ROOT_WEBKIT_DIR}/Source/JavaScriptCore
9
10 JAVASCRIPTCORE_GENERATED_SOURCES_DIR = $${ROOT_BUILD_DIR}/Source/JavaScriptCore/$${GENERATED_SOURCES_DESTDIR}
11
12 INCLUDEPATH += \
13     $$SOURCE_DIR \
14     $$SOURCE_DIR/.. \
15     $$SOURCE_DIR/assembler \
16     $$SOURCE_DIR/bytecode \
17     $$SOURCE_DIR/bytecompiler \
18     $$SOURCE_DIR/heap \
19     $$SOURCE_DIR/dfg \
20     $$SOURCE_DIR/debugger \
21     $$SOURCE_DIR/interpreter \
22     $$SOURCE_DIR/jit \
23     $$SOURCE_DIR/llint \
24     $$SOURCE_DIR/parser \
25     $$SOURCE_DIR/profiler \
26     $$SOURCE_DIR/runtime \
27     $$SOURCE_DIR/tools \
28     $$SOURCE_DIR/yarr \
29     $$SOURCE_DIR/API \
30     $$SOURCE_DIR/ForwardingHeaders \
31     $$JAVASCRIPTCORE_GENERATED_SOURCES_DIR
32
33 win32-* {
34     LIBS += -lwinmm
35
36     win32-g++* {
37         LIBS += -lpthreadGC2
38     } else:win32-msvc* {
39         LIBS += -lpthreadVC2
40     }
41 }
42
43 wince* {
44     INCLUDEPATH += $$QT_SOURCE_TREE/src/3rdparty/ce-compat
45     INCLUDEPATH += $$SOURCE_DIR/os-win32
46 }