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