1 include $(srcdir)/Source/JavaScriptCore/GNUmakefile.list.am 2 3 javascriptcore_cppflags += \ 4 -I$(srcdir)/Source \ 5 -I$(srcdir)/Source/JavaScriptCore \ 6 -I$(srcdir)/Source/JavaScriptCore/API \ 7 -I$(srcdir)/Source/JavaScriptCore/assembler \ 8 -I$(srcdir)/Source/JavaScriptCore/bytecode \ 9 -I$(srcdir)/Source/JavaScriptCore/bytecompiler \ 10 -I$(srcdir)/Source/JavaScriptCore/heap \ 11 -I$(srcdir)/Source/JavaScriptCore/debugger \ 12 -I$(srcdir)/Source/JavaScriptCore/ForwardingHeaders \ 13 -I$(srcdir)/Source/JavaScriptCore/interpreter \ 14 -I$(srcdir)/Source/JavaScriptCore/jit \ 15 -I$(srcdir)/Source/JavaScriptCore/jit \ 16 -I$(srcdir)/Source/JavaScriptCore/parser \ 17 -I$(srcdir)/Source/JavaScriptCore/profiler \ 18 -I$(srcdir)/Source/JavaScriptCore/runtime \ 19 -I$(srcdir)/Source/JavaScriptCore/wtf \ 20 -I$(srcdir)/Source/JavaScriptCore/wtf \ 21 -I$(srcdir)/Source/JavaScriptCore/wtf/gobject \ 22 -I$(srcdir)/Source/JavaScriptCore/wtf/gtk \ 23 -I$(srcdir)/Source/JavaScriptCore/wtf/text \ 24 -I$(srcdir)/Source/JavaScriptCore/wtf/unicode \ 25 -I$(srcdir)/Source/JavaScriptCore/yarr \ 26 -I$(top_builddir)/Source/JavaScriptCore \ 27 -I$(top_builddir)/Source/JavaScriptCore/parser \ 28 -I$(top_builddir)/Source/JavaScriptCore/runtime 29 30 Source/JavaScriptCore/Lexer.lut.h: $(srcdir)/Source/JavaScriptCore/create_hash_table $(srcdir)/Source/JavaScriptCore/parser/Keywords.table 31 $(AM_V_GEN)$(PERL) $^ > $@ 32 33 Source/JavaScriptCore/%.lut.h: $(srcdir)/Source/JavaScriptCore/create_hash_table $(srcdir)/Source/JavaScriptCore/%.cpp 34 $(AM_V_GEN)$(PERL) $^ -i > $@ 35 36 Source/JavaScriptCore/RegExpJitTables.h: $(srcdir)/Source/JavaScriptCore/create_regex_tables 37 $(AM_V_GEN)$(PYTHON) $^ > $@ 38 39 jsc: $(javascriptcore_built_nosources) Programs/jsc-@WEBKITGTK_API_MAJOR_VERSION@$(EXEEXT); 40 41 bin_PROGRAMS += \ 42 Programs/jsc-@WEBKITGTK_API_MAJOR_VERSION@$(EXEEXT) 43 44 noinst_PROGRAMS += \ 45 Programs/jsc \ 46 Programs/minidom 47 48 Programs_minidom_CPPFLAGS = \ 49 $(global_cppflags) \ 50 $(javascriptcore_cppflags) 51 52 Programs_minidom_CFLAGS = \ 53 -ansi \ 54 -fno-strict-aliasing \ 55 $(global_cflags) \ 56 $(GLOBALDEPS_CFLAGS) 57 58 Programs_minidom_LDADD = \ 59 libJavaScriptCore.la \ 60 $(WINMM_LIBS) \ 61 -lm \ 62 -lstdc++ 63 64 Programs_minidom_LDFLAGS = \ 65 -no-install \ 66 -no-fast-install 67 68 # jsc 69 Programs/jsc-@WEBKITGTK_API_MAJOR_VERSION@$(EXEEXT): Programs/jsc$(EXEEXT) 70 $(AM_V_GEN)cp -f Programs/jsc$(EXEEXT) Programs/jsc-@WEBKITGTK_API_MAJOR_VERSION@$(EXEEXT) 71 Programs_jsc_@WEBKITGTK_API_MAJOR_VERSION@_LDADD = 72 Programs_jsc_@WEBKITGTK_API_MAJOR_VERSION@_SOURCES = 73 74 Programs_jsc_CPPFLAGS = \ 75 $(global_cppflags) \ 76 $(javascriptcore_cppflags) 77 78 Programs_jsc_CXXFLAGS = \ 79 -fno-strict-aliasing \ 80 $(global_cxxflags) \ 81 $(global_cflags) \ 82 $(GLOBALDEPS_CFLAGS) \ 83 $(UNICODE_CFLAGS) 84 85 Programs_jsc_LDADD = \ 86 libJavaScriptCore.la \ 87 $(WINMM_LIBS) 88 89 EXTRA_DIST += \ 90 Source/JavaScriptCore/AUTHORS \ 91 Source/JavaScriptCore/ChangeLog \ 92 Source/JavaScriptCore/COPYING.LIB \ 93 Source/JavaScriptCore/create_hash_table \ 94 Source/JavaScriptCore/create_regex_tables \ 95 Source/JavaScriptCore/icu/LICENSE \ 96 Source/JavaScriptCore/icu/README \ 97 Source/JavaScriptCore/parser/Keywords.table \ 98 Source/JavaScriptCore/THANKS 99 100 # Clean rules for JavaScriptCore 101 # FIXME: Should this list be generated from javascriptcore_built_nosources? 102 CLEANFILES += \ 103 Source/JavaScriptCore/runtime/ArrayPrototype.lut.h \ 104 Source/JavaScriptCore/runtime/DatePrototype.lut.h \ 105 Source/JavaScriptCore/runtime/JSONObject.lut.h \ 106 Source/JavaScriptCore/runtime/MathObject.lut.h \ 107 Source/JavaScriptCore/runtime/NumberConstructor.lut.h \ 108 Source/JavaScriptCore/runtime/RegExpConstructor.lut.h \ 109 Source/JavaScriptCore/runtime/RegExpObject.lut.h \ 110 Source/JavaScriptCore/runtime/StringPrototype.lut.h \ 111 Programs/jsc \ 112 Programs/jsc-@WEBKITGTK_API_MAJOR_VERSION@ \ 113 Programs/minidom 114