summaryrefslogtreecommitdiffstats
path: root/meta/recipes-sato/webkit/files/GNUmakefile.am
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2012-07-13 15:20:39 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-17 10:54:06 +0100
commit7765ad4d69bfb6c15fb436e509574629e896f2e6 (patch)
tree2c0d8faef77d56cf28bbce2b90a5619e5e5a3fd6 /meta/recipes-sato/webkit/files/GNUmakefile.am
parentc9f855e0400dd8050a459bf34f685159218f7e53 (diff)
downloadpoky-7765ad4d69bfb6c15fb436e509574629e896f2e6.tar.gz
webkit-gtk: remove svn recipe
(From OE-Core rev: ecb18e2b6a8fc16b323f93c62ed5ff5b080c5dd0) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-sato/webkit/files/GNUmakefile.am')
-rw-r--r--meta/recipes-sato/webkit/files/GNUmakefile.am280
1 files changed, 0 insertions, 280 deletions
diff --git a/meta/recipes-sato/webkit/files/GNUmakefile.am b/meta/recipes-sato/webkit/files/GNUmakefile.am
deleted file mode 100644
index 4d2785f241..0000000000
--- a/meta/recipes-sato/webkit/files/GNUmakefile.am
+++ /dev/null
@@ -1,280 +0,0 @@
1# Top-level Makefile rule for automake
2#
3# Variable conventions:
4#
5# _h_api = API headers that will be installed and included in the distribution
6# _cppflags = flags that will be passed to the C/CXX Preprocessor
7# _sources = sources that will be compiled and included in the distribution
8# _built_sources = files that will be autogenerated by the build system and
9# will be part of the _SOURCES primary
10# _built_nosources = files that are autogenerated but are not part of the
11# _SOURCES primary
12# _cleanfiles = files that will be removed by the clean target
13#
14# Sources, headers, flags, etc... should be added to the respective variables
15# with the above suffix, e.g, webcore-specific sources should go to
16# webcore_sources, gtk port API and WebCoreSupport parts to webkitgtk_sources,
17# etc... The only exceptions are the global variables. See Global Variables
18# below.
19
20# Global Variables Reference
21# global_cppflags = CPPFLAGS that apply to all C/C++ files that are built for any project.
22# global_cflags = CFLAGS that apply to all C files that are built for any project.
23# global_cxxflags = CXXFLAGS that apply to all C++ files that are bult for any project.
24
25srcdir = @srcdir@
26VPATH = @srcdir@
27
28DISTCHECK_CONFIGURE_FLAGS = \
29 --enable-introspection \
30 --enable-gtk-doc \
31 --enable-webkit2
32
33# Directory for autogenerated sources
34GENSOURCES := $(top_builddir)/DerivedSources
35GENSOURCES_JAVASCRIPTCORE := $(top_builddir)/DerivedSources/JavaScriptCore
36GENSOURCES_WEBCORE := $(top_builddir)/DerivedSources/WebCore
37GENSOURCES_WEBKIT := $(top_builddir)/DerivedSources/webkit
38GENSOURCES_WEBKIT2 := $(top_builddir)/DerivedSources/WebKit2
39GENPROGRAMS := $(top_builddir)/Programs
40GENSOURCES_INSPECTOR := $(GENPROGRAMS)/resources/inspector
41WebCore := $(srcdir)/Source/WebCore
42WebKit := $(srcdir)/Source/WebKit/gtk
43WebKit2 := $(srcdir)/Source/WebKit2
44pkgconfigdir := $(libdir)/pkgconfig
45libwebkitgtkincludedir := $(prefix)/include/webkitgtk-@WEBKITGTK_API_VERSION@
46
47# Libraries and support components
48bin_PROGRAMS :=
49noinst_PROGRAMS :=
50libexec_PROGRAMS :=
51noinst_HEADERS :=
52noinst_LTLIBRARIES :=
53lib_LTLIBRARIES :=
54IDL_BINDINGS :=
55TEST_PROGS :=
56POFILES :=
57MOFILES :=
58javascriptcore_h_api :=
59javascriptcore_cppflags:=
60javascriptcore_cflags :=
61javascriptcore_sources :=
62javascriptcore_built_sources :=
63javascriptcore_built_nosources :=
64webcore_cppflags :=
65webcore_sources :=
66webcore_libadd :=
67webcore_built_sources :=
68webcore_built_nosources :=
69webcoregtk_sources :=
70webcoregtk_cppflags :=
71webkitgtk_built_h_api :=
72webkitgtk_static_h_api :=
73webkitgtk_h_api :=
74webkitgtk_sources :=
75webkitgtk_cppflags :=
76webkitgtk_gdom_built_sources :=
77webkitgtk_built_sources :=
78webkitgtk_built_nosources :=
79webkit2_built_sources :=
80webkit2_plugin_process_built_sources :=
81webkittestrunner_built_sources :=
82libwebcoreinternals_built_sources :=
83global_cppflags :=
84global_cflags :=
85global_cxxflags :=
86JSCORE_GIRSOURCES :=
87WEBKIT_GIRSOURCES :=
88FEATURE_DEFINES :=
89typelibsdir :=
90typelibs_DATA :=
91EXTRA_DIST :=
92BUILT_SOURCES :=
93CLEANFILES :=
94DOMAIN :=
95DISTCLEANFILES :=
96MAINTAINERCLEANFILES :=
97pkgconfig_DATA :=
98
99# We do not care at all about this implicit built-in make rules,
100# disable them to save some build time
101%: %.c
102%: %.cpp
103%: %.o
104(%): %
105%.out: %
106%.c: %.w %.ch
107%.tex: %.w %.ch
108%:: %,v
109%:: RCS/%,v
110%:: RCS/%
111%:: s.%
112%:: SCCS/s.%
113
114global_cppflags += \
115 -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type \
116 -Wformat -Wformat-security -Wno-format-y2k -Wundef \
117 -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings \
118 -Wno-unused-parameter -Wno-parentheses \
119 -fno-exceptions -DENABLE_GLIB_SUPPORT=1
120
121
122global_cxxflags += \
123 -fno-rtti
124
125# -no-undefined required for building DLLs on Windows
126# It breaks the build on other platforms, so we use it conditionally
127if OS_WIN32
128no_undefined = -no-undefined
129version_script = -export-symbols-regex "^(webkit_|k?JS).*"
130endif
131
132if OS_GNU
133version_script = -Wl,--version-script,$(srcdir)/Source/autotools/symbols.filter
134endif
135
136# Extra checks and flags
137global_cppflags += \
138 -DBUILDING_CAIRO__=1 \
139 -DBUILDING_GTK__=1 \
140 -DWTF_CHANGES
141
142# For the Gtk port we want to use XP_UNIX both in X11 and Mac
143if !TARGET_WIN32
144global_cppflags += \
145 -DXP_UNIX
146endif
147
148if USE_ICU_UNICODE
149global_cppflags += \
150 -DWTF_USE_ICU_UNICODE=1
151endif
152
153if USE_GLIB_UNICODE
154global_cppflags += \
155 -DWTF_USE_GLIB_UNICODE=1
156endif
157
158if !ENABLE_FAST_MALLOC
159global_cppflags += \
160 -DUSE_SYSTEM_MALLOC
161endif
162
163if USE_GSTREAMER
164global_cppflags += \
165 -DWTF_USE_GSTREAMER=1
166endif
167
168# ----
169# GTK+ 2.x/3.x support
170# ----
171if GTK_API_VERSION_2
172global_cppflags += \
173 -DGTK_API_VERSION_2=1
174endif
175
176if !ENABLE_DEBUG
177global_cppflags += -DNDEBUG
178else
179global_cppflags += \
180 -DG_DISABLE_DEPRECATED \
181 -DGDK_PIXBUF_DISABLE_DEPRECATED \
182 -DGDK_DISABLE_DEPRECATED \
183 -DGTK_DISABLE_DEPRECATED \
184 -DPANGO_DISABLE_DEPRECATED
185# Might be useful in the future
186# -DGDK_MULTIHEAD_SAFE \
187# -DGTK_MULTIHEAD_SAFE
188endif
189
190if ENABLE_COVERAGE
191global_cppflags += \
192 -DGCC_GENERATE_TEST_COVERAGE_FILES \
193 -DGCC_INSTRUMENT_PROGRAM_FLOW_ARCS
194endif
195
196EXTRA_DIST += \
197 $(srcdir)/Source/autotools/symbols.filter \
198 $(srcdir)/Source/WebKit/LICENSE
199
200# Include module makefiles
201if USE_JSC
202include Source/JavaScriptCore/GNUmakefile.am
203endif
204
205include Source/WebCore/GNUmakefile.am
206include Source/WebKit/gtk/GNUmakefile.am
207include Source/WebCore/bindings/gobject/GNUmakefile.am
208include Tools/GNUmakefile.am
209include Source/WebKit/gtk/po/GNUmakefile.am
210include Tools/DumpRenderTree/gtk/GNUmakefile.ImageDiff.am
211
212if ENABLE_WEBKIT2
213include Source/WebKit2/GNUmakefile.am
214include Source/WebKit2/UIProcess/API/gtk/tests/GNUmakefile.am
215include Tools/MiniBrowser/gtk/GNUmakefile.am
216include Tools/WebKitTestRunner/GNUmakefile.am
217# [GTK] Refactor the translations now that we have webkit2
218# https://bugs.webkit.org/show_bug.cgi?id=55153
219endif
220
221# Autogenerated sources
222BUILT_SOURCES += \
223 $(webcore_built_sources) \
224 $(webcore_built_nosources) \
225 $(webkitgtk_built_sources) \
226 $(webkitgtk_built_nosources)
227
228if USE_JSC
229BUILT_SOURCES += \
230 $(javascriptcore_built_sources) \
231 $(javascriptcore_built_nosources)
232endif
233
234DISTCLEANFILES += \
235 $(CLEANFILES) \
236 $(builddir)/doltcompile \
237 $(builddir)/doltlibtool
238
239MAINTAINERCLEANFILES += \
240 $(CLEANFILES) \
241 $(builddir)/doltcompile \
242 $(builddir)/doltlibtool \
243 $(srcdir)/aconfig.h.in \
244 $(srcdir)/Source/autotools/config.* \
245 $(srcdir)/Source/autotools/compile \
246 $(srcdir)/Source/autotools/depcomp \
247 $(srcdir)/Source/autotools/install-sh \
248 $(srcdir)/Source/autotools/missing \
249 $(srcdir)/configure \
250 $(srcdir)/GNUmakefile.in \
251 $(srcdir)/INSTALL \
252 $(srcdir)/README \
253 $(top_builddir)/config.*
254
255# Older automake versions (1.7) place Plo files in a different place so we need
256# to create the output directory manually.
257all-local: stamp-po
258 $(mkdir_p) $(top_builddir)/$(DEPDIR)/DerivedSources
259
260# remove built sources and program directories
261clean-local:
262 -rm -rf $(GENPROGRAMS)
263
264maintainer-clean-local: distclean-local
265distclean-local:
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