]> git.saurik.com Git - apple/javascriptcore.git/blob - GNUmakefile.am
JavaScriptCore-721.26.tar.gz
[apple/javascriptcore.git] / GNUmakefile.am
1 javascriptcore_cppflags += \
2 -I$(srcdir)/JavaScriptCore \
3 -I$(srcdir)/JavaScriptCore/API \
4 -I$(srcdir)/JavaScriptCore/ForwardingHeaders \
5 -I$(srcdir)/JavaScriptCore/interpreter \
6 -I$(srcdir)/JavaScriptCore/bytecode \
7 -I$(srcdir)/JavaScriptCore/bytecompiler \
8 -I$(srcdir)/JavaScriptCore/debugger \
9 -I$(srcdir)/JavaScriptCore/jit \
10 -I$(srcdir)/JavaScriptCore/pcre \
11 -I$(srcdir)/JavaScriptCore/profiler \
12 -I$(srcdir)/JavaScriptCore/runtime \
13 -I$(srcdir)/JavaScriptCore/jit \
14 -I$(srcdir)/JavaScriptCore/assembler \
15 -I$(srcdir)/JavaScriptCore/wtf \
16 -I$(srcdir)/JavaScriptCore/wtf/text \
17 -I$(srcdir)/JavaScriptCore/wtf/unicode \
18 -I$(srcdir)/JavaScriptCore/yarr \
19 -I$(top_builddir)/JavaScriptCore \
20 -I$(top_builddir)/JavaScriptCore/pcre \
21 -I$(top_builddir)/JavaScriptCore/parser \
22 -I$(top_builddir)/JavaScriptCore/runtime
23
24 javascriptcore_h_api += \
25 JavaScriptCore/API/JSBase.h \
26 JavaScriptCore/API/JSContextRef.h \
27 JavaScriptCore/API/JSObjectRef.h \
28 JavaScriptCore/API/JSStringRef.h \
29 JavaScriptCore/API/JSStringRefBSTR.h \
30 JavaScriptCore/API/JSStringRefCF.h \
31 JavaScriptCore/API/JSValueRef.h \
32 JavaScriptCore/API/JavaScript.h \
33 JavaScriptCore/API/JavaScriptCore.h \
34 JavaScriptCore/API/WebKitAvailability.h
35
36 javascriptcore_built_nosources += \
37 DerivedSources/Lexer.lut.h \
38 JavaScriptCore/RegExpJitTables.h \
39 JavaScriptCore/runtime/ArrayPrototype.lut.h \
40 JavaScriptCore/runtime/DatePrototype.lut.h \
41 JavaScriptCore/runtime/JSONObject.lut.h \
42 JavaScriptCore/runtime/MathObject.lut.h \
43 JavaScriptCore/runtime/NumberConstructor.lut.h \
44 JavaScriptCore/runtime/RegExpConstructor.lut.h \
45 JavaScriptCore/runtime/RegExpObject.lut.h \
46 JavaScriptCore/runtime/StringPrototype.lut.h \
47 JavaScriptCore/pcre/chartables.c
48
49 javascriptcore_sources += \
50 JavaScriptCore/API/APICast.h \
51 JavaScriptCore/API/APIShims.h \
52 JavaScriptCore/API/JSBase.cpp \
53 JavaScriptCore/API/JSBasePrivate.h \
54 JavaScriptCore/API/JSCallbackConstructor.cpp \
55 JavaScriptCore/API/JSCallbackConstructor.h \
56 JavaScriptCore/API/JSCallbackFunction.cpp \
57 JavaScriptCore/API/JSCallbackFunction.h \
58 JavaScriptCore/API/JSCallbackObject.cpp \
59 JavaScriptCore/API/JSCallbackObject.h \
60 JavaScriptCore/API/JSCallbackObjectFunctions.h \
61 JavaScriptCore/API/JSClassRef.cpp \
62 JavaScriptCore/API/JSClassRef.h \
63 JavaScriptCore/API/JSContextRef.cpp \
64 JavaScriptCore/API/JSContextRefPrivate.h \
65 JavaScriptCore/API/JSObjectRef.cpp \
66 JavaScriptCore/API/JSRetainPtr.h \
67 JavaScriptCore/API/JSStringRef.cpp \
68 JavaScriptCore/API/JSValueRef.cpp \
69 JavaScriptCore/API/OpaqueJSString.cpp \
70 JavaScriptCore/API/OpaqueJSString.h \
71 JavaScriptCore/ForwardingHeaders/JavaScriptCore/APICast.h \
72 JavaScriptCore/ForwardingHeaders/JavaScriptCore/JSBase.h \
73 JavaScriptCore/ForwardingHeaders/JavaScriptCore/JSContextRef.h \
74 JavaScriptCore/ForwardingHeaders/JavaScriptCore/JSObjectRef.h \
75 JavaScriptCore/ForwardingHeaders/JavaScriptCore/JSRetainPtr.h \
76 JavaScriptCore/ForwardingHeaders/JavaScriptCore/JSStringRef.h \
77 JavaScriptCore/ForwardingHeaders/JavaScriptCore/JSStringRefCF.h \
78 JavaScriptCore/ForwardingHeaders/JavaScriptCore/JSValueRef.h \
79 JavaScriptCore/ForwardingHeaders/JavaScriptCore/JavaScript.h \
80 JavaScriptCore/ForwardingHeaders/JavaScriptCore/JavaScriptCore.h \
81 JavaScriptCore/ForwardingHeaders/JavaScriptCore/OpaqueJSString.h \
82 JavaScriptCore/ForwardingHeaders/JavaScriptCore/WebKitAvailability.h \
83 JavaScriptCore/JavaScriptCorePrefix.h \
84 JavaScriptCore/jit/ExecutableAllocator.h \
85 JavaScriptCore/jit/JIT.cpp \
86 JavaScriptCore/jit/JITOpcodes.cpp \
87 JavaScriptCore/jit/JITOpcodes32_64.cpp \
88 JavaScriptCore/jit/JITCall.cpp \
89 JavaScriptCore/jit/JITCode.h \
90 JavaScriptCore/jit/JITPropertyAccess.cpp \
91 JavaScriptCore/jit/JITPropertyAccess32_64.cpp \
92 JavaScriptCore/jit/JITArithmetic.cpp \
93 JavaScriptCore/jit/JITArithmetic32_64.cpp \
94 JavaScriptCore/jit/ExecutableAllocator.cpp \
95 JavaScriptCore/jit/JIT.h \
96 JavaScriptCore/jit/JITInlineMethods.h \
97 JavaScriptCore/jit/JITStubs.cpp \
98 JavaScriptCore/jit/JITStubs.h \
99 JavaScriptCore/jit/JITStubCall.h \
100 JavaScriptCore/jit/JSInterfaceJIT.h \
101 JavaScriptCore/jit/SpecializedThunkJIT.h \
102 JavaScriptCore/jit/ThunkGenerators.cpp \
103 JavaScriptCore/jit/ThunkGenerators.h \
104 JavaScriptCore/bytecode/StructureStubInfo.cpp \
105 JavaScriptCore/bytecode/StructureStubInfo.h \
106 JavaScriptCore/bytecode/CodeBlock.cpp \
107 JavaScriptCore/bytecode/CodeBlock.h \
108 JavaScriptCore/bytecode/JumpTable.cpp \
109 JavaScriptCore/bytecode/JumpTable.h \
110 JavaScriptCore/bytecode/EvalCodeCache.h \
111 JavaScriptCore/bytecode/Instruction.h \
112 JavaScriptCore/bytecompiler/Label.h \
113 JavaScriptCore/interpreter/Interpreter.cpp \
114 JavaScriptCore/interpreter/Interpreter.h \
115 JavaScriptCore/bytecode/Opcode.cpp \
116 JavaScriptCore/bytecode/Opcode.h \
117 JavaScriptCore/interpreter/Register.h \
118 JavaScriptCore/bytecompiler/RegisterID.h \
119 JavaScriptCore/bytecode/SamplingTool.cpp \
120 JavaScriptCore/bytecode/SamplingTool.h \
121 JavaScriptCore/config.h \
122 JavaScriptCore/debugger/DebuggerActivation.cpp \
123 JavaScriptCore/debugger/DebuggerActivation.h \
124 JavaScriptCore/debugger/DebuggerCallFrame.cpp \
125 JavaScriptCore/debugger/DebuggerCallFrame.h \
126 JavaScriptCore/icu/unicode/parseerr.h \
127 JavaScriptCore/icu/unicode/platform.h \
128 JavaScriptCore/icu/unicode/putil.h \
129 JavaScriptCore/icu/unicode/uchar.h \
130 JavaScriptCore/icu/unicode/ucnv.h \
131 JavaScriptCore/icu/unicode/ucnv_err.h \
132 JavaScriptCore/icu/unicode/ucol.h \
133 JavaScriptCore/icu/unicode/uconfig.h \
134 JavaScriptCore/icu/unicode/uenum.h \
135 JavaScriptCore/icu/unicode/uiter.h \
136 JavaScriptCore/icu/unicode/uloc.h \
137 JavaScriptCore/icu/unicode/umachine.h \
138 JavaScriptCore/icu/unicode/unorm.h \
139 JavaScriptCore/icu/unicode/urename.h \
140 JavaScriptCore/icu/unicode/uset.h \
141 JavaScriptCore/icu/unicode/ustring.h \
142 JavaScriptCore/icu/unicode/utf.h \
143 JavaScriptCore/icu/unicode/utf16.h \
144 JavaScriptCore/icu/unicode/utf8.h \
145 JavaScriptCore/icu/unicode/utf_old.h \
146 JavaScriptCore/icu/unicode/utypes.h \
147 JavaScriptCore/icu/unicode/uversion.h \
148 JavaScriptCore/assembler/ARMAssembler.h \
149 JavaScriptCore/assembler/ARMAssembler.cpp \
150 JavaScriptCore/assembler/X86Assembler.h \
151 JavaScriptCore/assembler/AbstractMacroAssembler.h \
152 JavaScriptCore/assembler/AssemblerBuffer.h \
153 JavaScriptCore/assembler/AssemblerBufferWithConstantPool.h \
154 JavaScriptCore/assembler/CodeLocation.h \
155 JavaScriptCore/assembler/LinkBuffer.h \
156 JavaScriptCore/assembler/MacroAssembler.h \
157 JavaScriptCore/assembler/MacroAssemblerARM.h \
158 JavaScriptCore/assembler/MacroAssemblerARM.cpp \
159 JavaScriptCore/assembler/MacroAssemblerCodeRef.h \
160 JavaScriptCore/assembler/MacroAssemblerX86.h \
161 JavaScriptCore/assembler/MacroAssemblerX86_64.h \
162 JavaScriptCore/assembler/MacroAssemblerX86Common.h \
163 JavaScriptCore/assembler/RepatchBuffer.h \
164 JavaScriptCore/os-win32/stdbool.h \
165 JavaScriptCore/os-win32/stdint.h \
166 JavaScriptCore/pcre/pcre.h \
167 JavaScriptCore/pcre/pcre_compile.cpp \
168 JavaScriptCore/pcre/pcre_exec.cpp \
169 JavaScriptCore/pcre/pcre_internal.h \
170 JavaScriptCore/pcre/pcre_tables.cpp \
171 JavaScriptCore/pcre/pcre_ucp_searchfuncs.cpp \
172 JavaScriptCore/pcre/pcre_xclass.cpp \
173 JavaScriptCore/pcre/ucpinternal.h \
174 JavaScriptCore/profiler/CallIdentifier.h \
175 JavaScriptCore/profiler/Profile.cpp \
176 JavaScriptCore/profiler/Profile.h \
177 JavaScriptCore/profiler/ProfileGenerator.cpp \
178 JavaScriptCore/profiler/ProfileGenerator.h \
179 JavaScriptCore/profiler/ProfileNode.cpp \
180 JavaScriptCore/profiler/ProfileNode.h \
181 JavaScriptCore/profiler/Profiler.cpp \
182 JavaScriptCore/profiler/Profiler.h \
183 JavaScriptCore/interpreter/CachedCall.h \
184 JavaScriptCore/interpreter/CallFrame.cpp \
185 JavaScriptCore/interpreter/CallFrame.h \
186 JavaScriptCore/interpreter/CallFrameClosure.h \
187 JavaScriptCore/runtime/ExceptionHelpers.cpp \
188 JavaScriptCore/runtime/ExceptionHelpers.h \
189 JavaScriptCore/runtime/Executable.cpp \
190 JavaScriptCore/runtime/Executable.h \
191 JavaScriptCore/runtime/InitializeThreading.cpp \
192 JavaScriptCore/runtime/InitializeThreading.h \
193 JavaScriptCore/runtime/JSActivation.cpp \
194 JavaScriptCore/runtime/JSActivation.h \
195 JavaScriptCore/runtime/JSByteArray.cpp \
196 JavaScriptCore/runtime/JSByteArray.h \
197 JavaScriptCore/runtime/JSGlobalData.cpp \
198 JavaScriptCore/runtime/JSGlobalData.h \
199 JavaScriptCore/runtime/JSNotAnObject.cpp \
200 JavaScriptCore/runtime/JSNotAnObject.h \
201 JavaScriptCore/runtime/JSONObject.cpp \
202 JavaScriptCore/runtime/JSONObject.h \
203 JavaScriptCore/runtime/JSPropertyNameIterator.cpp \
204 JavaScriptCore/runtime/JSPropertyNameIterator.h \
205 JavaScriptCore/runtime/JSStringBuilder.h \
206 JavaScriptCore/runtime/JSZombie.h \
207 JavaScriptCore/runtime/LiteralParser.cpp \
208 JavaScriptCore/runtime/LiteralParser.h \
209 JavaScriptCore/runtime/MarkStack.cpp \
210 JavaScriptCore/runtime/MarkStack.h \
211 JavaScriptCore/runtime/NumericStrings.h \
212 JavaScriptCore/runtime/PropertyDescriptor.h \
213 JavaScriptCore/runtime/PropertyDescriptor.cpp \
214 JavaScriptCore/runtime/SmallStrings.cpp \
215 JavaScriptCore/runtime/SmallStrings.h \
216 JavaScriptCore/runtime/StringBuilder.h \
217 JavaScriptCore/runtime/Structure.cpp \
218 JavaScriptCore/runtime/Structure.h \
219 JavaScriptCore/runtime/StructureChain.cpp \
220 JavaScriptCore/runtime/StructureChain.h \
221 JavaScriptCore/runtime/StructureTransitionTable.h \
222 JavaScriptCore/runtime/Terminator.h \
223 JavaScriptCore/runtime/TimeoutChecker.cpp \
224 JavaScriptCore/runtime/TimeoutChecker.h \
225 JavaScriptCore/runtime/JSTypeInfo.h \
226 JavaScriptCore/runtime/WeakGCMap.h \
227 JavaScriptCore/runtime/WeakGCPtr.h \
228 JavaScriptCore/wtf/ASCIICType.h \
229 JavaScriptCore/wtf/AVLTree.h \
230 JavaScriptCore/wtf/AlwaysInline.h \
231 JavaScriptCore/wtf/Assertions.cpp \
232 JavaScriptCore/wtf/Assertions.h \
233 JavaScriptCore/wtf/Atomics.h \
234 JavaScriptCore/wtf/ByteArray.cpp \
235 JavaScriptCore/wtf/ByteArray.h \
236 JavaScriptCore/wtf/CrossThreadRefCounted.h \
237 JavaScriptCore/wtf/CurrentTime.cpp \
238 JavaScriptCore/wtf/CurrentTime.h \
239 JavaScriptCore/wtf/DateMath.cpp \
240 JavaScriptCore/wtf/DateMath.h \
241 JavaScriptCore/wtf/Deque.h \
242 JavaScriptCore/wtf/DisallowCType.h \
243 JavaScriptCore/wtf/Forward.h \
244 JavaScriptCore/wtf/GetPtr.h \
245 JavaScriptCore/wtf/HashCountedSet.h \
246 JavaScriptCore/wtf/HashFunctions.h \
247 JavaScriptCore/wtf/HashIterators.h \
248 JavaScriptCore/wtf/HashMap.h \
249 JavaScriptCore/wtf/HashSet.h \
250 JavaScriptCore/wtf/HashTable.cpp \
251 JavaScriptCore/wtf/HashTable.h \
252 JavaScriptCore/wtf/HashTraits.h \
253 JavaScriptCore/wtf/ListHashSet.h \
254 JavaScriptCore/wtf/ListRefPtr.h \
255 JavaScriptCore/wtf/Locker.h \
256 JavaScriptCore/wtf/MD5.cpp \
257 JavaScriptCore/wtf/MD5.h \
258 JavaScriptCore/wtf/MainThread.cpp \
259 JavaScriptCore/wtf/MainThread.h \
260 JavaScriptCore/wtf/MathExtras.h \
261 JavaScriptCore/wtf/MessageQueue.h \
262 JavaScriptCore/wtf/Noncopyable.h \
263 JavaScriptCore/wtf/NotFound.h \
264 JavaScriptCore/wtf/OwnArrayPtr.h \
265 JavaScriptCore/wtf/OwnFastMallocPtr.h \
266 JavaScriptCore/wtf/OwnPtr.h \
267 JavaScriptCore/wtf/OwnPtrCommon.h \
268 JavaScriptCore/wtf/PassOwnPtr.h \
269 JavaScriptCore/wtf/PassRefPtr.h \
270 JavaScriptCore/wtf/Platform.h \
271 JavaScriptCore/wtf/PossiblyNull.h \
272 JavaScriptCore/wtf/RandomNumber.cpp \
273 JavaScriptCore/wtf/RandomNumber.h \
274 JavaScriptCore/wtf/RandomNumberSeed.h \
275 JavaScriptCore/wtf/RefCounted.h \
276 JavaScriptCore/wtf/RefCountedLeakCounter.cpp \
277 JavaScriptCore/wtf/RefCountedLeakCounter.h \
278 JavaScriptCore/wtf/RefPtr.h \
279 JavaScriptCore/wtf/RefPtrHashMap.h \
280 JavaScriptCore/wtf/RetainPtr.h \
281 JavaScriptCore/wtf/SegmentedVector.h \
282 JavaScriptCore/wtf/StaticConstructors.h \
283 JavaScriptCore/wtf/StdLibExtras.h \
284 JavaScriptCore/wtf/StringExtras.h \
285 JavaScriptCore/wtf/StringHashFunctions.h \
286 JavaScriptCore/wtf/TCPackedCache.h \
287 JavaScriptCore/wtf/TCPageMap.h \
288 JavaScriptCore/wtf/TCSpinLock.h \
289 JavaScriptCore/wtf/ThreadIdentifierDataPthreads.cpp \
290 JavaScriptCore/wtf/ThreadIdentifierDataPthreads.h \
291 JavaScriptCore/wtf/Threading.cpp \
292 JavaScriptCore/wtf/Threading.h \
293 JavaScriptCore/wtf/ThreadingPrimitives.h \
294 JavaScriptCore/wtf/ThreadingPthreads.cpp \
295 JavaScriptCore/wtf/ThreadSafeShared.h \
296 JavaScriptCore/wtf/ThreadSpecific.h \
297 JavaScriptCore/wtf/TypeTraits.cpp \
298 JavaScriptCore/wtf/TypeTraits.h \
299 JavaScriptCore/wtf/UnusedParam.h \
300 JavaScriptCore/wtf/ValueCheck.h \
301 JavaScriptCore/wtf/Vector.h \
302 JavaScriptCore/wtf/VectorTraits.h \
303 JavaScriptCore/wtf/WTFThreadData.cpp \
304 JavaScriptCore/wtf/WTFThreadData.h \
305 JavaScriptCore/wtf/gobject/GOwnPtr.cpp \
306 JavaScriptCore/wtf/gobject/GOwnPtr.h \
307 JavaScriptCore/wtf/gobject/GRefPtr.cpp \
308 JavaScriptCore/wtf/gobject/GRefPtr.h \
309 JavaScriptCore/wtf/gtk/MainThreadGtk.cpp \
310 JavaScriptCore/wtf/gtk/ThreadingGtk.cpp \
311 JavaScriptCore/wtf/text/AtomicString.cpp \
312 JavaScriptCore/wtf/text/AtomicString.h \
313 JavaScriptCore/wtf/text/AtomicStringImpl.h \
314 JavaScriptCore/wtf/text/CString.cpp \
315 JavaScriptCore/wtf/text/CString.h \
316 JavaScriptCore/wtf/text/StringHash.h \
317 JavaScriptCore/wtf/text/StringImpl.cpp \
318 JavaScriptCore/wtf/text/StringImpl.h \
319 JavaScriptCore/wtf/text/StringStatics.cpp \
320 JavaScriptCore/wtf/text/WTFString.cpp \
321 JavaScriptCore/wtf/text/WTFString.h \
322 JavaScriptCore/wtf/unicode/Collator.h \
323 JavaScriptCore/wtf/unicode/CollatorDefault.cpp \
324 JavaScriptCore/wtf/unicode/UTF8.cpp \
325 JavaScriptCore/wtf/unicode/UTF8.h \
326 JavaScriptCore/wtf/unicode/Unicode.h
327
328 if TARGET_WIN32
329 javascriptcore_sources += \
330 JavaScriptCore/wtf/ThreadSpecificWin.cpp \
331 JavaScriptCore/jit/ExecutableAllocatorWin.cpp \
332 JavaScriptCore/runtime/MarkStackWin.cpp
333 else
334 javascriptcore_sources += \
335 JavaScriptCore/jit/ExecutableAllocatorPosix.cpp \
336 JavaScriptCore/runtime/MarkStackPosix.cpp
337 endif
338
339 # ----
340 # icu unicode backend
341 # ----
342 if USE_ICU_UNICODE
343 javascriptcore_sources += \
344 JavaScriptCore/wtf/unicode/icu/CollatorICU.cpp \
345 JavaScriptCore/wtf/unicode/icu/UnicodeIcu.h
346 endif # USE_ICU_UNICODE
347
348 # ----
349 # glib unicode backend
350 # ----
351 if USE_GLIB_UNICODE
352 javascriptcore_sources += \
353 JavaScriptCore/wtf/unicode/glib/UnicodeGLib.h \
354 JavaScriptCore/wtf/unicode/glib/UnicodeGLib.cpp \
355 JavaScriptCore/wtf/unicode/glib/UnicodeMacrosFromICU.h
356 endif
357
358 javascriptcore_sources += \
359 JavaScriptCore/wtf/VMTags.h \
360 JavaScriptCore/yarr/RegexCompiler.cpp \
361 JavaScriptCore/yarr/RegexCompiler.h \
362 JavaScriptCore/yarr/RegexInterpreter.cpp \
363 JavaScriptCore/yarr/RegexInterpreter.h \
364 JavaScriptCore/yarr/RegexJIT.cpp \
365 JavaScriptCore/yarr/RegexJIT.h \
366 JavaScriptCore/yarr/RegexParser.h \
367 JavaScriptCore/yarr/RegexPattern.h
368
369 javascriptcore_sources += \
370 JavaScriptCore/interpreter/RegisterFile.cpp \
371 JavaScriptCore/interpreter/RegisterFile.h \
372 JavaScriptCore/bytecompiler/BytecodeGenerator.cpp \
373 JavaScriptCore/bytecompiler/BytecodeGenerator.h \
374 JavaScriptCore/bytecompiler/NodesCodegen.cpp \
375 JavaScriptCore/bytecompiler/LabelScope.h \
376 JavaScriptCore/debugger/Debugger.cpp \
377 JavaScriptCore/debugger/Debugger.h \
378 JavaScriptCore/parser/Lexer.cpp \
379 JavaScriptCore/parser/Lexer.h \
380 JavaScriptCore/parser/NodeConstructors.h \
381 JavaScriptCore/parser/NodeInfo.h \
382 JavaScriptCore/parser/Nodes.cpp \
383 JavaScriptCore/parser/Nodes.h \
384 JavaScriptCore/parser/Parser.cpp \
385 JavaScriptCore/parser/Parser.h \
386 JavaScriptCore/parser/ParserArena.cpp \
387 JavaScriptCore/parser/ParserArena.h \
388 JavaScriptCore/parser/ResultType.h \
389 JavaScriptCore/parser/SourceCode.h \
390 JavaScriptCore/parser/SourceProvider.h \
391 JavaScriptCore/runtime/ArgList.cpp \
392 JavaScriptCore/runtime/ArgList.h \
393 JavaScriptCore/runtime/Arguments.cpp \
394 JavaScriptCore/runtime/Arguments.h \
395 JavaScriptCore/runtime/ArrayConstructor.cpp \
396 JavaScriptCore/runtime/ArrayConstructor.h \
397 JavaScriptCore/runtime/ArrayPrototype.cpp \
398 JavaScriptCore/runtime/ArrayPrototype.h \
399 JavaScriptCore/runtime/BatchedTransitionOptimizer.h \
400 JavaScriptCore/runtime/BooleanConstructor.cpp \
401 JavaScriptCore/runtime/BooleanConstructor.h \
402 JavaScriptCore/runtime/BooleanObject.cpp \
403 JavaScriptCore/runtime/BooleanObject.h \
404 JavaScriptCore/runtime/BooleanPrototype.cpp \
405 JavaScriptCore/runtime/BooleanPrototype.h \
406 JavaScriptCore/runtime/CallData.cpp \
407 JavaScriptCore/runtime/CallData.h \
408 JavaScriptCore/runtime/ClassInfo.h \
409 JavaScriptCore/runtime/Collector.cpp \
410 JavaScriptCore/runtime/Collector.h \
411 JavaScriptCore/runtime/CollectorHeapIterator.h \
412 JavaScriptCore/runtime/CommonIdentifiers.cpp \
413 JavaScriptCore/runtime/CommonIdentifiers.h \
414 JavaScriptCore/runtime/Completion.h \
415 JavaScriptCore/runtime/ConstructData.cpp \
416 JavaScriptCore/runtime/ConstructData.h \
417 JavaScriptCore/runtime/DateConstructor.cpp \
418 JavaScriptCore/runtime/DateConstructor.h \
419 JavaScriptCore/runtime/DateConversion.cpp \
420 JavaScriptCore/runtime/DateConversion.h \
421 JavaScriptCore/runtime/DateInstance.cpp \
422 JavaScriptCore/runtime/DateInstance.h \
423 JavaScriptCore/runtime/DateInstanceCache.h \
424 JavaScriptCore/runtime/DatePrototype.cpp \
425 JavaScriptCore/runtime/DatePrototype.h \
426 JavaScriptCore/runtime/Error.cpp \
427 JavaScriptCore/runtime/Error.h \
428 JavaScriptCore/runtime/ErrorConstructor.cpp \
429 JavaScriptCore/runtime/ErrorConstructor.h \
430 JavaScriptCore/runtime/ErrorInstance.cpp \
431 JavaScriptCore/runtime/ErrorInstance.h \
432 JavaScriptCore/runtime/ErrorPrototype.cpp \
433 JavaScriptCore/runtime/ErrorPrototype.h \
434 JavaScriptCore/runtime/FunctionConstructor.cpp \
435 JavaScriptCore/runtime/FunctionConstructor.h \
436 JavaScriptCore/runtime/FunctionPrototype.cpp \
437 JavaScriptCore/runtime/FunctionPrototype.h \
438 JavaScriptCore/runtime/GetterSetter.cpp \
439 JavaScriptCore/runtime/GetterSetter.h \
440 JavaScriptCore/runtime/GlobalEvalFunction.cpp \
441 JavaScriptCore/runtime/GlobalEvalFunction.h \
442 JavaScriptCore/runtime/Identifier.cpp \
443 JavaScriptCore/runtime/Identifier.h \
444 JavaScriptCore/runtime/InternalFunction.cpp \
445 JavaScriptCore/runtime/InternalFunction.h \
446 JavaScriptCore/runtime/Completion.cpp \
447 JavaScriptCore/runtime/JSArray.cpp \
448 JavaScriptCore/runtime/JSArray.h \
449 JavaScriptCore/runtime/JSAPIValueWrapper.cpp \
450 JavaScriptCore/runtime/JSAPIValueWrapper.h \
451 JavaScriptCore/runtime/JSCell.cpp \
452 JavaScriptCore/runtime/JSCell.h \
453 JavaScriptCore/runtime/JSFunction.cpp \
454 JavaScriptCore/runtime/JSFunction.h \
455 JavaScriptCore/runtime/JSGlobalObject.cpp \
456 JavaScriptCore/runtime/JSGlobalObject.h \
457 JavaScriptCore/runtime/JSGlobalObjectFunctions.cpp \
458 JavaScriptCore/runtime/JSGlobalObjectFunctions.h \
459 JavaScriptCore/runtime/JSImmediate.cpp \
460 JavaScriptCore/runtime/JSImmediate.h \
461 JavaScriptCore/runtime/JSLock.cpp \
462 JavaScriptCore/runtime/JSLock.h \
463 JavaScriptCore/runtime/JSNumberCell.cpp \
464 JavaScriptCore/runtime/JSNumberCell.h \
465 JavaScriptCore/runtime/JSObject.cpp \
466 JavaScriptCore/runtime/JSObject.h \
467 JavaScriptCore/runtime/JSStaticScopeObject.cpp \
468 JavaScriptCore/runtime/JSStaticScopeObject.h \
469 JavaScriptCore/runtime/JSString.cpp \
470 JavaScriptCore/runtime/JSString.h \
471 JavaScriptCore/runtime/JSType.h \
472 JavaScriptCore/runtime/JSValue.cpp \
473 JavaScriptCore/runtime/JSValue.h \
474 JavaScriptCore/runtime/JSVariableObject.cpp \
475 JavaScriptCore/runtime/JSVariableObject.h \
476 JavaScriptCore/runtime/JSWrapperObject.cpp \
477 JavaScriptCore/runtime/JSWrapperObject.h \
478 JavaScriptCore/runtime/Lookup.cpp \
479 JavaScriptCore/runtime/Lookup.h \
480 JavaScriptCore/runtime/MathObject.cpp \
481 JavaScriptCore/runtime/MathObject.h \
482 JavaScriptCore/runtime/NativeErrorConstructor.cpp \
483 JavaScriptCore/runtime/NativeErrorConstructor.h \
484 JavaScriptCore/runtime/NativeErrorPrototype.cpp \
485 JavaScriptCore/runtime/NativeErrorPrototype.h \
486 JavaScriptCore/runtime/NativeFunctionWrapper.h \
487 JavaScriptCore/runtime/NumberConstructor.cpp \
488 JavaScriptCore/runtime/NumberConstructor.h \
489 JavaScriptCore/runtime/NumberObject.cpp \
490 JavaScriptCore/runtime/NumberObject.h \
491 JavaScriptCore/runtime/NumberPrototype.cpp \
492 JavaScriptCore/runtime/NumberPrototype.h \
493 JavaScriptCore/runtime/ObjectConstructor.cpp \
494 JavaScriptCore/runtime/ObjectConstructor.h \
495 JavaScriptCore/runtime/ObjectPrototype.cpp \
496 JavaScriptCore/runtime/ObjectPrototype.h \
497 JavaScriptCore/runtime/Operations.cpp \
498 JavaScriptCore/runtime/Operations.h \
499 JavaScriptCore/runtime/PropertyMapHashTable.h \
500 JavaScriptCore/runtime/PropertyNameArray.cpp \
501 JavaScriptCore/runtime/PropertyNameArray.h \
502 JavaScriptCore/runtime/PropertySlot.cpp \
503 JavaScriptCore/runtime/PropertySlot.h \
504 JavaScriptCore/runtime/Protect.h \
505 JavaScriptCore/runtime/PrototypeFunction.cpp \
506 JavaScriptCore/runtime/PrototypeFunction.h \
507 JavaScriptCore/runtime/PutPropertySlot.h \
508 JavaScriptCore/runtime/RegExp.cpp \
509 JavaScriptCore/runtime/RegExp.h \
510 JavaScriptCore/runtime/RegExpCache.cpp \
511 JavaScriptCore/runtime/RegExpCache.h \
512 JavaScriptCore/runtime/RegExpConstructor.cpp \
513 JavaScriptCore/runtime/RegExpConstructor.h \
514 JavaScriptCore/runtime/RegExpKey.h \
515 JavaScriptCore/runtime/RegExpMatchesArray.h \
516 JavaScriptCore/runtime/RegExpObject.cpp \
517 JavaScriptCore/runtime/RegExpObject.h \
518 JavaScriptCore/runtime/RegExpPrototype.cpp \
519 JavaScriptCore/runtime/RegExpPrototype.h \
520 JavaScriptCore/runtime/RopeImpl.cpp \
521 JavaScriptCore/runtime/RopeImpl.h \
522 JavaScriptCore/runtime/ScopeChain.cpp \
523 JavaScriptCore/runtime/ScopeChain.h \
524 JavaScriptCore/runtime/ScopeChainMark.h \
525 JavaScriptCore/runtime/StringConstructor.cpp \
526 JavaScriptCore/runtime/StringConstructor.h \
527 JavaScriptCore/runtime/StringObject.cpp \
528 JavaScriptCore/runtime/StringObject.h \
529 JavaScriptCore/runtime/StringObjectThatMasqueradesAsUndefined.h \
530 JavaScriptCore/runtime/StringPrototype.cpp \
531 JavaScriptCore/runtime/StringPrototype.h \
532 JavaScriptCore/runtime/SymbolTable.h \
533 JavaScriptCore/runtime/Tracing.h \
534 JavaScriptCore/runtime/UString.cpp \
535 JavaScriptCore/runtime/UString.h \
536 JavaScriptCore/runtime/UStringImpl.h \
537 JavaScriptCore/runtime/WeakRandom.h \
538 JavaScriptCore/wtf/FastAllocBase.h \
539 JavaScriptCore/wtf/FastMalloc.cpp \
540 JavaScriptCore/wtf/FastMalloc.h \
541 JavaScriptCore/wtf/MallocZoneSupport.h \
542 JavaScriptCore/wtf/TCSystemAlloc.cpp \
543 JavaScriptCore/wtf/TCSystemAlloc.h \
544 JavaScriptCore/wtf/dtoa.cpp \
545 JavaScriptCore/wtf/dtoa.h
546
547 javascriptcore_built_sources += \
548 DerivedSources/Grammar.cpp \
549 DerivedSources/Grammar.h
550
551 DerivedSources/Grammar.h: DerivedSources/Grammar.cpp;
552
553 DerivedSources/Grammar.cpp: $(srcdir)/JavaScriptCore/parser/Grammar.y
554 $(BISON) -d -p jscyy $(srcdir)/JavaScriptCore/parser/Grammar.y -o $@ > bison_out.txt 2>&1
555 $(PERL) -p -e 'END { if ($$conflict) { unlink "Grammar.cpp"; die; } } $$conflict ||= /conflict/' < bison_out.txt
556 cat $(GENSOURCES)/Grammar.hpp > $(GENSOURCES)/Grammar.h
557 rm -f $(GENSOURCES)/Grammar.hpp bison_out.txt
558
559 DerivedSources/Lexer.lut.h: $(CREATE_HASH_TABLE) $(srcdir)/JavaScriptCore/parser/Keywords.table
560 $(PERL) $^ > $@
561
562 JavaScriptCore/%.lut.h: $(CREATE_HASH_TABLE) $(srcdir)/JavaScriptCore/%.cpp
563 $(PERL) $^ -i > $@
564
565 JavaScriptCore/RegExpJitTables.h: $(srcdir)/JavaScriptCore/create_regex_tables
566 $(PYTHON) $(srcdir)/JavaScriptCore/create_regex_tables > $@
567
568 JavaScriptCore/pcre/chartables.c: $(srcdir)/JavaScriptCore/pcre/dftables
569 $(PERL) $^ $@
570
571 bin_PROGRAMS += \
572 Programs/jsc
573
574 noinst_PROGRAMS += \
575 Programs/minidom
576
577 # minidom
578 Programs_minidom_SOURCES = \
579 JavaScriptCore/API/tests/JSNode.c \
580 JavaScriptCore/API/tests/JSNode.h \
581 JavaScriptCore/API/tests/JSNodeList.c \
582 JavaScriptCore/API/tests/JSNodeList.h \
583 JavaScriptCore/API/tests/Node.c \
584 JavaScriptCore/API/tests/Node.h \
585 JavaScriptCore/API/tests/NodeList.c \
586 JavaScriptCore/API/tests/NodeList.h \
587 JavaScriptCore/API/tests/minidom.c
588
589 Programs_minidom_CPPFLAGS = \
590 $(global_cppflags) \
591 $(javascriptcore_cppflags)
592
593 Programs_minidom_CFLAGS = \
594 -ansi \
595 -fno-strict-aliasing \
596 $(global_cflags) \
597 $(GLOBALDEPS_CFLAGS)
598
599 Programs_minidom_LDADD = \
600 libJavaScriptCore.la \
601 -lm \
602 -lstdc++
603
604 Programs_minidom_LDFLAGS = \
605 -no-install \
606 -no-fast-install
607
608 # jsc
609 Programs_jsc_SOURCES = \
610 JavaScriptCore/jsc.cpp
611
612 Programs_jsc_CPPFLAGS = \
613 $(global_cppflags) \
614 $(javascriptcore_cppflags)
615
616 Programs_jsc_CXXFLAGS = \
617 -fno-strict-aliasing \
618 $(global_cxxflags) \
619 $(global_cflags) \
620 $(GLOBALDEPS_CFLAGS) \
621 $(UNICODE_CFLAGS)
622
623 Programs_jsc_LDADD = \
624 libJavaScriptCore.la
625
626 javascriptcore_dist += \
627 $(CREATE_HASH_TABLE) \
628 $(CREATE_REGEXP_TABLES) \
629 JavaScriptCore/AUTHORS \
630 JavaScriptCore/COPYING.LIB \
631 JavaScriptCore/ChangeLog \
632 JavaScriptCore/THANKS \
633 JavaScriptCore/icu/LICENSE \
634 JavaScriptCore/icu/README \
635 JavaScriptCore/pcre/COPYING \
636 JavaScriptCore/pcre/AUTHORS \
637 JavaScriptCore/pcre/dftables \
638 JavaScriptCore/pcre/ucptable.cpp \
639 JavaScriptCore/parser/Grammar.y \
640 JavaScriptCore/parser/Keywords.table
641
642 # Clean rules for JavaScriptCore
643 CLEANFILES += \
644 JavaScriptCore/runtime/ArrayPrototype.lut.h \
645 JavaScriptCore/runtime/DatePrototype.lut.h \
646 JavaScriptCore/runtime/JSONObject.lut.h \
647 JavaScriptCore/runtime/MathObject.lut.h \
648 JavaScriptCore/runtime/NumberConstructor.lut.h \
649 JavaScriptCore/runtime/RegExpConstructor.lut.h \
650 JavaScriptCore/runtime/RegExpObject.lut.h \
651 JavaScriptCore/runtime/StringPrototype.lut.h \
652 JavaScriptCore/pcre/chartables.c \
653 Programs/jsc \
654 Programs/minidom