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 = $(libwebkitgtkincludedir)/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 = \
32 libjavascriptcoregtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_CXXFLAGS = \
34 $(libjavascriptcoregtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_CFLAGS)
36 libjavascriptcoregtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_CFLAGS = \
39 $(javascriptcore_cflags)
41 libjavascriptcoregtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_CPPFLAGS = \
43 $(javascriptcore_cppflags)
45 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/dfg \
54 -I$(srcdir)/Source/JavaScriptCore/heap \
55 -I$(srcdir)/Source/JavaScriptCore/debugger \
56 -I$(srcdir)/Source/JavaScriptCore/ForwardingHeaders \
57 -I$(srcdir)/Source/JavaScriptCore/interpreter \
58 -I$(srcdir)/Source/JavaScriptCore/jit \
59 -I$(srcdir)/Source/JavaScriptCore/jit \
60 -I$(srcdir)/Source/JavaScriptCore/llint \
61 -I$(srcdir)/Source/JavaScriptCore/parser \
62 -I$(srcdir)/Source/JavaScriptCore/profiler \
63 -I$(srcdir)/Source/JavaScriptCore/runtime \
64 -I$(srcdir)/Source/JavaScriptCore/tools \
65 -I$(srcdir)/Source/JavaScriptCore/yarr \
66 -I$(top_builddir)/DerivedSources/JavaScriptCore
68 javascriptcore_cppflags += \
69 -I$(srcdir)/Source/WTF
71 javascriptcore_cflags += \
76 pkgconfig_DATA += Source/JavaScriptCore/javascriptcoregtk-@WEBKITGTK_API_VERSION@.pc
78 $(shell mkdir -p DerivedSources/JavaScriptCore)
80 DerivedSources/JavaScriptCore/Lexer.lut.h: $(srcdir)/Source/JavaScriptCore/create_hash_table $(srcdir)/Source/JavaScriptCore/parser/Keywords.table
81 $(AM_V_GEN)$(PERL) $^ > $@
83 DerivedSources/JavaScriptCore/%.lut.h: $(srcdir)/Source/JavaScriptCore/create_hash_table $(srcdir)/Source/JavaScriptCore/runtime/%.cpp
84 $(AM_V_GEN)$(PERL) $^ -i > $@
86 DerivedSources/JavaScriptCore/RegExpJitTables.h: $(srcdir)/Source/JavaScriptCore/create_regex_tables
87 $(AM_V_GEN)$(PYTHON) $^ > $@
89 DerivedSources/JavaScriptCore/KeywordLookup.h: $(srcdir)/Source/JavaScriptCore/KeywordLookupGenerator.py $(srcdir)/Source/JavaScriptCore/parser/Keywords.table
90 $(AM_V_GEN)$(PYTHON) $^ > $@
92 jsc: $(javascriptcore_built_nosources) Programs/jsc$(EXEEXT)
95 Programs/jsc-@WEBKITGTK_API_MAJOR_VERSION@$(EXEEXT)
101 Programs_minidom_CPPFLAGS = \
103 $(javascriptcore_cppflags)
105 Programs_minidom_CFLAGS = \
107 -fno-strict-aliasing \
111 Programs_minidom_LDADD = \
112 libjavascriptcoregtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la \
118 Programs_minidom_LDFLAGS = \
123 Programs/jsc$(EXEEXT): Programs/jsc-@WEBKITGTK_API_MAJOR_VERSION@$(EXEEXT)
124 $(AM_V_GEN)cp -f Programs/jsc-@WEBKITGTK_API_MAJOR_VERSION@$(EXEEXT) Programs/jsc$(EXEEXT)
126 Programs_jsc_SOURCES =
128 Programs_jsc_@WEBKITGTK_API_MAJOR_VERSION@_CPPFLAGS = \
130 $(javascriptcore_cppflags)
132 Programs_jsc_@WEBKITGTK_API_MAJOR_VERSION@_CXXFLAGS = \
133 -fno-strict-aliasing \
136 $(GLOBALDEPS_CFLAGS) \
139 Programs_jsc_@WEBKITGTK_API_MAJOR_VERSION@_LDADD = \
141 libjavascriptcoregtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la \
145 Source/JavaScriptCore/AUTHORS \
146 Source/JavaScriptCore/ChangeLog \
147 Source/JavaScriptCore/COPYING.LIB \
148 Source/JavaScriptCore/create_hash_table \
149 Source/JavaScriptCore/create_regex_tables \
150 Source/JavaScriptCore/icu/LICENSE \
151 Source/JavaScriptCore/icu/README \
152 Source/JavaScriptCore/KeywordLookupGenerator.py \
153 Source/JavaScriptCore/parser/Keywords.table \
154 Source/JavaScriptCore/THANKS
157 $(javascriptcore_built_nosources) \
159 Programs/jsc-@WEBKITGTK_API_MAJOR_VERSION@ \
163 $(top_builddir)/Source/JavaScriptCore/javascriptcoregtk-@WEBKITGTK_API_VERSION@.pc