source: webkit/trunk/Source/JavaScriptCore/Target.pri@ 130303

Last change on this file since 130303 was 129760, checked in by Csaba Osztrogonác, 13 years ago

[Qt] Enable the LLInt on Linux
https://bugs.webkit.org/show_bug.cgi?id=95749

Patch by Csaba Osztrogonác <Csaba Osztrogonác>, Tor Arne Vestbø <[email protected]> on 2012-09-27
Reviewed by Simon Hausmann.

Source/JavaScriptCore:

  • DerivedSources.pri:
  • JavaScriptCore.pro:
  • LLIntOffsetsExtractor.pro: Added.
  • Target.pri:

Source/WTF:

  • wtf/Platform.h:
File size: 8.5 KB
Line 
1# -------------------------------------------------------------------
2# Target file for the JavaScriptSource library
3#
4# See 'Tools/qmake/README' for an overview of the build system
5# -------------------------------------------------------------------
6
7TEMPLATE = lib
8TARGET = JavaScriptCore
9
10include(JavaScriptCore.pri)
11
12WEBKIT += wtf
13QT += core
14QT -= gui
15
16CONFIG += staticlib
17
18*-g++*:QMAKE_CXXFLAGS_RELEASE -= -O2
19*-g++*:QMAKE_CXXFLAGS_RELEASE += -O3
20
21# Rules when JIT enabled (not disabled)
22!contains(DEFINES, ENABLE_JIT=0) {
23 linux*-g++*:greaterThan(QT_GCC_MAJOR_VERSION,3):greaterThan(QT_GCC_MINOR_VERSION,0) {
24 QMAKE_CXXFLAGS += -fno-stack-protector
25 QMAKE_CFLAGS += -fno-stack-protector
26 }
27}
28
29include(yarr/yarr.pri)
30
31INSTALLDEPS += all
32
33SOURCES += \
34 API/JSBase.cpp \
35 API/JSCallbackConstructor.cpp \
36 API/JSCallbackFunction.cpp \
37 API/JSCallbackObject.cpp \
38 API/JSClassRef.cpp \
39 API/JSContextRef.cpp \
40 API/JSObjectRef.cpp \
41 API/JSStringRef.cpp \
42 API/JSValueRef.cpp \
43 API/JSWeakObjectMapRefPrivate.cpp \
44 API/OpaqueJSString.cpp \
45 assembler/ARMAssembler.cpp \
46 assembler/ARMv7Assembler.cpp \
47 assembler/LinkBuffer.cpp \
48 assembler/MacroAssemblerARM.cpp \
49 assembler/MacroAssemblerSH4.cpp \
50 bytecode/ArrayProfile.cpp \
51 bytecode/CallLinkInfo.cpp \
52 bytecode/CallLinkStatus.cpp \
53 bytecode/CodeBlock.cpp \
54 bytecode/DFGExitProfile.cpp \
55 bytecode/ExecutionCounter.cpp \
56 bytecode/GetByIdStatus.cpp \
57 bytecode/JumpTable.cpp \
58 bytecode/LazyOperandValueProfile.cpp \
59 bytecode/MethodCallLinkInfo.cpp \
60 bytecode/MethodCallLinkStatus.cpp \
61 bytecode/MethodOfGettingAValueProfile.cpp \
62 bytecode/Opcode.cpp \
63 bytecode/PolymorphicPutByIdList.cpp \
64 bytecode/PutByIdStatus.cpp \
65 bytecode/ResolveGlobalStatus.cpp \
66 bytecode/SamplingTool.cpp \
67 bytecode/SpecialPointer.cpp \
68 bytecode/SpeculatedType.cpp \
69 bytecode/StructureStubClearingWatchpoint.cpp \
70 bytecode/StructureStubInfo.cpp \
71 bytecode/Watchpoint.cpp \
72 bytecompiler/BytecodeGenerator.cpp \
73 bytecompiler/NodesCodegen.cpp \
74 heap/CopiedSpace.cpp \
75 heap/ConservativeRoots.cpp \
76 heap/DFGCodeBlocks.cpp \
77 heap/WeakSet.cpp \
78 heap/WeakHandleOwner.cpp \
79 heap/WeakBlock.cpp \
80 heap/HandleSet.cpp \
81 heap/HandleStack.cpp \
82 heap/BlockAllocator.cpp \
83 heap/GCThreadSharedData.cpp \
84 heap/Heap.cpp \
85 heap/HeapTimer.cpp \
86 heap/IncrementalSweeper.cpp \
87 heap/JITStubRoutineSet.cpp \
88 heap/MachineStackMarker.cpp \
89 heap/MarkStack.cpp \
90 heap/MarkedAllocator.cpp \
91 heap/MarkedBlock.cpp \
92 heap/MarkedSpace.cpp \
93 heap/SlotVisitor.cpp \
94 heap/VTableSpectrum.cpp \
95 heap/WriteBarrierSupport.cpp \
96 debugger/DebuggerActivation.cpp \
97 debugger/DebuggerCallFrame.cpp \
98 debugger/Debugger.cpp \
99 dfg/DFGAbstractState.cpp \
100 dfg/DFGArgumentsSimplificationPhase.cpp \
101 dfg/DFGArrayMode.cpp \
102 dfg/DFGAssemblyHelpers.cpp \
103 dfg/DFGByteCodeParser.cpp \
104 dfg/DFGCapabilities.cpp \
105 dfg/DFGCFAPhase.cpp \
106 dfg/DFGCFGSimplificationPhase.cpp \
107 dfg/DFGConstantFoldingPhase.cpp \
108 dfg/DFGCorrectableJumpPoint.cpp \
109 dfg/DFGCSEPhase.cpp \
110 dfg/DFGDisassembler.cpp \
111 dfg/DFGDominators.cpp \
112 dfg/DFGDriver.cpp \
113 dfg/DFGFixupPhase.cpp \
114 dfg/DFGGraph.cpp \
115 dfg/DFGJITCompiler.cpp \
116 dfg/DFGMinifiedNode.cpp \
117 dfg/DFGNodeFlags.cpp \
118 dfg/DFGOperations.cpp \
119 dfg/DFGOSREntry.cpp \
120 dfg/DFGOSRExit.cpp \
121 dfg/DFGOSRExitCompiler.cpp \
122 dfg/DFGOSRExitCompiler64.cpp \
123 dfg/DFGOSRExitCompiler32_64.cpp \
124 dfg/DFGPhase.cpp \
125 dfg/DFGPredictionPropagationPhase.cpp \
126 dfg/DFGRepatch.cpp \
127 dfg/DFGSpeculativeJIT.cpp \
128 dfg/DFGSpeculativeJIT32_64.cpp \
129 dfg/DFGSpeculativeJIT64.cpp \
130 dfg/DFGStructureCheckHoistingPhase.cpp \
131 dfg/DFGThunks.cpp \
132 dfg/DFGValueSource.cpp \
133 dfg/DFGVariableEvent.cpp \
134 dfg/DFGVariableEventStream.cpp \
135 dfg/DFGValidate.cpp \
136 dfg/DFGVirtualRegisterAllocationPhase.cpp \
137 interpreter/AbstractPC.cpp \
138 interpreter/CallFrame.cpp \
139 interpreter/Interpreter.cpp \
140 interpreter/RegisterFile.cpp \
141 jit/ExecutableAllocatorFixedVMPool.cpp \
142 jit/ExecutableAllocator.cpp \
143 jit/HostCallReturnValue.cpp \
144 jit/GCAwareJITStubRoutine.cpp \
145 jit/JITArithmetic.cpp \
146 jit/JITArithmetic32_64.cpp \
147 jit/JITCall.cpp \
148 jit/JITCall32_64.cpp \
149 jit/JIT.cpp \
150 jit/JITExceptions.cpp \
151 jit/JITOpcodes.cpp \
152 jit/JITOpcodes32_64.cpp \
153 jit/JITPropertyAccess.cpp \
154 jit/JITPropertyAccess32_64.cpp \
155 jit/JITStubRoutine.cpp \
156 jit/JITStubs.cpp \
157 jit/JumpReplacementWatchpoint.cpp \
158 jit/ThunkGenerators.cpp \
159 llint/LLIntCLoop.cpp \
160 llint/LLIntData.cpp \
161 llint/LLIntEntrypoints.cpp \
162 llint/LLIntExceptions.cpp \
163 llint/LLIntSlowPaths.cpp \
164 llint/LLIntThunks.cpp \
165 llint/LowLevelInterpreter.cpp \
166 parser/Lexer.cpp \
167 parser/Nodes.cpp \
168 parser/ParserArena.cpp \
169 parser/Parser.cpp \
170 parser/SourceProviderCache.cpp \
171 profiler/Profile.cpp \
172 profiler/ProfileGenerator.cpp \
173 profiler/ProfileNode.cpp \
174 profiler/Profiler.cpp \
175 runtime/ArgList.cpp \
176 runtime/Arguments.cpp \
177 runtime/ArrayConstructor.cpp \
178 runtime/ArrayPrototype.cpp \
179 runtime/BooleanConstructor.cpp \
180 runtime/BooleanObject.cpp \
181 runtime/BooleanPrototype.cpp \
182 runtime/CallData.cpp \
183 runtime/CommonIdentifiers.cpp \
184 runtime/Completion.cpp \
185 runtime/ConstructData.cpp \
186 runtime/DateConstructor.cpp \
187 runtime/DateConversion.cpp \
188 runtime/DateInstance.cpp \
189 runtime/DatePrototype.cpp \
190 runtime/ErrorConstructor.cpp \
191 runtime/Error.cpp \
192 runtime/ErrorInstance.cpp \
193 runtime/ErrorPrototype.cpp \
194 runtime/ExceptionHelpers.cpp \
195 runtime/Executable.cpp \
196 runtime/FunctionConstructor.cpp \
197 runtime/FunctionPrototype.cpp \
198 runtime/GCActivityCallback.cpp \
199 runtime/GetterSetter.cpp \
200 runtime/Options.cpp \
201 runtime/Identifier.cpp \
202 runtime/InitializeThreading.cpp \
203 runtime/InternalFunction.cpp \
204 runtime/JSActivation.cpp \
205 runtime/JSAPIValueWrapper.cpp \
206 runtime/JSArray.cpp \
207 runtime/JSCell.cpp \
208 runtime/JSDateMath.cpp \
209 runtime/JSFunction.cpp \
210 runtime/JSBoundFunction.cpp \
211 runtime/JSGlobalData.cpp \
212 runtime/JSGlobalObject.cpp \
213 runtime/JSGlobalObjectFunctions.cpp \
214 runtime/JSProxy.cpp \
215 runtime/JSLock.cpp \
216 runtime/JSNotAnObject.cpp \
217 runtime/JSObject.cpp \
218 runtime/JSONObject.cpp \
219 runtime/JSPropertyNameIterator.cpp \
220 runtime/JSSegmentedVariableObject.cpp \
221 runtime/JSWithScope.cpp \
222 runtime/JSNameScope.cpp \
223 runtime/JSScope.cpp \
224 runtime/JSString.cpp \
225 runtime/JSStringJoiner.cpp \
226 runtime/JSSymbolTableObject.cpp \
227 runtime/JSValue.cpp \
228 runtime/JSVariableObject.cpp \
229 runtime/JSWrapperObject.cpp \
230 runtime/LiteralParser.cpp \
231 runtime/Lookup.cpp \
232 runtime/MathObject.cpp \
233 runtime/MemoryStatistics.cpp \
234 runtime/NameConstructor.cpp \
235 runtime/NameInstance.cpp \
236 runtime/NamePrototype.cpp \
237 runtime/NativeErrorConstructor.cpp \
238 runtime/NativeErrorPrototype.cpp \
239 runtime/NumberConstructor.cpp \
240 runtime/NumberObject.cpp \
241 runtime/NumberPrototype.cpp \
242 runtime/ObjectConstructor.cpp \
243 runtime/ObjectPrototype.cpp \
244 runtime/Operations.cpp \
245 runtime/PropertyDescriptor.cpp \
246 runtime/PropertyNameArray.cpp \
247 runtime/PropertySlot.cpp \
248 runtime/RegExpConstructor.cpp \
249 runtime/RegExpCachedResult.cpp \
250 runtime/RegExpMatchesArray.cpp \
251 runtime/RegExp.cpp \
252 runtime/RegExpObject.cpp \
253 runtime/RegExpPrototype.cpp \
254 runtime/RegExpCache.cpp \
255 runtime/SamplingCounter.cpp \
256 runtime/SmallStrings.cpp \
257 runtime/SparseArrayValueMap.cpp \
258 runtime/StrictEvalActivation.cpp \
259 runtime/StringConstructor.cpp \
260 runtime/StringObject.cpp \
261 runtime/StringPrototype.cpp \
262 runtime/StringRecursionChecker.cpp \
263 runtime/StructureChain.cpp \
264 runtime/Structure.cpp \
265 runtime/SymbolTable.cpp \
266 runtime/TimeoutChecker.cpp \
267 tools/CodeProfile.cpp \
268 tools/CodeProfiling.cpp \
269 yarr/YarrJIT.cpp \
270
271HEADERS += $$files(*.h, true)
272
273*sh4* {
274 QMAKE_CXXFLAGS += -mieee -w
275 QMAKE_CFLAGS += -mieee -w
276}
277
278lessThan(QT_GCC_MAJOR_VERSION, 5) {
279 # GCC 4.5 and before
280 lessThan(QT_GCC_MINOR_VERSION, 6) {
281 # Disable C++0x mode in JSC for those who enabled it in their Qt's mkspec.
282 *-g++*:QMAKE_CXXFLAGS -= -std=c++0x -std=gnu++0x
283 }
284}
Note: See TracBrowser for help on using the repository browser.