summaryrefslogtreecommitdiffstats
path: root/JavaScriptCore/GNUmakefile.am
blob: d3ca76cf29674da7601011c0988ac755fab69db0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
javascriptcore_cppflags += \
	-I$(srcdir)/JavaScriptCore \
	-I$(srcdir)/JavaScriptCore/API \
	-I$(srcdir)/JavaScriptCore/ForwardingHeaders \
	-I$(srcdir)/JavaScriptCore/interpreter \
	-I$(srcdir)/JavaScriptCore/bytecode \
	-I$(srcdir)/JavaScriptCore/bytecompiler \
	-I$(srcdir)/JavaScriptCore/debugger \
	-I$(srcdir)/JavaScriptCore/jit \
	-I$(srcdir)/JavaScriptCore/pcre \
	-I$(srcdir)/JavaScriptCore/profiler \
	-I$(srcdir)/JavaScriptCore/runtime \
	-I$(srcdir)/JavaScriptCore/jit \
	-I$(srcdir)/JavaScriptCore/assembler \
	-I$(srcdir)/JavaScriptCore/wtf \
	-I$(srcdir)/JavaScriptCore/wtf/text \
	-I$(srcdir)/JavaScriptCore/wtf/unicode \
	-I$(srcdir)/JavaScriptCore/yarr \
	-I$(top_builddir)/JavaScriptCore \
	-I$(top_builddir)/JavaScriptCore/pcre \
	-I$(top_builddir)/JavaScriptCore/parser \
	-I$(top_builddir)/JavaScriptCore/runtime

javascriptcore_h_api += \
	JavaScriptCore/API/JSBase.h \
	JavaScriptCore/API/JSContextRef.h \
	JavaScriptCore/API/JSObjectRef.h \
	JavaScriptCore/API/JSStringRef.h \
	JavaScriptCore/API/JSStringRefBSTR.h \
	JavaScriptCore/API/JSStringRefCF.h \
	JavaScriptCore/API/JSValueRef.h \
	JavaScriptCore/API/JavaScript.h \
	JavaScriptCore/API/JavaScriptCore.h \
	JavaScriptCore/API/WebKitAvailability.h

javascriptcore_built_nosources += \
	DerivedSources/Lexer.lut.h \
	JavaScriptCore/RegExpJitTables.h \
	JavaScriptCore/runtime/ArrayPrototype.lut.h \
	JavaScriptCore/runtime/DatePrototype.lut.h \
	JavaScriptCore/runtime/JSONObject.lut.h \
	JavaScriptCore/runtime/MathObject.lut.h \
	JavaScriptCore/runtime/NumberConstructor.lut.h \
	JavaScriptCore/runtime/RegExpConstructor.lut.h \
	JavaScriptCore/runtime/RegExpObject.lut.h \
	JavaScriptCore/runtime/StringPrototype.lut.h \
	JavaScriptCore/pcre/chartables.c

javascriptcore_sources += \
	JavaScriptCore/API/APICast.h \
	JavaScriptCore/API/APIShims.h \
	JavaScriptCore/API/JSBase.cpp \
	JavaScriptCore/API/JSBasePrivate.h \
	JavaScriptCore/API/JSCallbackConstructor.cpp \
	JavaScriptCore/API/JSCallbackConstructor.h \
	JavaScriptCore/API/JSCallbackFunction.cpp \
	JavaScriptCore/API/JSCallbackFunction.h \
	JavaScriptCore/API/JSCallbackObject.cpp \
	JavaScriptCore/API/JSCallbackObject.h \
	JavaScriptCore/API/JSCallbackObjectFunctions.h \
	JavaScriptCore/API/JSClassRef.cpp \
	JavaScriptCore/API/JSClassRef.h \
	JavaScriptCore/API/JSContextRef.cpp \
	JavaScriptCore/API/JSContextRefPrivate.h \
	JavaScriptCore/API/JSObjectRef.cpp \
	JavaScriptCore/API/JSRetainPtr.h \
	JavaScriptCore/API/JSStringRef.cpp \
	JavaScriptCore/API/JSValueRef.cpp \
	JavaScriptCore/API/OpaqueJSString.cpp \
	JavaScriptCore/API/OpaqueJSString.h \
	JavaScriptCore/ForwardingHeaders/JavaScriptCore/APICast.h \
	JavaScriptCore/ForwardingHeaders/JavaScriptCore/JSBase.h \
	JavaScriptCore/ForwardingHeaders/JavaScriptCore/JSContextRef.h \
	JavaScriptCore/ForwardingHeaders/JavaScriptCore/JSObjectRef.h \
	JavaScriptCore/ForwardingHeaders/JavaScriptCore/JSRetainPtr.h \
	JavaScriptCore/ForwardingHeaders/JavaScriptCore/JSStringRef.h \
	JavaScriptCore/ForwardingHeaders/JavaScriptCore/JSStringRefCF.h \
	JavaScriptCore/ForwardingHeaders/JavaScriptCore/JSValueRef.h \
	JavaScriptCore/ForwardingHeaders/JavaScriptCore/JavaScript.h \
	JavaScriptCore/ForwardingHeaders/JavaScriptCore/JavaScriptCore.h \
	JavaScriptCore/ForwardingHeaders/JavaScriptCore/OpaqueJSString.h \
	JavaScriptCore/ForwardingHeaders/JavaScriptCore/WebKitAvailability.h \
	JavaScriptCore/JavaScriptCorePrefix.h \
	JavaScriptCore/jit/ExecutableAllocator.h \
	JavaScriptCore/jit/JIT.cpp \
	JavaScriptCore/jit/JITOpcodes.cpp \
	JavaScriptCore/jit/JITCall.cpp \
	JavaScriptCore/jit/JITCode.h \
	JavaScriptCore/jit/JITPropertyAccess.cpp \
	JavaScriptCore/jit/JITPropertyAccess32_64.cpp \
	JavaScriptCore/jit/JITArithmetic.cpp \
	JavaScriptCore/jit/JITArithmetic32_64.cpp \
	JavaScriptCore/jit/ExecutableAllocator.cpp \
	JavaScriptCore/jit/JIT.h \
	JavaScriptCore/jit/JITInlineMethods.h \
	JavaScriptCore/jit/JITStubs.cpp \
	JavaScriptCore/jit/JITStubs.h \
	JavaScriptCore/jit/JITStubCall.h \
	JavaScriptCore/jit/JSInterfaceJIT.h \
	JavaScriptCore/jit/SpecializedThunkJIT.h \
	JavaScriptCore/jit/ThunkGenerators.cpp \
	JavaScriptCore/jit/ThunkGenerators.h \
	JavaScriptCore/bytecode/StructureStubInfo.cpp \
	JavaScriptCore/bytecode/StructureStubInfo.h \
	JavaScriptCore/bytecode/CodeBlock.cpp \
	JavaScriptCore/bytecode/CodeBlock.h \
	JavaScriptCore/bytecode/JumpTable.cpp \
	JavaScriptCore/bytecode/JumpTable.h \
	JavaScriptCore/bytecode/EvalCodeCache.h \
	JavaScriptCore/bytecode/Instruction.h \
	JavaScriptCore/bytecompiler/Label.h \
	JavaScriptCore/interpreter/Interpreter.cpp \
	JavaScriptCore/interpreter/Interpreter.h \
	JavaScriptCore/bytecode/Opcode.cpp \
	JavaScriptCore/bytecode/Opcode.h \
	JavaScriptCore/interpreter/Register.h \
	JavaScriptCore/bytecompiler/RegisterID.h \
	JavaScriptCore/bytecode/SamplingTool.cpp \
	JavaScriptCore/bytecode/SamplingTool.h \
	JavaScriptCore/config.h \
	JavaScriptCore/debugger/DebuggerActivation.cpp \
	JavaScriptCore/debugger/DebuggerActivation.h \
	JavaScriptCore/debugger/DebuggerCallFrame.cpp \
	JavaScriptCore/debugger/DebuggerCallFrame.h \
	JavaScriptCore/icu/unicode/parseerr.h \
	JavaScriptCore/icu/unicode/platform.h \
	JavaScriptCore/icu/unicode/putil.h \
	JavaScriptCore/icu/unicode/uchar.h \
	JavaScriptCore/icu/unicode/ucnv.h \
	JavaScriptCore/icu/unicode/ucnv_err.h \
	JavaScriptCore/icu/unicode/ucol.h \
	JavaScriptCore/icu/unicode/uconfig.h \
	JavaScriptCore/icu/unicode/uenum.h \
	JavaScriptCore/icu/unicode/uiter.h \
	JavaScriptCore/icu/unicode/uloc.h \
	JavaScriptCore/icu/unicode/umachine.h \
	JavaScriptCore/icu/unicode/unorm.h \
	JavaScriptCore/icu/unicode/urename.h \
	JavaScriptCore/icu/unicode/uset.h \
	JavaScriptCore/icu/unicode/ustring.h \
	JavaScriptCore/icu/unicode/utf.h \
	JavaScriptCore/icu/unicode/utf16.h \
	JavaScriptCore/icu/unicode/utf8.h \
	JavaScriptCore/icu/unicode/utf_old.h \
	JavaScriptCore/icu/unicode/utypes.h \
	JavaScriptCore/icu/unicode/uversion.h \
	JavaScriptCore/assembler/ARMAssembler.h \
	JavaScriptCore/assembler/ARMAssembler.cpp \
	JavaScriptCore/assembler/X86Assembler.h \
	JavaScriptCore/assembler/AbstractMacroAssembler.h \
	JavaScriptCore/assembler/AssemblerBuffer.h \
	JavaScriptCore/assembler/AssemblerBufferWithConstantPool.h \
	JavaScriptCore/assembler/CodeLocation.h \
	JavaScriptCore/assembler/LinkBuffer.h \
	JavaScriptCore/assembler/MacroAssembler.h \
	JavaScriptCore/assembler/MacroAssemblerARM.h \
	JavaScriptCore/assembler/MacroAssemblerARM.cpp \
	JavaScriptCore/assembler/MacroAssemblerCodeRef.h \
	JavaScriptCore/assembler/MacroAssemblerX86.h \
	JavaScriptCore/assembler/MacroAssemblerX86_64.h \
	JavaScriptCore/assembler/MacroAssemblerX86Common.h \
	JavaScriptCore/assembler/RepatchBuffer.h \
	JavaScriptCore/os-win32/stdbool.h \
	JavaScriptCore/os-win32/stdint.h \
	JavaScriptCore/pcre/pcre.h \
	JavaScriptCore/pcre/pcre_compile.cpp \
	JavaScriptCore/pcre/pcre_exec.cpp \
	JavaScriptCore/pcre/pcre_internal.h \
	JavaScriptCore/pcre/pcre_tables.cpp \
	JavaScriptCore/pcre/pcre_ucp_searchfuncs.cpp \
	JavaScriptCore/pcre/pcre_xclass.cpp \
	JavaScriptCore/pcre/ucpinternal.h \
	JavaScriptCore/profiler/CallIdentifier.h \
	JavaScriptCore/profiler/Profile.cpp \
	JavaScriptCore/profiler/Profile.h \
	JavaScriptCore/profiler/ProfileGenerator.cpp \
	JavaScriptCore/profiler/ProfileGenerator.h \
	JavaScriptCore/profiler/ProfileNode.cpp \
	JavaScriptCore/profiler/ProfileNode.h \
	JavaScriptCore/profiler/Profiler.cpp \
	JavaScriptCore/profiler/Profiler.h \
	JavaScriptCore/interpreter/CachedCall.h \
	JavaScriptCore/interpreter/CallFrame.cpp \
	JavaScriptCore/interpreter/CallFrame.h \
	JavaScriptCore/interpreter/CallFrameClosure.h \
	JavaScriptCore/runtime/ExceptionHelpers.cpp \
	JavaScriptCore/runtime/ExceptionHelpers.h \
	JavaScriptCore/runtime/Executable.cpp \
	JavaScriptCore/runtime/Executable.h \
	JavaScriptCore/runtime/InitializeThreading.cpp \
	JavaScriptCore/runtime/InitializeThreading.h \
	JavaScriptCore/runtime/JSActivation.cpp \
	JavaScriptCore/runtime/JSActivation.h \
	JavaScriptCore/runtime/JSByteArray.cpp \
	JavaScriptCore/runtime/JSByteArray.h \
	JavaScriptCore/runtime/JSGlobalData.cpp \
	JavaScriptCore/runtime/JSGlobalData.h \
	JavaScriptCore/runtime/JSNotAnObject.cpp \
	JavaScriptCore/runtime/JSNotAnObject.h \
	JavaScriptCore/runtime/JSONObject.cpp \
	JavaScriptCore/runtime/JSONObject.h \
	JavaScriptCore/runtime/JSPropertyNameIterator.cpp \
	JavaScriptCore/runtime/JSPropertyNameIterator.h \
	JavaScriptCore/runtime/JSStringBuilder.h \
	JavaScriptCore/runtime/JSZombie.h \
	JavaScriptCore/runtime/LiteralParser.cpp \
	JavaScriptCore/runtime/LiteralParser.h \
	JavaScriptCore/runtime/MarkStack.cpp \
	JavaScriptCore/runtime/MarkStack.h \
	JavaScriptCore/runtime/NumericStrings.h \
	JavaScriptCore/runtime/PropertyDescriptor.h \
	JavaScriptCore/runtime/PropertyDescriptor.cpp \
	JavaScriptCore/runtime/SmallStrings.cpp \
	JavaScriptCore/runtime/SmallStrings.h \
	JavaScriptCore/runtime/StringBuilder.h \
	JavaScriptCore/runtime/Structure.cpp \
	JavaScriptCore/runtime/Structure.h \
	JavaScriptCore/runtime/StructureChain.cpp \
	JavaScriptCore/runtime/StructureChain.h \
	JavaScriptCore/runtime/StructureTransitionTable.h \
	JavaScriptCore/runtime/Terminator.h \
	JavaScriptCore/runtime/TimeoutChecker.cpp \
	JavaScriptCore/runtime/TimeoutChecker.h \
	JavaScriptCore/runtime/JSTypeInfo.h \
	JavaScriptCore/runtime/WeakGCMap.h \
	JavaScriptCore/runtime/WeakGCPtr.h \
	JavaScriptCore/wtf/ASCIICType.h \
	JavaScriptCore/wtf/AVLTree.h \
	JavaScriptCore/wtf/AlwaysInline.h \
	JavaScriptCore/wtf/Assertions.cpp \
	JavaScriptCore/wtf/Assertions.h \
	JavaScriptCore/wtf/Atomics.h \
	JavaScriptCore/wtf/ByteArray.cpp \
	JavaScriptCore/wtf/ByteArray.h \
	JavaScriptCore/wtf/CrossThreadRefCounted.h \
	JavaScriptCore/wtf/CurrentTime.cpp \
	JavaScriptCore/wtf/CurrentTime.h \
	JavaScriptCore/wtf/DateMath.cpp \
	JavaScriptCore/wtf/DateMath.h \
	JavaScriptCore/wtf/Deque.h \
	JavaScriptCore/wtf/DisallowCType.h \
	JavaScriptCore/wtf/Forward.h \
	JavaScriptCore/wtf/GetPtr.h \
	JavaScriptCore/wtf/HashCountedSet.h \
	JavaScriptCore/wtf/HashFunctions.h \
	JavaScriptCore/wtf/HashIterators.h \
	JavaScriptCore/wtf/HashMap.h \
	JavaScriptCore/wtf/HashSet.h \
	JavaScriptCore/wtf/HashTable.cpp \
	JavaScriptCore/wtf/HashTable.h \
	JavaScriptCore/wtf/HashTraits.h \
	JavaScriptCore/wtf/ListHashSet.h \
	JavaScriptCore/wtf/ListRefPtr.h \
	JavaScriptCore/wtf/Locker.h \
	JavaScriptCore/wtf/MD5.cpp \
	JavaScriptCore/wtf/MD5.h \
	JavaScriptCore/wtf/MainThread.cpp \
	JavaScriptCore/wtf/MainThread.h \
	JavaScriptCore/wtf/MathExtras.h \
	JavaScriptCore/wtf/MessageQueue.h \
	JavaScriptCore/wtf/Noncopyable.h \
	JavaScriptCore/wtf/NotFound.h \
	JavaScriptCore/wtf/OwnArrayPtr.h \
	JavaScriptCore/wtf/OwnFastMallocPtr.h \
	JavaScriptCore/wtf/OwnPtr.h \
	JavaScriptCore/wtf/OwnPtrCommon.h \
	JavaScriptCore/wtf/PassOwnPtr.h \
	JavaScriptCore/wtf/PassRefPtr.h \
	JavaScriptCore/wtf/Platform.h \
	JavaScriptCore/wtf/PossiblyNull.h \
	JavaScriptCore/wtf/RandomNumber.cpp \
	JavaScriptCore/wtf/RandomNumber.h \
	JavaScriptCore/wtf/RandomNumberSeed.h \
	JavaScriptCore/wtf/RefCounted.h \
	JavaScriptCore/wtf/RefCountedLeakCounter.cpp \
	JavaScriptCore/wtf/RefCountedLeakCounter.h \
	JavaScriptCore/wtf/RefPtr.h \
	JavaScriptCore/wtf/RefPtrHashMap.h \
	JavaScriptCore/wtf/RetainPtr.h \
	JavaScriptCore/wtf/SegmentedVector.h \
	JavaScriptCore/wtf/StaticConstructors.h \
	JavaScriptCore/wtf/StdLibExtras.h \
	JavaScriptCore/wtf/StringExtras.h \
	JavaScriptCore/wtf/StringHashFunctions.h \
	JavaScriptCore/wtf/TCPackedCache.h \
	JavaScriptCore/wtf/TCPageMap.h \
	JavaScriptCore/wtf/TCSpinLock.h \
	JavaScriptCore/wtf/ThreadIdentifierDataPthreads.cpp \
	JavaScriptCore/wtf/ThreadIdentifierDataPthreads.h \
	JavaScriptCore/wtf/Threading.cpp \
	JavaScriptCore/wtf/Threading.h \
	JavaScriptCore/wtf/ThreadingPrimitives.h \
	JavaScriptCore/wtf/ThreadingPthreads.cpp \
	JavaScriptCore/wtf/ThreadSafeShared.h \
	JavaScriptCore/wtf/ThreadSpecific.h \
	JavaScriptCore/wtf/TypeTraits.cpp \
	JavaScriptCore/wtf/TypeTraits.h \
	JavaScriptCore/wtf/UnusedParam.h \
	JavaScriptCore/wtf/ValueCheck.h \
	JavaScriptCore/wtf/Vector.h \
	JavaScriptCore/wtf/VectorTraits.h \
	JavaScriptCore/wtf/WTFThreadData.cpp \
	JavaScriptCore/wtf/WTFThreadData.h \
	JavaScriptCore/wtf/gobject/GOwnPtr.cpp \
	JavaScriptCore/wtf/gobject/GOwnPtr.h \
	JavaScriptCore/wtf/gobject/GRefPtr.cpp \
	JavaScriptCore/wtf/gobject/GRefPtr.h \
	JavaScriptCore/wtf/gtk/MainThreadGtk.cpp \
	JavaScriptCore/wtf/gtk/ThreadingGtk.cpp \
	JavaScriptCore/wtf/text/AtomicString.cpp \
	JavaScriptCore/wtf/text/AtomicString.h \
	JavaScriptCore/wtf/text/AtomicStringImpl.h \
	JavaScriptCore/wtf/text/CString.cpp \
	JavaScriptCore/wtf/text/CString.h \
	JavaScriptCore/wtf/text/StringHash.h \
	JavaScriptCore/wtf/text/StringImpl.cpp \
	JavaScriptCore/wtf/text/StringImpl.h \
	JavaScriptCore/wtf/text/WTFString.cpp \
	JavaScriptCore/wtf/text/WTFString.h \
	JavaScriptCore/wtf/unicode/Collator.h \
	JavaScriptCore/wtf/unicode/CollatorDefault.cpp \
	JavaScriptCore/wtf/unicode/UTF8.cpp \
	JavaScriptCore/wtf/unicode/UTF8.h \
	JavaScriptCore/wtf/unicode/Unicode.h

if TARGET_WIN32
javascriptcore_sources += \
	JavaScriptCore/wtf/ThreadSpecificWin.cpp \
	JavaScriptCore/jit/ExecutableAllocatorWin.cpp \
	JavaScriptCore/runtime/MarkStackWin.cpp
else
javascriptcore_sources += \
	JavaScriptCore/jit/ExecutableAllocatorPosix.cpp \
	JavaScriptCore/runtime/MarkStackPosix.cpp
endif

# ----
# icu unicode backend
# ----
if USE_ICU_UNICODE
javascriptcore_sources += \
	JavaScriptCore/wtf/unicode/icu/CollatorICU.cpp \
	JavaScriptCore/wtf/unicode/icu/UnicodeIcu.h
endif # USE_ICU_UNICODE

# ----
# glib unicode backend
# ----
if USE_GLIB_UNICODE
javascriptcore_sources += \
	JavaScriptCore/wtf/unicode/glib/UnicodeGLib.h \
	JavaScriptCore/wtf/unicode/glib/UnicodeGLib.cpp \
	JavaScriptCore/wtf/unicode/glib/UnicodeMacrosFromICU.h
endif

javascriptcore_sources += \
	JavaScriptCore/wtf/VMTags.h \
	JavaScriptCore/yarr/RegexCompiler.cpp \
	JavaScriptCore/yarr/RegexCompiler.h \
	JavaScriptCore/yarr/RegexInterpreter.cpp \
	JavaScriptCore/yarr/RegexInterpreter.h \
	JavaScriptCore/yarr/RegexJIT.cpp \
	JavaScriptCore/yarr/RegexJIT.h \
	JavaScriptCore/yarr/RegexParser.h \
	JavaScriptCore/yarr/RegexPattern.h

javascriptcore_sources += \
	JavaScriptCore/interpreter/RegisterFile.cpp \
	JavaScriptCore/interpreter/RegisterFile.h \
	JavaScriptCore/bytecompiler/BytecodeGenerator.cpp \
	JavaScriptCore/bytecompiler/BytecodeGenerator.h \
	JavaScriptCore/bytecompiler/NodesCodegen.cpp \
	JavaScriptCore/bytecompiler/LabelScope.h \
	JavaScriptCore/debugger/Debugger.cpp \
	JavaScriptCore/debugger/Debugger.h \
	JavaScriptCore/parser/Lexer.cpp \
	JavaScriptCore/parser/Lexer.h \
	JavaScriptCore/parser/NodeConstructors.h \
	JavaScriptCore/parser/NodeInfo.h \
	JavaScriptCore/parser/Nodes.cpp \
	JavaScriptCore/parser/Nodes.h \
	JavaScriptCore/parser/Parser.cpp \
	JavaScriptCore/parser/Parser.h \
	JavaScriptCore/parser/ParserArena.cpp \
	JavaScriptCore/parser/ParserArena.h \
	JavaScriptCore/parser/ResultType.h \
	JavaScriptCore/parser/SourceCode.h \
	JavaScriptCore/parser/SourceProvider.h \
	JavaScriptCore/runtime/ArgList.cpp \
	JavaScriptCore/runtime/ArgList.h \
	JavaScriptCore/runtime/Arguments.cpp \
	JavaScriptCore/runtime/Arguments.h \
	JavaScriptCore/runtime/ArrayConstructor.cpp \
	JavaScriptCore/runtime/ArrayConstructor.h \
	JavaScriptCore/runtime/ArrayPrototype.cpp \
	JavaScriptCore/runtime/ArrayPrototype.h \
	JavaScriptCore/runtime/BatchedTransitionOptimizer.h \
	JavaScriptCore/runtime/BooleanConstructor.cpp \
	JavaScriptCore/runtime/BooleanConstructor.h \
	JavaScriptCore/runtime/BooleanObject.cpp \
	JavaScriptCore/runtime/BooleanObject.h \
	JavaScriptCore/runtime/BooleanPrototype.cpp \
	JavaScriptCore/runtime/BooleanPrototype.h \
	JavaScriptCore/runtime/CallData.cpp \
	JavaScriptCore/runtime/CallData.h \
	JavaScriptCore/runtime/ClassInfo.h \
	JavaScriptCore/runtime/Collector.cpp \
	JavaScriptCore/runtime/Collector.h \
	JavaScriptCore/runtime/CollectorHeapIterator.h \
	JavaScriptCore/runtime/CommonIdentifiers.cpp \
	JavaScriptCore/runtime/CommonIdentifiers.h \
	JavaScriptCore/runtime/Completion.h \
	JavaScriptCore/runtime/ConstructData.cpp \
	JavaScriptCore/runtime/ConstructData.h \
	JavaScriptCore/runtime/DateConstructor.cpp \
	JavaScriptCore/runtime/DateConstructor.h \
	JavaScriptCore/runtime/DateConversion.cpp \
	JavaScriptCore/runtime/DateConversion.h \
	JavaScriptCore/runtime/DateInstance.cpp \
	JavaScriptCore/runtime/DateInstance.h \
	JavaScriptCore/runtime/DateInstanceCache.h \
	JavaScriptCore/runtime/DatePrototype.cpp \
	JavaScriptCore/runtime/DatePrototype.h \
	JavaScriptCore/runtime/Error.cpp \
	JavaScriptCore/runtime/Error.h \
	JavaScriptCore/runtime/ErrorConstructor.cpp \
	JavaScriptCore/runtime/ErrorConstructor.h \
	JavaScriptCore/runtime/ErrorInstance.cpp \
	JavaScriptCore/runtime/ErrorInstance.h \
	JavaScriptCore/runtime/ErrorPrototype.cpp \
	JavaScriptCore/runtime/ErrorPrototype.h \
	JavaScriptCore/runtime/FunctionConstructor.cpp \
	JavaScriptCore/runtime/FunctionConstructor.h \
	JavaScriptCore/runtime/FunctionPrototype.cpp \
	JavaScriptCore/runtime/FunctionPrototype.h \
	JavaScriptCore/runtime/GetterSetter.cpp \
	JavaScriptCore/runtime/GetterSetter.h \
	JavaScriptCore/runtime/GlobalEvalFunction.cpp \
	JavaScriptCore/runtime/GlobalEvalFunction.h \
	JavaScriptCore/runtime/Identifier.cpp \
	JavaScriptCore/runtime/Identifier.h \
	JavaScriptCore/runtime/InternalFunction.cpp \
	JavaScriptCore/runtime/InternalFunction.h \
	JavaScriptCore/runtime/Completion.cpp \
	JavaScriptCore/runtime/JSArray.cpp \
	JavaScriptCore/runtime/JSArray.h \
	JavaScriptCore/runtime/JSAPIValueWrapper.cpp \
	JavaScriptCore/runtime/JSAPIValueWrapper.h \
	JavaScriptCore/runtime/JSCell.cpp \
	JavaScriptCore/runtime/JSCell.h \
	JavaScriptCore/runtime/JSFunction.cpp \
	JavaScriptCore/runtime/JSFunction.h \
	JavaScriptCore/runtime/JSGlobalObject.cpp \
	JavaScriptCore/runtime/JSGlobalObject.h \
	JavaScriptCore/runtime/JSGlobalObjectFunctions.cpp \
	JavaScriptCore/runtime/JSGlobalObjectFunctions.h \
	JavaScriptCore/runtime/JSImmediate.cpp \
	JavaScriptCore/runtime/JSImmediate.h \
	JavaScriptCore/runtime/JSLock.cpp \
	JavaScriptCore/runtime/JSLock.h \
	JavaScriptCore/runtime/JSNumberCell.cpp \
	JavaScriptCore/runtime/JSNumberCell.h \
	JavaScriptCore/runtime/JSObject.cpp \
	JavaScriptCore/runtime/JSObject.h \
	JavaScriptCore/runtime/JSStaticScopeObject.cpp \
	JavaScriptCore/runtime/JSStaticScopeObject.h \
	JavaScriptCore/runtime/JSString.cpp \
	JavaScriptCore/runtime/JSString.h \
	JavaScriptCore/runtime/JSType.h \
	JavaScriptCore/runtime/JSValue.cpp \
	JavaScriptCore/runtime/JSValue.h \
	JavaScriptCore/runtime/JSVariableObject.cpp \
	JavaScriptCore/runtime/JSVariableObject.h \
	JavaScriptCore/runtime/JSWrapperObject.cpp \
	JavaScriptCore/runtime/JSWrapperObject.h \
	JavaScriptCore/runtime/Lookup.cpp \
	JavaScriptCore/runtime/Lookup.h \
	JavaScriptCore/runtime/MathObject.cpp \
	JavaScriptCore/runtime/MathObject.h \
	JavaScriptCore/runtime/NativeErrorConstructor.cpp \
	JavaScriptCore/runtime/NativeErrorConstructor.h \
	JavaScriptCore/runtime/NativeErrorPrototype.cpp \
	JavaScriptCore/runtime/NativeErrorPrototype.h \
	JavaScriptCore/runtime/NativeFunctionWrapper.h \
	JavaScriptCore/runtime/NumberConstructor.cpp \
	JavaScriptCore/runtime/NumberConstructor.h \
	JavaScriptCore/runtime/NumberObject.cpp \
	JavaScriptCore/runtime/NumberObject.h \
	JavaScriptCore/runtime/NumberPrototype.cpp \
	JavaScriptCore/runtime/NumberPrototype.h \
	JavaScriptCore/runtime/ObjectConstructor.cpp \
	JavaScriptCore/runtime/ObjectConstructor.h \
	JavaScriptCore/runtime/ObjectPrototype.cpp \
	JavaScriptCore/runtime/ObjectPrototype.h \
	JavaScriptCore/runtime/Operations.cpp \
	JavaScriptCore/runtime/Operations.h \
	JavaScriptCore/runtime/PropertyMapHashTable.h \
	JavaScriptCore/runtime/PropertyNameArray.cpp \
	JavaScriptCore/runtime/PropertyNameArray.h \
	JavaScriptCore/runtime/PropertySlot.cpp \
	JavaScriptCore/runtime/PropertySlot.h \
	JavaScriptCore/runtime/Protect.h \
	JavaScriptCore/runtime/PrototypeFunction.cpp \
	JavaScriptCore/runtime/PrototypeFunction.h \
	JavaScriptCore/runtime/PutPropertySlot.h \
	JavaScriptCore/runtime/RegExp.cpp \
	JavaScriptCore/runtime/RegExp.h \
	JavaScriptCore/runtime/RegExpConstructor.cpp \
	JavaScriptCore/runtime/RegExpConstructor.h \
	JavaScriptCore/runtime/RegExpMatchesArray.h \
	JavaScriptCore/runtime/RegExpObject.cpp \
	JavaScriptCore/runtime/RegExpObject.h \
	JavaScriptCore/runtime/RegExpPrototype.cpp \
	JavaScriptCore/runtime/RegExpPrototype.h \
	JavaScriptCore/runtime/RopeImpl.cpp \
	JavaScriptCore/runtime/RopeImpl.h \
	JavaScriptCore/runtime/ScopeChain.cpp \
	JavaScriptCore/runtime/ScopeChain.h \
	JavaScriptCore/runtime/ScopeChainMark.h \
	JavaScriptCore/runtime/StringConstructor.cpp \
	JavaScriptCore/runtime/StringConstructor.h \
	JavaScriptCore/runtime/StringObject.cpp \
	JavaScriptCore/runtime/StringObject.h \
	JavaScriptCore/runtime/StringObjectThatMasqueradesAsUndefined.h \
	JavaScriptCore/runtime/StringPrototype.cpp \
	JavaScriptCore/runtime/StringPrototype.h \
	JavaScriptCore/runtime/SymbolTable.h \
	JavaScriptCore/runtime/Tracing.h \
	JavaScriptCore/runtime/UString.cpp \
	JavaScriptCore/runtime/UString.h \
	JavaScriptCore/runtime/UStringImpl.h \
	JavaScriptCore/runtime/WeakRandom.h \
	JavaScriptCore/wtf/FastAllocBase.h \
	JavaScriptCore/wtf/FastMalloc.cpp \
	JavaScriptCore/wtf/FastMalloc.h \
	JavaScriptCore/wtf/MallocZoneSupport.h \
	JavaScriptCore/wtf/TCSystemAlloc.cpp \
	JavaScriptCore/wtf/TCSystemAlloc.h \
	JavaScriptCore/wtf/dtoa.cpp \
	JavaScriptCore/wtf/dtoa.h

javascriptcore_built_sources += \
	DerivedSources/Grammar.cpp \
	DerivedSources/Grammar.h

DerivedSources/Grammar.h: DerivedSources/Grammar.cpp;

DerivedSources/Grammar.cpp: $(srcdir)/JavaScriptCore/parser/Grammar.y
	$(BISON) -d -p jscyy $(srcdir)/JavaScriptCore/parser/Grammar.y -o $@ > bison_out.txt 2>&1
	$(PERL) -p -e 'END { if ($$conflict) { unlink "Grammar.cpp"; die; } } $$conflict ||= /conflict/' < bison_out.txt
	cat $(GENSOURCES)/Grammar.hpp > $(GENSOURCES)/Grammar.h
	rm -f $(GENSOURCES)/Grammar.hpp bison_out.txt

DerivedSources/Lexer.lut.h: $(CREATE_HASH_TABLE) $(srcdir)/JavaScriptCore/parser/Keywords.table
	$(PERL) $^ > $@

JavaScriptCore/%.lut.h: $(CREATE_HASH_TABLE) $(srcdir)/JavaScriptCore/%.cpp
	$(PERL) $^ -i > $@

JavaScriptCore/RegExpJitTables.h: $(srcdir)/JavaScriptCore/create_regex_tables
	$(PYTHON) $(srcdir)/JavaScriptCore/create_regex_tables > $@

JavaScriptCore/pcre/chartables.c: $(srcdir)/JavaScriptCore/pcre/dftables
	$(PERL) $^ $@

bin_PROGRAMS += \
	Programs/jsc

noinst_PROGRAMS += \
	Programs/minidom

# minidom
Programs_minidom_SOURCES = \
	JavaScriptCore/API/tests/JSNode.c \
	JavaScriptCore/API/tests/JSNode.h \
	JavaScriptCore/API/tests/JSNodeList.c \
	JavaScriptCore/API/tests/JSNodeList.h \
	JavaScriptCore/API/tests/Node.c \
	JavaScriptCore/API/tests/Node.h \
	JavaScriptCore/API/tests/NodeList.c \
	JavaScriptCore/API/tests/NodeList.h \
	JavaScriptCore/API/tests/minidom.c

Programs_minidom_CPPFLAGS = \
	$(global_cppflags) \
	$(javascriptcore_cppflags)

Programs_minidom_CFLAGS = \
	-ansi \
	-fno-strict-aliasing \
	$(global_cflags) \
	$(GLOBALDEPS_CFLAGS)

Programs_minidom_LDADD = \
	 libJavaScriptCore.la \
	 -lm \
	 -lstdc++

Programs_minidom_LDFLAGS = \
	-no-install \
	-no-fast-install

# jsc
Programs_jsc_SOURCES = \
	JavaScriptCore/jsc.cpp

Programs_jsc_CPPFLAGS = \
	$(global_cppflags) \
	$(javascriptcore_cppflags)

Programs_jsc_CXXFLAGS = \
	-fno-strict-aliasing \
	$(global_cxxflags) \
	$(global_cflags) \
	$(GLOBALDEPS_CFLAGS) \
	$(UNICODE_CFLAGS)

Programs_jsc_LDADD = \
	libJavaScriptCore.la

javascriptcore_dist += \
	$(CREATE_HASH_TABLE) \
	$(CREATE_REGEXP_TABLES) \
	JavaScriptCore/AUTHORS \
	JavaScriptCore/COPYING.LIB \
	JavaScriptCore/ChangeLog \
	JavaScriptCore/THANKS \
	JavaScriptCore/icu/LICENSE \
	JavaScriptCore/icu/README \
	JavaScriptCore/pcre/COPYING \
	JavaScriptCore/pcre/AUTHORS \
	JavaScriptCore/pcre/dftables \
	JavaScriptCore/pcre/ucptable.cpp \
	JavaScriptCore/parser/Grammar.y \
	JavaScriptCore/parser/Keywords.table

# Clean rules for JavaScriptCore
CLEANFILES += \
	JavaScriptCore/runtime/ArrayPrototype.lut.h \
	JavaScriptCore/runtime/DatePrototype.lut.h \
	JavaScriptCore/runtime/JSONObject.lut.h \
	JavaScriptCore/runtime/MathObject.lut.h \
	JavaScriptCore/runtime/NumberConstructor.lut.h \
	JavaScriptCore/runtime/RegExpConstructor.lut.h \
	JavaScriptCore/runtime/RegExpObject.lut.h \
	JavaScriptCore/runtime/StringPrototype.lut.h \
	JavaScriptCore/pcre/chartables.c \
	Programs/jsc \
	Programs/minidom