diff options
Diffstat (limited to 'meta/recipes-sato/webkit/files/GNUmakefile.am')
-rw-r--r-- | meta/recipes-sato/webkit/files/GNUmakefile.am | 37 |
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 | ||
28 | DISTCHECK_CONFIGURE_FLAGS = \ | 28 | DISTCHECK_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 |
33 | GENSOURCES := $(top_builddir)/DerivedSources | 34 | GENSOURCES := $(top_builddir)/DerivedSources |
@@ -40,10 +41,13 @@ GENSOURCES_INSPECTOR := $(GENPROGRAMS)/resources/inspector | |||
40 | WebCore := $(srcdir)/Source/WebCore | 41 | WebCore := $(srcdir)/Source/WebCore |
41 | WebKit := $(srcdir)/Source/WebKit/gtk | 42 | WebKit := $(srcdir)/Source/WebKit/gtk |
42 | WebKit2 := $(srcdir)/Source/WebKit2 | 43 | WebKit2 := $(srcdir)/Source/WebKit2 |
44 | pkgconfigdir := $(libdir)/pkgconfig | ||
45 | libwebkitgtkincludedir := $(prefix)/include/webkitgtk-@WEBKITGTK_API_VERSION@ | ||
43 | 46 | ||
44 | # Libraries and support components | 47 | # Libraries and support components |
45 | bin_PROGRAMS := | 48 | bin_PROGRAMS := |
46 | noinst_PROGRAMS := | 49 | noinst_PROGRAMS := |
50 | libexec_PROGRAMS := | ||
47 | noinst_HEADERS := | 51 | noinst_HEADERS := |
48 | noinst_LTLIBRARIES := | 52 | noinst_LTLIBRARIES := |
49 | lib_LTLIBRARIES := | 53 | lib_LTLIBRARIES := |
@@ -73,6 +77,8 @@ webkitgtk_gdom_built_sources := | |||
73 | webkitgtk_built_sources := | 77 | webkitgtk_built_sources := |
74 | webkitgtk_built_nosources := | 78 | webkitgtk_built_nosources := |
75 | webkit2_built_sources := | 79 | webkit2_built_sources := |
80 | webkit2_plugin_process_built_sources := | ||
81 | webkittestrunner_built_sources := | ||
76 | libwebcoreinternals_built_sources := | 82 | libwebcoreinternals_built_sources := |
77 | global_cppflags := | 83 | global_cppflags := |
78 | global_cflags := | 84 | global_cflags := |
@@ -85,8 +91,10 @@ typelibs_DATA := | |||
85 | EXTRA_DIST := | 91 | EXTRA_DIST := |
86 | BUILT_SOURCES := | 92 | BUILT_SOURCES := |
87 | CLEANFILES := | 93 | CLEANFILES := |
94 | DOMAIN := | ||
88 | DISTCLEANFILES := | 95 | DISTCLEANFILES := |
89 | MAINTAINERCLEANFILES := | 96 | MAINTAINERCLEANFILES := |
97 | pkgconfig_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 | ||
188 | EXTRA_DIST += \ | 196 | EXTRA_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 |
201 | if USE_JSC | ||
194 | include Source/JavaScriptCore/GNUmakefile.am | 202 | include Source/JavaScriptCore/GNUmakefile.am |
203 | endif | ||
204 | |||
195 | include Source/WebCore/GNUmakefile.am | 205 | include Source/WebCore/GNUmakefile.am |
196 | include Source/WebKit/gtk/GNUmakefile.am | 206 | include Source/WebKit/gtk/GNUmakefile.am |
197 | include Source/WebCore/bindings/gobject/GNUmakefile.am | 207 | include Source/WebCore/bindings/gobject/GNUmakefile.am |
@@ -201,6 +211,7 @@ include Tools/DumpRenderTree/gtk/GNUmakefile.ImageDiff.am | |||
201 | 211 | ||
202 | if ENABLE_WEBKIT2 | 212 | if ENABLE_WEBKIT2 |
203 | include Source/WebKit2/GNUmakefile.am | 213 | include Source/WebKit2/GNUmakefile.am |
214 | include Source/WebKit2/UIProcess/API/gtk/tests/GNUmakefile.am | ||
204 | include Tools/MiniBrowser/gtk/GNUmakefile.am | 215 | include Tools/MiniBrowser/gtk/GNUmakefile.am |
205 | include Tools/WebKitTestRunner/GNUmakefile.am | 216 | include 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 |
211 | BUILT_SOURCES += \ | 222 | BUILT_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 | ||
228 | if USE_JSC | ||
229 | BUILT_SOURCES += \ | ||
230 | $(javascriptcore_built_sources) \ | ||
231 | $(javascriptcore_built_nosources) | ||
232 | endif | ||
233 | |||
219 | DISTCLEANFILES += \ | 234 | DISTCLEANFILES += \ |
220 | $(CLEANFILES) \ | 235 | $(CLEANFILES) \ |
221 | $(builddir)/doltcompile \ | 236 | $(builddir)/doltcompile \ |
@@ -249,3 +264,17 @@ clean-local: | |||
249 | maintainer-clean-local: distclean-local | 264 | maintainer-clean-local: distclean-local |
250 | distclean-local: | 265 | distclean-local: |
251 | -rm -rf $(GENSOURCES) $(GENPROGRAMS) | 266 | -rm -rf $(GENSOURCES) $(GENPROGRAMS) |
267 | |||
268 | dist-hook: doc-dist-hook | ||
269 | doc-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 | ||
275 | if 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 | ||
280 | endif | ||