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