source: webkit/trunk/JavaScriptCore/JavaScriptCore.pro@ 56700

Last change on this file since 56700 was 56700, checked in by [email protected], 15 years ago

2010-03-28 Laszlo Gombos <Laszlo Gombos>

Reviewed by Simon Hausmann.

[Qt] Remove the definition of WTF_CHANGES guards from the build system
https://bugs.webkit.org/show_bug.cgi?id=31670

  • JavaScriptCore.pro: Remove the definition of WTF_CHANGES as it is already defined in config.h

2010-03-28 Laszlo Gombos <Laszlo Gombos>

Reviewed by Simon Hausmann.

[Qt] Remove the definition of WTF_CHANGES guards from the build system
https://bugs.webkit.org/show_bug.cgi?id=31670

No new tests as there is no new functionality.

  • WebCore.pri: Remove the definition of WTF_CHANGES as it is already defined in config.h
File size: 6.2 KB
Line 
1# JavaScriptCore - qmake build info
2CONFIG += building-libs
3include($$PWD/../WebKit.pri)
4include(JavaScriptCore.pri)
5
6TEMPLATE = lib
7CONFIG += staticlib
8# Don't use JavaScriptCore as the target name. qmake would create a JavaScriptCore.vcproj for msvc
9# which already exists as a directory
10TARGET = $$JAVASCRIPTCORE_TARGET
11QT += core
12
13CONFIG += depend_includepath
14
15contains(QT_CONFIG, embedded):CONFIG += embedded
16
17!CONFIG(QTDIR_build) {
18 CONFIG(debug, debug|release) {
19 OBJECTS_DIR = obj/debug
20 } else { # Release
21 OBJECTS_DIR = obj/release
22 }
23}
24
25CONFIG(QTDIR_build) {
26 # Remove the following 2 lines if you want debug information in JavaScriptCore
27 CONFIG -= separate_debug_info
28 CONFIG += no_debug_info
29}
30
31# Pick up 3rdparty libraries from INCLUDE/LIB just like with MSVC
32win32-g++ {
33 TMPPATH = $$quote($$(INCLUDE))
34 QMAKE_INCDIR_POST += $$split(TMPPATH,";")
35 TMPPATH = $$quote($$(LIB))
36 QMAKE_LIBDIR_POST += $$split(TMPPATH,";")
37}
38
39*-g++*:QMAKE_CXXFLAGS_RELEASE -= -O2
40*-g++*:QMAKE_CXXFLAGS_RELEASE += -O3
41
42# Rules when JIT enabled (not disabled)
43!contains(DEFINES, ENABLE_JIT=0) {
44 linux*-g++*:greaterThan(QT_GCC_MAJOR_VERSION,3):greaterThan(QT_GCC_MINOR_VERSION,0) {
45 QMAKE_CXXFLAGS += -fno-stack-protector
46 QMAKE_CFLAGS += -fno-stack-protector
47 }
48}
49
50wince* {
51 SOURCES += $$QT_SOURCE_TREE/src/3rdparty/ce-compat/ce_time.c
52}
53
54include(pcre/pcre.pri)
55
56SOURCES += \
57 API/JSBase.cpp \
58 API/JSCallbackConstructor.cpp \
59 API/JSCallbackFunction.cpp \
60 API/JSCallbackObject.cpp \
61 API/JSClassRef.cpp \
62 API/JSContextRef.cpp \
63 API/JSObjectRef.cpp \
64 API/JSStringRef.cpp \
65 API/JSValueRef.cpp \
66 API/OpaqueJSString.cpp \
67 assembler/ARMAssembler.cpp \
68 assembler/MacroAssemblerARM.cpp \
69 bytecode/CodeBlock.cpp \
70 bytecode/JumpTable.cpp \
71 bytecode/Opcode.cpp \
72 bytecode/SamplingTool.cpp \
73 bytecode/StructureStubInfo.cpp \
74 bytecompiler/BytecodeGenerator.cpp \
75 bytecompiler/NodesCodegen.cpp \
76 debugger/DebuggerActivation.cpp \
77 debugger/DebuggerCallFrame.cpp \
78 debugger/Debugger.cpp \
79 interpreter/CallFrame.cpp \
80 interpreter/Interpreter.cpp \
81 interpreter/RegisterFile.cpp \
82 jit/ExecutableAllocatorFixedVMPool.cpp \
83 jit/ExecutableAllocatorPosix.cpp \
84 jit/ExecutableAllocatorSymbian.cpp \
85 jit/ExecutableAllocatorWin.cpp \
86 jit/ExecutableAllocator.cpp \
87 jit/JITArithmetic.cpp \
88 jit/JITCall.cpp \
89 jit/JIT.cpp \
90 jit/JITOpcodes.cpp \
91 jit/JITPropertyAccess.cpp \
92 jit/JITPropertyAccess32_64.cpp \
93 jit/JITStubs.cpp \
94 parser/Lexer.cpp \
95 parser/Nodes.cpp \
96 parser/ParserArena.cpp \
97 parser/Parser.cpp \
98 profiler/Profile.cpp \
99 profiler/ProfileGenerator.cpp \
100 profiler/ProfileNode.cpp \
101 profiler/Profiler.cpp \
102 runtime/ArgList.cpp \
103 runtime/Arguments.cpp \
104 runtime/ArrayConstructor.cpp \
105 runtime/ArrayPrototype.cpp \
106 runtime/BooleanConstructor.cpp \
107 runtime/BooleanObject.cpp \
108 runtime/BooleanPrototype.cpp \
109 runtime/CallData.cpp \
110 runtime/Collector.cpp \
111 runtime/CommonIdentifiers.cpp \
112 runtime/Completion.cpp \
113 runtime/ConstructData.cpp \
114 runtime/DateConstructor.cpp \
115 runtime/DateConversion.cpp \
116 runtime/DateInstance.cpp \
117 runtime/DatePrototype.cpp \
118 runtime/ErrorConstructor.cpp \
119 runtime/Error.cpp \
120 runtime/ErrorInstance.cpp \
121 runtime/ErrorPrototype.cpp \
122 runtime/ExceptionHelpers.cpp \
123 runtime/Executable.cpp \
124 runtime/FunctionConstructor.cpp \
125 runtime/FunctionPrototype.cpp \
126 runtime/GetterSetter.cpp \
127 runtime/GlobalEvalFunction.cpp \
128 runtime/Identifier.cpp \
129 runtime/InitializeThreading.cpp \
130 runtime/InternalFunction.cpp \
131 runtime/JSActivation.cpp \
132 runtime/JSAPIValueWrapper.cpp \
133 runtime/JSArray.cpp \
134 runtime/JSByteArray.cpp \
135 runtime/JSCell.cpp \
136 runtime/JSFunction.cpp \
137 runtime/JSGlobalData.cpp \
138 runtime/JSGlobalObject.cpp \
139 runtime/JSGlobalObjectFunctions.cpp \
140 runtime/JSImmediate.cpp \
141 runtime/JSLock.cpp \
142 runtime/JSNotAnObject.cpp \
143 runtime/JSNumberCell.cpp \
144 runtime/JSObject.cpp \
145 runtime/JSONObject.cpp \
146 runtime/JSPropertyNameIterator.cpp \
147 runtime/JSStaticScopeObject.cpp \
148 runtime/JSString.cpp \
149 runtime/JSValue.cpp \
150 runtime/JSVariableObject.cpp \
151 runtime/JSWrapperObject.cpp \
152 runtime/LiteralParser.cpp \
153 runtime/Lookup.cpp \
154 runtime/MarkStackPosix.cpp \
155 runtime/MarkStackSymbian.cpp \
156 runtime/MarkStackWin.cpp \
157 runtime/MarkStack.cpp \
158 runtime/MathObject.cpp \
159 runtime/NativeErrorConstructor.cpp \
160 runtime/NativeErrorPrototype.cpp \
161 runtime/NumberConstructor.cpp \
162 runtime/NumberObject.cpp \
163 runtime/NumberPrototype.cpp \
164 runtime/ObjectConstructor.cpp \
165 runtime/ObjectPrototype.cpp \
166 runtime/Operations.cpp \
167 runtime/PropertyDescriptor.cpp \
168 runtime/PropertyNameArray.cpp \
169 runtime/PropertySlot.cpp \
170 runtime/PrototypeFunction.cpp \
171 runtime/RegExpConstructor.cpp \
172 runtime/RegExp.cpp \
173 runtime/RegExpObject.cpp \
174 runtime/RegExpPrototype.cpp \
175 runtime/ScopeChain.cpp \
176 runtime/SmallStrings.cpp \
177 runtime/StringConstructor.cpp \
178 runtime/StringObject.cpp \
179 runtime/StringPrototype.cpp \
180 runtime/StructureChain.cpp \
181 runtime/Structure.cpp \
182 runtime/TimeoutChecker.cpp \
183 runtime/UString.cpp \
184 runtime/UStringImpl.cpp \
185 wtf/Assertions.cpp \
186 wtf/ByteArray.cpp \
187 wtf/CurrentTime.cpp \
188 wtf/DateMath.cpp \
189 wtf/dtoa.cpp \
190 wtf/FastMalloc.cpp \
191 wtf/HashTable.cpp \
192 wtf/MainThread.cpp \
193 wtf/qt/MainThreadQt.cpp \
194 wtf/qt/ThreadingQt.cpp \
195 wtf/RandomNumber.cpp \
196 wtf/RefCountedLeakCounter.cpp \
197 wtf/symbian/BlockAllocatorSymbian.cpp \
198 wtf/ThreadingNone.cpp \
199 wtf/Threading.cpp \
200 wtf/TypeTraits.cpp \
201 wtf/unicode/CollatorDefault.cpp \
202 wtf/unicode/icu/CollatorICU.cpp \
203 wtf/unicode/UTF8.cpp \
204 yarr/RegexCompiler.cpp \
205 yarr/RegexInterpreter.cpp \
206 yarr/RegexJIT.cpp
207
208# Generated files, simply list them for JavaScriptCore
209SOURCES += \
210 $${JSC_GENERATED_SOURCES_DIR}/Grammar.cpp
211
212!contains(DEFINES, USE_SYSTEM_MALLOC) {
213 SOURCES += wtf/TCSystemAlloc.cpp
214}
Note: See TracBrowser for help on using the repository browser.