1 # -------------------------------------------------------------------
2 # Project file for the LLIntOffsetsExtractor binary, used to generate
3 # derived sources for JavaScriptCore.
5 # See 'Tools/qmake/README' for an overview of the build system
6 # -------------------------------------------------------------------
9 TARGET = LLIntOffsetsExtractor
12 CONFIG += force_build_all
16 # Don't try to link against any Qt libraries, but at least
17 # pull in include paths as we include qglobal.h.
18 INCLUDEPATH += $$QT.core.includes
23 defineTest(addIncludePaths) {
24 # Just needed for include paths
25 include(JavaScriptCore.pri)
26 include(../WTF/WTF.pri)
34 $$PWD/llint/LowLevelInterpreter.asm \
35 $$PWD/llint/LowLevelInterpreter32_64.asm \
36 $$PWD/llint/LowLevelInterpreter64.asm \
37 $$PWD/offlineasm/arm.rb \
38 $$PWD/offlineasm/ast.rb \
39 $$PWD/offlineasm/backends.rb \
40 $$PWD/offlineasm/generate_offset_extractor.rb \
41 $$PWD/offlineasm/instructions.rb \
42 $$PWD/offlineasm/offsets.rb \
43 $$PWD/offlineasm/opt.rb \
44 $$PWD/offlineasm/parser.rb \
45 $$PWD/offlineasm/registers.rb \
46 $$PWD/offlineasm/self_hash.rb \
47 $$PWD/offlineasm/settings.rb \
48 $$PWD/offlineasm/transform.rb \
49 $$PWD/offlineasm/x86.rb
51 INPUT_FILES = $$PWD/llint/LowLevelInterpreter.asm
52 llint.output = LLIntDesiredOffsets.h
53 llint.script = $$PWD/offlineasm/generate_offset_extractor.rb
54 llint.input = INPUT_FILES
55 llint.depends = $$LLINT_DEPENDENCY
56 llint.commands = ruby $$llint.script ${QMAKE_FILE_NAME} ${QMAKE_FILE_OUT}
57 llint.CONFIG += no_link
58 QMAKE_EXTRA_COMPILERS += llint
61 DESTDIR = $$targetSubDir()
62 llint.output = $$targetSubDir()/$$llint.output
63 INCLUDEPATH += $$targetSubDir()
66 # Compilation of this file will automatically depend on LLIntDesiredOffsets.h
67 # due to qmake scanning the source file for header dependencies.
68 SOURCES = llint/LLIntOffsetsExtractor.cpp
70 mac: LIBS_PRIVATE += -framework AppKit