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