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

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

2010-04-22 Fumitoshi Ukai <[email protected]>

Reviewed by Adam Barth.

MD5 is required for WebSocket new protocol implementation
https://bugs.webkit.org/show_bug.cgi?id=37913

2010-04-22 Fumitoshi Ukai <[email protected]>

Reviewed by Adam Barth.

MD5 is required for WebSocket new protocol implementation
https://bugs.webkit.org/show_bug.cgi?id=37913

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