summaryrefslogtreecommitdiffstats
path: root/meta/recipes-sato/webkit/files/GNUmakefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-sato/webkit/files/GNUmakefile.am')
-rw-r--r--meta/recipes-sato/webkit/files/GNUmakefile.am37
1 files changed, 33 insertions, 4 deletions
diff --git a/meta/recipes-sato/webkit/files/GNUmakefile.am b/meta/recipes-sato/webkit/files/GNUmakefile.am
index fb10790b1e..4d2785f241 100644
--- a/meta/recipes-sato/webkit/files/GNUmakefile.am
+++ b/meta/recipes-sato/webkit/files/GNUmakefile.am
@@ -27,7 +27,8 @@ VPATH = @srcdir@
27 27
28DISTCHECK_CONFIGURE_FLAGS = \ 28DISTCHECK_CONFIGURE_FLAGS = \
29 --enable-introspection \ 29 --enable-introspection \
30 --enable-gtk-doc 30 --enable-gtk-doc \
31 --enable-webkit2
31 32
32# Directory for autogenerated sources 33# Directory for autogenerated sources
33GENSOURCES := $(top_builddir)/DerivedSources 34GENSOURCES := $(top_builddir)/DerivedSources
@@ -40,10 +41,13 @@ GENSOURCES_INSPECTOR := $(GENPROGRAMS)/resources/inspector
40WebCore := $(srcdir)/Source/WebCore 41WebCore := $(srcdir)/Source/WebCore
41WebKit := $(srcdir)/Source/WebKit/gtk 42WebKit := $(srcdir)/Source/WebKit/gtk
42WebKit2 := $(srcdir)/Source/WebKit2 43WebKit2 := $(srcdir)/Source/WebKit2
44pkgconfigdir := $(libdir)/pkgconfig
45libwebkitgtkincludedir := $(prefix)/include/webkitgtk-@WEBKITGTK_API_VERSION@
43 46
44# Libraries and support components 47# Libraries and support components
45bin_PROGRAMS := 48bin_PROGRAMS :=
46noinst_PROGRAMS := 49noinst_PROGRAMS :=
50libexec_PROGRAMS :=
47noinst_HEADERS := 51noinst_HEADERS :=
48noinst_LTLIBRARIES := 52noinst_LTLIBRARIES :=
49lib_LTLIBRARIES := 53lib_LTLIBRARIES :=
@@ -73,6 +77,8 @@ webkitgtk_gdom_built_sources :=
73webkitgtk_built_sources := 77webkitgtk_built_sources :=
74webkitgtk_built_nosources := 78webkitgtk_built_nosources :=
75webkit2_built_sources := 79webkit2_built_sources :=
80webkit2_plugin_process_built_sources :=
81webkittestrunner_built_sources :=
76libwebcoreinternals_built_sources := 82libwebcoreinternals_built_sources :=
77global_cppflags := 83global_cppflags :=
78global_cflags := 84global_cflags :=
@@ -85,8 +91,10 @@ typelibs_DATA :=
85EXTRA_DIST := 91EXTRA_DIST :=
86BUILT_SOURCES := 92BUILT_SOURCES :=
87CLEANFILES := 93CLEANFILES :=
94DOMAIN :=
88DISTCLEANFILES := 95DISTCLEANFILES :=
89MAINTAINERCLEANFILES := 96MAINTAINERCLEANFILES :=
97pkgconfig_DATA :=
90 98
91# We do not care at all about this implicit built-in make rules, 99# We do not care at all about this implicit built-in make rules,
92# disable them to save some build time 100# disable them to save some build time
@@ -187,11 +195,13 @@ endif
187 195
188EXTRA_DIST += \ 196EXTRA_DIST += \
189 $(srcdir)/Source/autotools/symbols.filter \ 197 $(srcdir)/Source/autotools/symbols.filter \
190 $(srcdir)/gtk-doc.make \
191 $(srcdir)/Source/WebKit/LICENSE 198 $(srcdir)/Source/WebKit/LICENSE
192 199
193# Include module makefiles 200# Include module makefiles
201if USE_JSC
194include Source/JavaScriptCore/GNUmakefile.am 202include Source/JavaScriptCore/GNUmakefile.am
203endif
204
195include Source/WebCore/GNUmakefile.am 205include Source/WebCore/GNUmakefile.am
196include Source/WebKit/gtk/GNUmakefile.am 206include Source/WebKit/gtk/GNUmakefile.am
197include Source/WebCore/bindings/gobject/GNUmakefile.am 207include Source/WebCore/bindings/gobject/GNUmakefile.am
@@ -201,6 +211,7 @@ include Tools/DumpRenderTree/gtk/GNUmakefile.ImageDiff.am
201 211
202if ENABLE_WEBKIT2 212if ENABLE_WEBKIT2
203include Source/WebKit2/GNUmakefile.am 213include Source/WebKit2/GNUmakefile.am
214include Source/WebKit2/UIProcess/API/gtk/tests/GNUmakefile.am
204include Tools/MiniBrowser/gtk/GNUmakefile.am 215include Tools/MiniBrowser/gtk/GNUmakefile.am
205include Tools/WebKitTestRunner/GNUmakefile.am 216include Tools/WebKitTestRunner/GNUmakefile.am
206# [GTK] Refactor the translations now that we have webkit2 217# [GTK] Refactor the translations now that we have webkit2
@@ -209,13 +220,17 @@ endif
209 220
210# Autogenerated sources 221# Autogenerated sources
211BUILT_SOURCES += \ 222BUILT_SOURCES += \
212 $(javascriptcore_built_sources) \
213 $(javascriptcore_built_nosources) \
214 $(webcore_built_sources) \ 223 $(webcore_built_sources) \
215 $(webcore_built_nosources) \ 224 $(webcore_built_nosources) \
216 $(webkitgtk_built_sources) \ 225 $(webkitgtk_built_sources) \
217 $(webkitgtk_built_nosources) 226 $(webkitgtk_built_nosources)
218 227
228if USE_JSC
229BUILT_SOURCES += \
230 $(javascriptcore_built_sources) \
231 $(javascriptcore_built_nosources)
232endif
233
219DISTCLEANFILES += \ 234DISTCLEANFILES += \
220 $(CLEANFILES) \ 235 $(CLEANFILES) \
221 $(builddir)/doltcompile \ 236 $(builddir)/doltcompile \
@@ -249,3 +264,17 @@ clean-local:
249maintainer-clean-local: distclean-local 264maintainer-clean-local: distclean-local
250distclean-local: 265distclean-local:
251 -rm -rf $(GENSOURCES) $(GENPROGRAMS) 266 -rm -rf $(GENSOURCES) $(GENPROGRAMS)
267
268dist-hook: doc-dist-hook
269doc-dist-hook: docs-build.stamp
270 cp $(WebKit)/NEWS $(distdir)
271 @mkdir -p $(distdir)/Documentation/webkitgtk/html
272 @mkdir -p $(distdir)/Documentation/webkitgtk/tmpl
273 @-cp ./Documentation/webkitgtk/tmpl/*.sgml $(distdir)/Documentation/webkitgtk/tmpl
274 @cp ./Documentation/webkitgtk/html/* $(distdir)/Documentation/webkitgtk/html
275if ENABLE_WEBKIT2
276 @mkdir -p $(distdir)/Documentation/webkit2gtk/html
277 @mkdir -p $(distdir)/Documentation/webkit2gtk/tmpl
278 @-cp ./Documentation/webkit2gtk/tmpl/*.sgml $(distdir)/Documentation/webkit2gtk/tmpl
279 @cp ./Documentation/webkit2gtk/html/* $(distdir)/Documentation/webkit2gtk/html
280endif