[Qt][Win] One more speculative buildfix after r105970.
[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/parser \
24     $$SOURCE_DIR/profiler \
25     $$SOURCE_DIR/runtime \
26     $$SOURCE_DIR/yarr \
27     $$SOURCE_DIR/API \
28     $$SOURCE_DIR/ForwardingHeaders \
29     $$JAVASCRIPTCORE_GENERATED_SOURCES_DIR
30
31 win32-* {
32     DEFINES += _HAS_TR1=0
33     LIBS += -lwinmm
34
35     win32-g++* {
36         LIBS += -lpthreadGC2
37     } else:win32-msvc* {
38         LIBS += -lpthreadVC2
39     }
40 }
41
42 wince* {
43     INCLUDEPATH += $$QT_SOURCE_TREE/src/3rdparty/ce-compat
44     INCLUDEPATH += $$SOURCE_DIR/os-win32
45 }