1 include $(srcdir)/Source/JavaScriptCore/GNUmakefile.list.am
4 libjavascriptcoregtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la
6 # We are going to make everything public for now. When
7 # https://bugs.webkit.org/show_bug.cgi?id=27551 is fixed we'll able to
8 # simply rely on the usual symbol visibility flags.
9 libjavascriptcoregtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_LDFLAGS = \
10 -version-info @LIBWEBKITGTK_VERSION@ \
13 nodist_EXTRA_libjavascriptcoregtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_SOURCES = \
14 $(javascriptcore_built_nosources)
16 nodist_libjavascriptcoregtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_SOURCES = \
17 $(javascriptcore_built_sources)
19 libjavascriptcoregtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_ladir = $(prefix)/include/webkit-@WEBKITGTK_API_VERSION@/JavaScriptCore
20 libjavascriptcoregtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_HEADERS = $(javascriptcore_h_api)
22 libjavascriptcoregtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_SOURCES = \
23 $(javascriptcore_sources)
25 libjavascriptcoregtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_LIBADD = \
31 libjavascriptcoregtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_CXXFLAGS = \
33 $(libjavascriptcoregtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_CFLAGS)
35 libjavascriptcoregtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_CFLAGS = \
42 libjavascriptcoregtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_CPPFLAGS = \
44 $(javascriptcore_cppflags)
46 javascriptcore_cppflags += \
48 -I$(srcdir)/Source/JavaScriptCore \
49 -I$(srcdir)/Source/JavaScriptCore/API \
50 -I$(srcdir)/Source/JavaScriptCore/assembler \
51 -I$(srcdir)/Source/JavaScriptCore/bytecode \
52 -I$(srcdir)/Source/JavaScriptCore/bytecompiler \
53 -I$(srcdir)/Source/JavaScriptCore/heap \
54 -I$(srcdir)/Source/JavaScriptCore/debugger \
55 -I$(srcdir)/Source/JavaScriptCore/ForwardingHeaders \
56 -I$(srcdir)/Source/JavaScriptCore/interpreter \
57 -I$(srcdir)/Source/JavaScriptCore/jit \
58 -I$(srcdir)/Source/JavaScriptCore/jit \
59 -I$(srcdir)/Source/JavaScriptCore/parser \
60 -I$(srcdir)/Source/JavaScriptCore/profiler \
61 -I$(srcdir)/Source/JavaScriptCore/runtime \
62 -I$(srcdir)/Source/JavaScriptCore/wtf \
63 -I$(srcdir)/Source/JavaScriptCore/wtf \
64 -I$(srcdir)/Source/JavaScriptCore/wtf/gobject \
65 -I$(srcdir)/Source/JavaScriptCore/wtf/gtk \
66 -I$(srcdir)/Source/JavaScriptCore/wtf/text \
67 -I$(srcdir)/Source/JavaScriptCore/wtf/unicode \
68 -I$(srcdir)/Source/JavaScriptCore/yarr \
69 -I$(top_builddir)/Source/JavaScriptCore \
70 -I$(top_builddir)/Source/JavaScriptCore/parser \
71 -I$(top_builddir)/Source/JavaScriptCore/runtime
73 Source/JavaScriptCore/Lexer.lut.h: $(srcdir)/Source/JavaScriptCore/create_hash_table $(srcdir)/Source/JavaScriptCore/parser/Keywords.table
74 $(AM_V_GEN)$(PERL) $^ > $@
76 Source/JavaScriptCore/%.lut.h: $(srcdir)/Source/JavaScriptCore/create_hash_table $(srcdir)/Source/JavaScriptCore/%.cpp
77 $(AM_V_GEN)$(PERL) $^ -i > $@
79 Source/JavaScriptCore/RegExpJitTables.h: $(srcdir)/Source/JavaScriptCore/create_regex_tables
80 $(AM_V_GEN)$(PYTHON) $^ > $@
82 Source/JavaScriptCore/KeywordLookup.h: $(srcdir)/Source/JavaScriptCore/KeywordLookupGenerator.py $(srcdir)/Source/JavaScriptCore/parser/Keywords.table
83 $(AM_V_GEN)$(PYTHON) $^ > $@
85 jsc: $(javascriptcore_built_nosources) Programs/jsc$(EXEEXT)
88 Programs/jsc-@WEBKITGTK_API_MAJOR_VERSION@$(EXEEXT)
94 Programs_minidom_CPPFLAGS = \
96 $(javascriptcore_cppflags)
98 Programs_minidom_CFLAGS = \
100 -fno-strict-aliasing \
104 Programs_minidom_LDADD = \
105 libjavascriptcoregtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la \
111 Programs_minidom_LDFLAGS = \
116 Programs/jsc$(EXEEXT): Programs/jsc-@WEBKITGTK_API_MAJOR_VERSION@$(EXEEXT)
117 $(AM_V_GEN)cp -f Programs/jsc-@WEBKITGTK_API_MAJOR_VERSION@$(EXEEXT) Programs/jsc$(EXEEXT)
119 Programs_jsc_SOURCES =
121 Programs_jsc_@WEBKITGTK_API_MAJOR_VERSION@_CPPFLAGS = \
123 $(javascriptcore_cppflags)
125 Programs_jsc_@WEBKITGTK_API_MAJOR_VERSION@_CXXFLAGS = \
126 -fno-strict-aliasing \
129 $(GLOBALDEPS_CFLAGS) \
132 Programs_jsc_@WEBKITGTK_API_MAJOR_VERSION@_LDADD = \
134 libjavascriptcoregtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la \
138 Source/JavaScriptCore/AUTHORS \
139 Source/JavaScriptCore/ChangeLog \
140 Source/JavaScriptCore/COPYING.LIB \
141 Source/JavaScriptCore/create_hash_table \
142 Source/JavaScriptCore/create_regex_tables \
143 Source/JavaScriptCore/icu/LICENSE \
144 Source/JavaScriptCore/icu/README \
145 Source/JavaScriptCore/parser/Keywords.table \
146 Source/JavaScriptCore/THANKS
148 # Clean rules for JavaScriptCore
149 # FIXME: Should this list be generated from javascriptcore_built_nosources?
151 Source/JavaScriptCore/Lexer.lut.h \
152 Source/JavaScriptCore/RegExpJitTables.h \
153 Source/JavaScriptCore/runtime/ArrayConstructor.lut.h \
154 Source/JavaScriptCore/runtime/ArrayPrototype.lut.h \
155 Source/JavaScriptCore/runtime/BooleanPrototype.lut.h \
156 Source/JavaScriptCore/runtime/DateConstructor.lut.h \
157 Source/JavaScriptCore/runtime/DatePrototype.lut.h \
158 Source/JavaScriptCore/runtime/ErrorPrototype.lut.h \
159 Source/JavaScriptCore/runtime/JSGlobalObject.lut.h \
160 Source/JavaScriptCore/runtime/JSONObject.lut.h \
161 Source/JavaScriptCore/runtime/MathObject.lut.h \
162 Source/JavaScriptCore/runtime/NumberConstructor.lut.h \
163 Source/JavaScriptCore/runtime/NumberPrototype.lut.h \
164 Source/JavaScriptCore/runtime/ObjectConstructor.lut.h \
165 Source/JavaScriptCore/runtime/ObjectPrototype.lut.h \
166 Source/JavaScriptCore/runtime/RegExpConstructor.lut.h \
167 Source/JavaScriptCore/runtime/RegExpObject.lut.h \
168 Source/JavaScriptCore/runtime/RegExpPrototype.lut.h \
169 Source/JavaScriptCore/runtime/StringConstructor.lut.h \
170 Source/JavaScriptCore/runtime/StringPrototype.lut.h \
172 Programs/jsc-@WEBKITGTK_API_MAJOR_VERSION@ \