1b453c493275f2a8e8bce63d62e376dd3c8dccc7
[WebKit-https.git] / Source / WebKit2 / GNUmakefile.am
1 include $(srcdir)/Source/WebKit2/GNUmakefile.list.am
2
3 if ENABLE_WEBKIT2
4 # Shared libraries
5 lib_LTLIBRARIES += \
6         libwebkit2gtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la
7
8 # Static libraries
9 noinst_LTLIBRARIES += \
10         libWebKit2Platform.la
11
12 # We need to make sure plugin process is always built with gtk2, because plugins like flash
13 # still use gtk2. Since webcore was built with gtk3, we need to build webcoregtk sources again with gtk2
14 noinst_LTLIBRARIES += \
15         libPlatformGtk2.la \
16         libWebCoreGtk2.la
17
18 libexec_PROGRAMS += \
19         Programs/WebKitPluginProcess
20 endif
21
22 ${GENSOURCES_WEBINSPECTOR_UI}/WebKit2GResourceBundle.c: \
23                 $(WebKit2)/UIProcess/InspectorServer/front-end/inspectorPageIndex.html \
24                 $(WebKit2)/UIProcess/API/gtk/WebKit2InspectorGResourceBundle.xml
25         $(AM_V_GEN)
26         $(AM_V_at)glib-compile-resources --generate --sourcedir=$(WebKit2)/UIProcess/InspectorServer/front-end \
27                 --target=${GENSOURCES_WEBINSPECTOR_UI}/WebKit2GResourceBundle.c $(WebKit2)/UIProcess/API/gtk/WebKit2InspectorGResourceBundle.xml
28
29 webkit2gtk_built_sources += \
30         DerivedSources/WebInspectorUI/WebKit2GResourceBundle.c
31
32 # Platform
33 libWebKit2Platform_la_SOURCES = \
34         $(webkit2platform_sources)
35
36 libWebKit2Platform_la_CXXFLAGS = \
37         -fvisibility-inlines-hidden \
38         $(global_cxxflags)
39
40 libWebKit2Platform_la_CFLAGS = \
41         -fvisibility=hidden \
42         $(global_cflags)
43
44 libWebKit2Platform_la_CPPFLAGS = \
45         -DBUILDING_WEBKIT \
46         $(global_cppflags) \
47         -fno-strict-aliasing \
48         -include $(srcdir)/Source/WebKit2/WebKit2Prefix.h \
49         -I$(srcdir)/Source/WebKit2 \
50         -I$(srcdir)/Source \
51         -I$(srcdir)/Source/WTF \
52         -I$(srcdir)/Source/WebKit2/Platform \
53         -I$(srcdir)/Source/WebKit2/Platform/IPC/gtk \
54         -I$(srcdir)/Source/WebKit2/Platform/IPC \
55         -I$(srcdir)/Source/WebKit2/Platform/gtk \
56         -I$(top_builddir)/DerivedSources/WebKit2/include \
57         $(javascriptcore_cppflags) \
58         $(COVERAGE_CFLAGS) \
59         $(GLIB_CFLAGS)
60
61
62 libwebkit2gtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_HEADERS = \
63         $(webkit2gtk_ui_h_api) \
64         $(webkit2gtk_web_extension_h_api)
65
66 nodist_libwebkit2gtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_HEADERS = \
67         DerivedSources/WebKit2/webkit2gtk/webkit2/WebKitEnumTypes.h \
68         DerivedSources/WebKit2/webkit2gtk/webkit2/WebKitVersion.h
69
70 nodist_libwebkit2gtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_SOURCES = \
71         $(webkit2_built_sources) \
72         $(webkit2gtk_built_sources)
73
74 libwebkit2gtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_SOURCES = \
75         $(webkit2_sources)
76
77 libwebkit2gtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_CPPFLAGS = \
78         -fno-strict-aliasing \
79         -DPACKAGE_LOCALE_DIR=\"$(localedir)\" \
80         $(global_cppflags) \
81         -include $(srcdir)/Source/WebKit2/WebKit2Prefix.h \
82         -I$(srcdir)/Source/WebKit/gtk \
83         -I$(srcdir)/Source/WebKit2 \
84         -I$(srcdir)/Source/WebKit2/gtk \
85         -I$(srcdir)/Source/WebKit2/NetworkProcess \
86         -I$(srcdir)/Source/WebKit2/NetworkProcess/FileAPI \
87         -I$(srcdir)/Source/WebKit2/Platform \
88         -I$(srcdir)/Source/WebKit2/Platform/IPC/gtk \
89         -I$(srcdir)/Source/WebKit2/Platform/IPC \
90         -I$(srcdir)/Source/WebKit2/Platform/gtk \
91         -I$(srcdir)/Source/WebKit2/PluginProcess \
92         -I$(srcdir)/Source/WebKit2/Shared \
93         -I$(srcdir)/Source/WebKit2/Shared/API \
94         -I$(srcdir)/Source/WebKit2/Shared/API/c \
95         -I$(srcdir)/Source/WebKit2/Shared/API/c/gtk \
96         -I$(srcdir)/Source/WebKit2/Shared/API/c/soup \
97         -I$(srcdir)/Source/WebKit2/Shared/Authentication \
98         -I$(srcdir)/Source/WebKit2/Shared/CoreIPCSupport \
99         -I$(srcdir)/Source/WebKit2/Shared/Downloads \
100         -I$(srcdir)/Source/WebKit2/Shared/Downloads/soup \
101         -I$(srcdir)/Source/WebKit2/Shared/FileAPI \
102         -I$(srcdir)/Source/WebKit2/Shared/Databases \
103         -I$(srcdir)/Source/WebKit2/Shared/Databases/IndexedDB \
104         -I$(srcdir)/Source/WebKit2/Shared/gtk \
105         -I$(srcdir)/Source/WebKit2/Shared/Network \
106         -I$(srcdir)/Source/WebKit2/Shared/Network/CustomProtocols \
107         -I$(srcdir)/Source/WebKit2/Shared/Network/CustomProtocols/soup \
108         -I$(srcdir)/Source/WebKit2/Shared/Plugins \
109         -I$(srcdir)/Source/WebKit2/Shared/Plugins/Netscape \
110         -I$(srcdir)/Source/WebKit2/Shared/Plugins/Netscape/x11 \
111         -I$(srcdir)/Source/WebKit2/Shared/soup \
112         -I$(srcdir)/Source/WebKit2/UIProcess \
113         -I$(srcdir)/Source/WebKit2/UIProcess/API \
114         -I$(srcdir)/Source/WebKit2/UIProcess/API/C \
115         -I$(srcdir)/Source/WebKit2/UIProcess/API/C/gtk \
116         -I$(srcdir)/Source/WebKit2/UIProcess/API/C/soup \
117         -I$(srcdir)/Source/WebKit2/UIProcess/API/cpp \
118         -I$(srcdir)/Source/WebKit2/UIProcess/API/gtk \
119         -I$(srcdir)/Source/WebKit2/UIProcess/Authentication \
120         -I$(srcdir)/Source/WebKit2/UIProcess/Downloads \
121         -I$(srcdir)/Source/WebKit2/UIProcess/gtk \
122         -I$(srcdir)/Source/WebKit2/UIProcess/Launcher \
123         -I$(srcdir)/Source/WebKit2/UIProcess/Launcher/gtk \
124         -I$(srcdir)/Source/WebKit2/UIProcess/Network \
125         -I$(srcdir)/Source/WebKit2/UIProcess/Network/CustomProtocols \
126         -I$(srcdir)/Source/WebKit2/UIProcess/Network/CustomProtocols/soup \
127         -I$(srcdir)/Source/WebKit2/UIProcess/Notifications \
128         -I$(srcdir)/Source/WebKit2/UIProcess/Plugins \
129         -I$(srcdir)/Source/WebKit2/UIProcess/Plugins/unix \
130         -I$(srcdir)/Source/WebKit2/UIProcess/Storage \
131         -I$(srcdir)/Source/WebKit2/UIProcess/soup \
132         -I$(srcdir)/Source/WebKit2/UIProcess/InspectorServer \
133         -I$(srcdir)/Source/WebKit2/WebProcess \
134         -I$(srcdir)/Source/WebKit2/WebProcess/ApplicationCache \
135         -I$(srcdir)/Source/WebKit2/WebProcess/Battery \
136         -I$(srcdir)/Source/WebKit2/WebProcess/Cookies \
137         -I$(srcdir)/Source/WebKit2/WebProcess/Databases \
138         -I$(srcdir)/Source/WebKit2/WebProcess/Databases/IndexedDB \
139         -I$(srcdir)/Source/WebKit2/WebProcess/FileAPI \
140         -I$(srcdir)/Source/WebKit2/WebProcess/FullScreen \
141         -I$(srcdir)/Source/WebKit2/WebProcess/Geolocation \
142         -I$(srcdir)/Source/WebKit2/WebProcess/gtk \
143         -I$(srcdir)/Source/WebKit2/WebProcess/IconDatabase \
144         -I$(srcdir)/Source/WebKit2/WebProcess/InjectedBundle \
145         -I$(srcdir)/Source/WebKit2/WebProcess/InjectedBundle/API \
146         -I$(srcdir)/Source/WebKit2/WebProcess/InjectedBundle/API/c \
147         -I$(srcdir)/Source/WebKit2/WebProcess/InjectedBundle/API/gtk \
148         -I$(srcdir)/Source/WebKit2/WebProcess/InjectedBundle/DOM \
149         -I$(srcdir)/Source/WebKit2/WebProcess/InjectedBundle/gtk \
150         -I$(srcdir)/Source/WebKit2/WebProcess/KeyValueStorage \
151         -I$(srcdir)/Source/WebKit2/WebProcess/Launching \
152         -I$(srcdir)/Source/WebKit2/WebProcess/MediaCache \
153         -I$(srcdir)/Source/WebKit2/WebProcess/Network \
154         -I$(srcdir)/Source/WebKit2/WebProcess/NetworkInfo \
155         -I$(srcdir)/Source/WebKit2/WebProcess/Notifications \
156         -I$(srcdir)/Source/WebKit2/WebProcess/OriginData \
157         -I$(srcdir)/Source/WebKit2/WebProcess/ResourceCache \
158         -I$(srcdir)/Source/WebKit2/WebProcess/Storage \
159         -I$(srcdir)/Source/WebKit2/WebProcess/soup \
160         -I$(srcdir)/Source/WebKit2/WebProcess/Plugins \
161         -I$(srcdir)/Source/WebKit2/WebProcess/Plugins/Netscape \
162         -I$(srcdir)/Source/WebKit2/WebProcess/Plugins/Netscape/unix \
163         -I$(srcdir)/Source/WebKit2/WebProcess/WebCoreSupport \
164         -I$(srcdir)/Source/WebKit2/WebProcess/WebCoreSupport/gtk \
165         -I$(srcdir)/Source/WebKit2/WebProcess/WebCoreSupport/soup \
166         -I$(srcdir)/Source/WebKit2/WebProcess/WebPage \
167         -I$(srcdir)/Source/WebKit2/WebProcess/WebPage/atk \
168         -I$(srcdir)/Source/WebKit2/WebProcess/WebPage/gtk \
169         -I$(top_builddir)/DerivedSources/WebKit2 \
170         -I$(top_builddir)/DerivedSources/WebKit2/include \
171         -I$(top_builddir)/DerivedSources/WebKit2/webkit2gtk \
172         -I$(top_builddir)/DerivedSources/WebKit2/webkit2gtk/include \
173         -I$(top_builddir)/DerivedSources/WebKit2/webkit2gtk/webkit2 \
174         -I$(top_builddir)/DerivedSources/WebKit2/webkit2extension/include \
175         -I$(top_builddir)/DerivedSources/WebKit2/include/JavaScriptCore \
176         -I$(top_builddir)/DerivedSources/WebKit2/include/WebCore \
177         -I$(top_builddir)/DerivedSources/WebKit2/include/WebKit2 \
178         -I$(top_builddir)/DerivedSources/webkitdom \
179         -DLIBEXECDIR=\""$(libexecdir)"\" \
180         -DLIBDIR=\""$(libdir)"\" \
181         -DBUILDING_WEBKIT \
182         -DWEBKIT2_COMPILATION \
183         -DENABLE_PLUGIN_PROCESS=1 \
184         $(platform_cppflags) \
185         $(platformgtk_cppflags) \
186         $(webcore_cppflags) \
187         $(webcoregtk_cppflags) \
188         $(javascriptcore_cppflags) \
189         $(COVERAGE_CFLAGS) \
190         $(ENCHANT_CFLAGS) \
191         $(FREETYPE_CFLAGS) \
192         $(GEOCLUE_CFLAGS) \
193         $(GLIB_CFLAGS) \
194         $(GTK_CFLAGS) \
195         $(GTK_UNIX_PRINTING_CFLAGS) \
196         $(LIBSOUP_CFLAGS) \
197         $(UNICODE_CFLAGS) \
198         $(XCOMPOSITE_CFLAGS) \
199         $(XDAMAGE_CFLAGS) \
200         $(XT_CFLAGS)
201
202 libwebkit2gtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_CXXFLAGS = \
203         $(global_cxxflags)
204
205 libwebkit2gtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_CFLAGS = \
206         $(global_cflags)
207
208 # Artificial dependency to make sure libwebkit2gtk and libwebkitgtk are not linked at the same time
209 # The variable creation is to avoid having automake override the entire rule instead of adding the
210 # dependency.
211 if ENABLE_WEBKIT1
212 webkit2gtk_lib_for_dep = libwebkit2gtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la
213 $(webkit2gtk_lib_for_dep): libwebkitgtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la
214 endif
215
216 libwebkit2gtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_ladir = \
217         $(libwebkitgtkincludedir)/webkit2
218
219 libwebkit2gtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_LDFLAGS := \
220         -version-info @LIBWEBKIT2GTK_VERSION@ \
221         $(no_undefined)
222
223 if !ENABLE_DEVELOPER_MODE
224 libwebkit2gtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_LDFLAGS += \
225         $(version_script)
226 endif
227
228 libwebkit2gtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_LIBADD := \
229         -lpthread \
230         libWebCore.la \
231         libWebCorePlatform.la \
232         libWebCoreModules.la
233
234 if ENABLE_INDEXED_DATABASE
235 libwebkit2gtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_LIBADD += \
236         libLevelDB.la
237 endif
238
239 if USE_OPENGL
240 libwebkit2gtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_LIBADD += \
241         libANGLE.la
242 endif
243
244 if ENABLE_SVG
245 libwebkit2gtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_LIBADD += \
246         libWebCoreSVG.la
247 endif
248
249 libwebkit2gtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_LIBADD += \
250         libjavascriptcoregtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la \
251         libPlatform.la \
252         libPlatformGtk.la \
253         libGObjectDOMBindings.la \
254         libWebCoreGtk.la \
255         libWebKit2Platform.la \
256         $(CAIRO_LIBS) \
257         $(COVERAGE_LDFLAGS) \
258         $(ENCHANT_LIBS) \
259         $(FREETYPE_LIBS) \
260         $(GAMEPAD_LIBS) \
261         $(GEOCLUE_LIBS) \
262         $(GLIB_LIBS) \
263         $(GSTREAMER_LIBS) \
264         $(GTK_LIBS) \
265         $(GTK_UNIX_PRINTING_LIBS) \
266         $(JPEG_LIBS) \
267         $(LIBSECRET_LIBS) \
268         $(LIBSOUP_LIBS) \
269         $(LIBXML_LIBS) \
270         $(LIBXSLT_LIBS) \
271         $(OPENGL_LIBS) \
272         $(PANGO_LIBS) \
273         $(PNG_LIBS) \
274         $(SQLITE3_LIBS) \
275         $(UNICODE_LIBS) \
276         $(UPOWER_GLIB_LIBS) \
277         $(WEBP_LIBS) \
278         $(XRENDER_LIBS) \
279         $(XCOMPOSITE_LIBS) \
280         $(XDAMAGE_LIBS) \
281         $(XT_LIBS) \
282         $(ZLIB_LIBS)
283
284 webkit2gtk_h_api += \
285         $(webkit2gtk_ui_h_api) \
286         $(webkit2gtk_web_extension_h_api)
287
288 if ENABLE_WEBKIT2
289 pkgconfig_DATA += Source/WebKit2/webkit2gtk-@WEBKITGTK_API_VERSION@.pc
290
291 if ENABLE_INTROSPECTION
292
293 WebKit2-@WEBKITGTK_API_VERSION@.gir: $(G_IR_SCANNER) libwebkit2gtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la
294         $(AM_V_GEN) \
295              CC="$(CC)" \
296              CFLAGS="$(CFLAGS) -Wno-deprecated-declarations" \
297              $(G_IR_SCANNER) \
298              --quiet \
299              --warn-all \
300              --symbol-prefix=webkit \
301              --identifier-prefix=WebKit \
302              --namespace=WebKit2 \
303              --nsversion=@WEBKITGTK_API_VERSION@ \
304              --include=GObject-2.0 \
305              --include=Gtk-3.0 \
306              --include=JavaScriptCore-@WEBKITGTK_API_VERSION@ \
307              --include=Soup-2.4 \
308              --library=webkit2gtk-@WEBKITGTK_API_VERSION@ \
309              --library=javascriptcoregtk-@WEBKITGTK_API_VERSION@ \
310              --libtool="$(LIBTOOL)" \
311              --pkg=gobject-2.0 \
312              --pkg=gtk+-@GTK_API_VERSION@ \
313              --pkg=libsoup-2.4 \
314              --pkg-export=webkit2gtk-@WEBKITGTK_API_VERSION@ \
315              --output=$@ \
316              --add-include-path=$(WebKit2) \
317              --add-include-path=$(top_builddir) \
318              --c-include="webkit2/webkit2.h" \
319              -I$(srcdir)/Source \
320              -I$(WebKit2) \
321              -I$(GENSOURCES) \
322              -I$(GENSOURCES_WEBKIT2) \
323              -I$(top_builddir)/Source/WebKit2/UIProcess/API/gtk \
324              -I$(top_srcdir)/Source/JavaScriptCore/ForwardingHeaders \
325              -I$(top_srcdir) \
326              -I$(GENSOURCES_WEBKIT2)/webkit2gtk/include \
327              -I$(GENSOURCES_WEBKIT2)/webkit2gtk \
328              -DBUILDING_WEBKIT \
329              -DWEBKIT2_COMPILATION \
330              $(GENSOURCES_WEBKIT2)/webkit2gtk/webkit2/WebKitEnumTypes.h \
331              $(webkit2gtk_ui_h_api) \
332              $(WebKit2)/UIProcess/API/gtk/*.cpp
333
334 WebKit2-@WEBKITGTK_API_VERSION@.typelib: WebKit2-@WEBKITGTK_API_VERSION@.gir $(G_IR_COMPILER)
335         $(AM_V_GEN)$(G_IR_COMPILER) --includedir $(WebKit2) --includedir $(top_builddir) $< -o $@
336
337 gir_DATA += WebKit2-@WEBKITGTK_API_VERSION@.gir
338 typelibs_DATA += WebKit2-@WEBKITGTK_API_VERSION@.typelib
339 CLEANFILES += WebKit2-@WEBKITGTK_API_VERSION@.gir WebKit2-@WEBKITGTK_API_VERSION@.typelib
340
341 WebKit2WebExtension-@WEBKITGTK_API_VERSION@.gir: $(G_IR_SCANNER) WebKit2-@WEBKITGTK_API_VERSION@.gir
342         $(AM_V_GEN) \
343              CC="$(CC)" \
344              CFLAGS="$(CFLAGS) -Wno-deprecated-declarations" \
345              $(G_IR_SCANNER) \
346              --quiet \
347              --warn-all \
348              --symbol-prefix=webkit \
349              --identifier-prefix=WebKit \
350              --namespace=WebKit2WebExtension \
351              --nsversion=@WEBKITGTK_API_VERSION@ \
352              --include=GObject-2.0 \
353              --include=Gtk-3.0 \
354              --include-uninstalled=JavaScriptCore-@WEBKITGTK_API_VERSION@.gir \
355              --include-uninstalled=WebKit2-@WEBKITGTK_API_VERSION@.gir \
356              --library=webkit2gtk-@WEBKITGTK_API_VERSION@ \
357              --library=javascriptcoregtk-@WEBKITGTK_API_VERSION@ \
358              --libtool="$(LIBTOOL)" \
359              --pkg=gobject-2.0 \
360              --pkg=gtk+-@GTK_API_VERSION@ \
361              --pkg=libsoup-2.4 \
362              --pkg-export=webkit2gtk-@WEBKITGTK_API_VERSION@ \
363              --output=$@ \
364              --add-include-path=$(WebKit2) \
365              --add-include-path=$(top_builddir) \
366              --c-include="webkit2/webkit-web-extension.h" \
367              -I$(srcdir)/Source \
368              -I$(WebKit2) \
369              -I$(GENSOURCES) \
370              -I$(GENSOURCES_WEBKITDOM) \
371              -I$(GENSOURCES_WEBKIT2) \
372              -I$(top_builddir)/Source/WebKit2/WebProcess/InjectedBundle/API/gtk \
373              -I$(top_srcdir)/Source/JavaScriptCore/ForwardingHeaders \
374              -I$(top_srcdir) \
375              -I$(GENSOURCES_WEBKIT2)/webkit2gtk/include \
376              -I$(GENSOURCES_WEBKIT2)/webkit2extension/include \
377              -I$(GENSOURCES_WEBKIT2)/webkit2gtk \
378              -DBUILDING_WEBKIT \
379              -DWEBKIT2_COMPILATION \
380              $(webkit2gtk_web_extension_h_api) \
381              $(webkitgtk_gdom_built_h_api) \
382              $(WebKit2)/WebProcess/InjectedBundle/API/gtk/*.cpp
383
384 WebKit2WebExtension-@WEBKITGTK_API_VERSION@.typelib: WebKit2WebExtension-@WEBKITGTK_API_VERSION@.gir $(G_IR_COMPILER)
385         $(AM_V_GEN)$(G_IR_COMPILER) --includedir $(WebKit2) --includedir $(top_builddir) $< -o $@
386
387 gir_DATA += WebKit2WebExtension-@WEBKITGTK_API_VERSION@.gir
388 typelibs_DATA += WebKit2WebExtension-@WEBKITGTK_API_VERSION@.typelib
389 CLEANFILES += WebKit2WebExtension-@WEBKITGTK_API_VERSION@.gir WebKit2WebExtension-@WEBKITGTK_API_VERSION@.typelib
390
391 endif
392 endif
393
394 stamp-webkit2-forwarding-headers: $(WebKit2)/Scripts/generate-forwarding-headers.pl $(webkit2_sources)
395         $(AM_V_GEN)$(PERL) $< $(WebKit2) $(GENSOURCES_WEBKIT2)/include gtk \
396         && $(PERL) $< $(WebKit2) $(GENSOURCES_WEBKIT2)/include soup \
397         && echo timestamp > $(@F)
398
399 BUILT_SOURCES += $(top_builddir)/stamp-webkit2-forwarding-headers
400
401 $(GENSOURCES_WEBKIT2)/webkit2gtk/include/webkit2: $(webkit2gtk_h_api)
402         $(AM_V_GEN)mkdir -p $(GENSOURCES_WEBKIT2)/webkit2gtk/include \
403         && rm -f $@ \
404         && ln -n -s -f ${shell pwd}/$(WebKit2)/UIProcess/API/gtk $@
405
406 $(GENSOURCES_WEBKIT2)/webkit2extension/include/webkit2: $(webkit2gtk_h_api)
407         $(AM_V_GEN)mkdir -p $(GENSOURCES_WEBKIT2)/webkit2extension/include \
408         && rm -f $@ \
409         && ln -n -s -f ${shell pwd}/$(WebKit2)/WebProcess/InjectedBundle/API/gtk $@
410
411 BUILT_SOURCES += \
412         $(GENSOURCES_WEBKIT2)/webkit2extension/include/webkit2 \
413         $(GENSOURCES_WEBKIT2)/webkit2gtk/include/webkit2
414
415 vpath %.messages.in = \
416         $(WebKit2)/NetworkProcess \
417         $(WebKit2)/PluginProcess \
418         $(WebKit2)/Shared \
419         $(WebKit2)/Shared/Authentication \
420         $(WebKit2)/Shared/Network/CustomProtocols \
421         $(WebKit2)/Shared/Plugins \
422         $(WebKit2)/UIProcess \
423         $(WebKit2)/UIProcess/ApplicationCache \
424         $(WebKit2)/UIProcess/Downloads \
425         $(WebKit2)/UIProcess/Geolocation \
426         $(WebKit2)/UIProcess/Network \
427         $(WebKit2)/UIProcess/Network/CustomProtocols \
428         $(WebKit2)/UIProcess/Plugins \
429         $(WebKit2)/UIProcess/ResourceCache \
430         $(WebKit2)/UIProcess/Storage \
431         $(WebKit2)/UIProcess/soup \
432         $(WebKit2)/WebProcess \
433         $(WebKit2)/WebProcess/ApplicationCache \
434         $(WebKit2)/WebProcess/Battery \
435         $(WebKit2)/WebProcess/Cookies \
436         $(WebKit2)/WebProcess/FullScreen \
437         $(WebKit2)/WebProcess/Geolocation \
438         $(WebKit2)/WebProcess/IconDatabase \
439         $(WebKit2)/WebProcess/MediaCache \
440         $(WebKit2)/WebProcess/Network \
441         $(WebKit2)/WebProcess/NetworkInfo \
442         $(WebKit2)/WebProcess/Notifications \
443         $(WebKit2)/WebProcess/OriginData \
444         $(WebKit2)/WebProcess/Plugins \
445         $(WebKit2)/WebProcess/ResourceCache \
446         $(WebKit2)/WebProcess/Storage \
447         $(WebKit2)/WebProcess/WebCoreSupport \
448         $(WebKit2)/WebProcess/WebPage \
449         $(WebKit2)/WebProcess/soup
450
451 message_gen_scripts = \
452         $(WebKit2)/Scripts/generate-message-receiver.py \
453         $(WebKit2)/Scripts/generate-messages-header.py \
454         $(WebKit2)/Scripts/webkit2/__init__.py \
455         $(WebKit2)/Scripts/webkit2/messages.py \
456         $(WebKit2)/Scripts/webkit2/model.py \
457         $(WebKit2)/Scripts/webkit2/parser.py
458
459 # Message header generation
460 DerivedSources/WebKit2/%MessageReceiver.cpp: %.messages.in $(message_gen_scripts)
461         $(AM_V_GEN)$(PYTHON) $(WebKit2)/Scripts/generate-message-receiver.py $< > $@
462
463 DerivedSources/WebKit2/%Messages.h: %.messages.in $(message_gen_scripts)
464         $(AM_V_GEN)$(PYTHON) $(WebKit2)/Scripts/generate-messages-header.py $< > $@
465
466 webkit2gtk_built_headers_dir := $(GENSOURCES_WEBKIT2)/webkit2gtk/webkit2
467 $(GENSOURCES_WEBKIT2)/webkit2gtk/webkit2/WebKitEnumTypes.h: stamp-webkit2enumtypes
468         @true
469
470 stamp-webkit2enumtypes: $(webkit2gtk_h_api) $(WebKit2)/GNUmakefile.am
471         $(AM_V_GEN)mkdir -p $(GENSOURCES_WEBKIT2)/webkit2gtk/webkit2 \
472         && glib-mkenums --template $(WebKit2)/UIProcess/API/gtk/WebKitEnumTypes.h.template $(webkit2gtk_h_api) | \
473                 sed 's,web_kit,webkit,' | \
474                 sed 's,WEBKIT_TYPE_KIT,WEBKIT_TYPE,' \
475                 > wk2-xgen-gth \
476         && (cmp -s wk2-xgen-gth $(webkit2gtk_built_headers_dir)/WebKitEnumTypes.h || cp wk2-xgen-gth $(webkit2gtk_built_headers_dir)/WebKitEnumTypes.h) \
477         && rm -f wk2-xgen-gth \
478         && echo timestamp > $(@F)
479
480 $(GENSOURCES_WEBKIT2)/webkit2gtk/webkit2/WebKitEnumTypes.cpp: $(webkit2gtk_h_api) $(WebKit2)/GNUmakefile.am
481         $(AM_V_GEN)mkdir -p $(GENSOURCES_WEBKIT2)/webkit2gtk/webkit2 \
482         && glib-mkenums --template $(WebKit2)/UIProcess/API/gtk/WebKitEnumTypes.cpp.template $(webkit2gtk_h_api) | \
483                 sed 's,web_kit,webkit,' \
484                 > wk2-xgen-gtc \
485         && cp wk2-xgen-gtc $@ \
486         && rm -f wk2-xgen-gtc
487
488 WEBKIT2_MARSHAL_LIST = $(WebKit2)/UIProcess/API/gtk/webkit2marshal.list
489
490 $(GENSOURCES_WEBKIT2)/webkit2gtk/webkit2/WebKitMarshal.cpp: stamp-webkit2marshal.cpp
491         @true
492 $(GENSOURCES_WEBKIT2)/webkit2gtk/webkit2/WebKitMarshal.h: stamp-webkit2marshal.h
493         @true
494
495 stamp-webkit2marshal.cpp: $(WEBKIT2_MARSHAL_LIST)
496         $(AM_V_GEN) echo "extern \"C\" {" > $(webkit2gtk_built_headers_dir)/WebKitMarshal.cpp && \
497         $(GLIB_GENMARSHAL) --prefix=webkit_marshal $(WEBKIT2_MARSHAL_LIST) --body >> $(webkit2gtk_built_headers_dir)/WebKitMarshal.cpp && \
498         echo '}' >> $(webkit2gtk_built_headers_dir)/WebKitMarshal.cpp && \
499         echo timestamp > $(@F)
500
501 stamp-webkit2marshal.h: $(WEBKIT2_MARSHAL_LIST)
502         $(AM_V_GEN)$(GLIB_GENMARSHAL) --prefix=webkit_marshal $(WEBKIT2_MARSHAL_LIST) --header > $(webkit2gtk_built_headers_dir)/WebKitMarshal.h && \
503         echo timestamp > $(@F)
504
505 CLEANFILES += \
506         $(BUILT_SOURCES) \
507         $(top_builddir)/stamp-webkit2enumtypes \
508         $(top_builddir)/stamp-webkit2marshal.cpp \
509         $(top_builddir)/stamp-webkit2marshal.h \
510         $(top_builddir)/Programs/WebKitNetworkProcess \
511         $(top_builddir)/Programs/WebKitWebProcess
512
513 DISTCLEANFILES += \
514         $(top_builddir)/WebKit2/webkit2gtk-@WEBKITGTK_API_VERSION@.pc
515
516 if ENABLE_WEBKIT2
517 libexec_PROGRAMS += \
518         Programs/WebKitNetworkProcess
519 endif
520
521 Programs_WebKitNetworkProcess_CPPFLAGS = \
522         -include $(srcdir)/Source/WebKit2/WebKit2Prefix.h \
523         -I$(srcdir)/Source/WebKit2 \
524         -I$(srcdir)/Source/WebKit2/UIProcess/API/C \
525         -I$(srcdir)/Source/WebKit2/NetworkProcess/unix \
526         -I$(top_builddir)/DerivedSources/WebKit2 \
527         -I$(top_builddir)/DerivedSources/WebKit2/include \
528         -I$(top_builddir)/DerivedSources/WebKit2/include/WebCore \
529         $(global_cppflags) \
530         $(javascriptcore_cppflags)
531
532 Programs_WebKitNetworkProcess_CFLAGS = \
533         $(global_cflags) \
534         $(GLIB_CFLAGS) \
535         $(GTK_CFLAGS) \
536         $(LIBSOUP_CFLAGS)
537
538 Programs_WebKitNetworkProcess_SOURCES = \
539         Source/WebKit2/unix/NetworkMainUnix.cpp
540
541 Programs_WebKitNetworkProcess_LDADD = \
542         libjavascriptcoregtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la \
543         libwebkit2gtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la \
544         $(GLIB_LIBS) \
545         $(GTK_LIBS) \
546         $(LIBSOUP_LIBS)
547
548
549 if ENABLE_WEBKIT2
550 libexec_PROGRAMS += \
551         Programs/WebKitWebProcess
552 endif
553
554 Programs_WebKitWebProcess_CPPFLAGS = \
555         -include $(srcdir)/Source/WebKit2/WebKit2Prefix.h \
556         -I$(srcdir)/Source/WebKit2 \
557         -I$(srcdir)/Source/WebKit2/UIProcess/API/C \
558         -I$(srcdir)/Source/WebKit2/WebProcess/gtk \
559         -I$(top_builddir)/DerivedSources/WebKit2 \
560         -I$(top_builddir)/DerivedSources/WebKit2/include \
561         -I$(top_builddir)/DerivedSources/WebKit2/include/WebCore \
562         $(global_cppflags) \
563         $(javascriptcore_cppflags)
564
565 Programs_WebKitWebProcess_CFLAGS = \
566         $(global_cflags) \
567         $(CAIRO_CFLAGS) \
568         $(FREETYPE_CFLAGS) \
569         $(GLIB_CFLAGS) \
570         $(GTK_CFLAGS) \
571         $(GTK_UNIX_PRINTING_CFLAGS) \
572         $(LIBSOUP_CFLAGS) \
573         $(ZLIB_CFLAGS)
574
575 Programs_WebKitWebProcess_SOURCES = \
576         Source/WebKit2/gtk/MainGtk.cpp
577
578 Programs_WebKitWebProcess_LDADD = \
579         libjavascriptcoregtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la \
580         libwebkit2gtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la \
581         $(FREETYPE_LIBS) \
582         $(GLIB_LIBS) \
583         $(GTK_LIBS) \
584         $(GTK_UNIX_PRINTING_LIBS) \
585         $(LIBSOUP_LIBS)
586
587 libWebCoreGtk2_la_SOURCES = \
588         $(webcoregtk_sources)
589
590 libWebCoreGtk2_la_CXXFLAGS = \
591         -fvisibility-inlines-hidden \
592         $(global_cxxflags)
593
594 libWebCoreGtk2_la_CFLAGS = \
595         -fvisibility=hidden \
596         $(global_cflags)
597
598 libWebCoreGtk2_la_CPPFLAGS = \
599         -DBUILDING_WEBKIT \
600         -DGTK_API_VERSION_2=1 \
601         $(global_cppflags) \
602         $(platform_cppflags) \
603         $(platformgtk_cppflags) \
604         $(webcore_cppflags) \
605         $(webcoregtk_cppflags) \
606         $(javascriptcore_cppflags) \
607         -fno-strict-aliasing \
608         $(COVERAGE_CFLAGS) \
609         $(ENCHANT_CFLAGS) \
610         $(GEOCLUE_CFLAGS) \
611         $(FREETYPE_CFLAGS) \
612         $(GLIB_CFLAGS) \
613         $(GSTREAMER_CFLAGS) \
614         $(GTK2_CFLAGS) \
615         $(LIBSECRET_CFLAGS) \
616         $(LIBSOUP_CFLAGS) \
617         $(LIBXML_CFLAGS) \
618         $(SQLITE3_CFLAGS) \
619         $(UNICODE_CFLAGS) \
620         $(XRENDER_CFLAGS) \
621         $(XT_CFLAGS)
622
623 libPlatformGtk2_la_SOURCES = \
624         $(platformgtk_sources)
625
626 libPlatformGtk2_la_CXXFLAGS = \
627         -fvisibility-inlines-hidden \
628         $(global_cxxflags)
629
630 libPlatformGtk2_la_CFLAGS = \
631         -fvisibility=hidden \
632         $(global_cflags)
633
634 libPlatformGtk2_la_CPPFLAGS = \
635         -DBUILDING_WEBKIT \
636         -DGTK_API_VERSION_2=1 \
637         $(global_cppflags) \
638         $(platform_cppflags) \
639         $(platformgtk_cppflags) \
640         $(platform_webcore_cppflags) \
641         $(javascriptcore_cppflags) \
642         -fno-strict-aliasing \
643         $(FREETYPE_CFLAGS) \
644         $(GSTREAMER_CFLAGS) \
645         $(GTK2_CFLAGS) \
646         $(LIBSECRET_CFLAGS) \
647         $(LIBSOUP_CFLAGS)
648
649 # Injected Bundle
650 injectedbundledir = $(libdir)/webkit2gtk-3.0/injected-bundle
651 if ENABLE_WEBKIT2
652 injectedbundle_LTLIBRARIES = libwebkit2gtkinjectedbundle.la
653 endif
654
655 libwebkit2gtkinjectedbundle_la_SOURCES = \
656         Source/WebKit2/WebProcess/gtk/WebGtkInjectedBundleMain.cpp
657
658 libwebkit2gtkinjectedbundle_la_LDFLAGS = \
659         $(no_undefined) \
660         -module \
661         -avoid-version
662
663 libwebkit2gtkinjectedbundle_la_CPPFLAGS = \
664         -fno-strict-aliasing \
665         -I$(srcdir)/Source/WebKit2/Platform \
666         -I$(srcdir)/Source/WebKit2/Shared \
667         -I$(srcdir)/Source/WebKit2/Shared/API/c \
668         -I$(srcdir)/Source/WebKit2/UIProcess/API/C \
669         -I$(srcdir)/Source/WebKit2/WebProcess/InjectedBundle \
670         -I$(srcdir)/Source/WebKit2/WebProcess/InjectedBundle/API/c \
671         -I$(top_builddir)/DerivedSources/InjectedBundle \
672         -I$(top_builddir)/DerivedSources/WebKit2/include \
673         $(global_cppflags) \
674         $(javascriptcore_cppflags) \
675         $(GLIB_CFLAGS)
676
677 # Serialize linking of the plugin process with both webkit libraries.
678 plugin_process_for_dep = Programs/WebKitPluginProcess
679 plugin_process_for_dep_list = libwebkit2gtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la
680 if ENABLE_WEBKIT1
681 plugin_process_for_dep_list += \
682         libwebkitgtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la
683 endif
684 $(plugin_process_for_dep): $(plugin_process_for_dep_list)
685
686 webcore_layer_gtk2_deps = \
687         libPlatform.la \
688         libPlatformGtk2.la \
689         libWebCorePlatform.la \
690         libWebCoreGtk2.la \
691         libWebCore.la \
692         libWebCoreModules.la
693 if ENABLE_SVG
694 webcore_layer_gtk2_deps += \
695         libWebCoreSVG.la
696 endif
697 if ENABLE_INDEXED_DATABASE
698 webcore_layer_gtk2_deps += \
699         libLevelDB.la
700 endif
701 if USE_OPENGL
702 webcore_layer_gtk2_deps += \
703         libANGLE.la
704 endif
705
706 webcore_layer_gtk2_archives = $(foreach lib, $(webcore_layer_gtk2_deps), $(shell echo $(lib) | sed "s/\(.*\)\.la/.libs\/\1.a/"))
707
708 libWebCoreLayerGtk2.a: $(webcore_layer_gtk2_deps)
709         $(AM_V_GEN)
710         $(AM_V_at)$(shell rm -f $@)
711         $(AM_V_at)$(shell find . -name "*.o" > objects_list)
712         $(AM_V_at)$(foreach archive, $(webcore_layer_gtk2_archives), $(shell $(AR) t $(archive) | xargs -n1 basename | xargs -I obj_file grep -F obj_file objects_list | xargs -n50 $(AR) $(AR_FLAGS) $@))
713         $(AM_V_at)$(shell rm -f objects_list)
714
715 DISTCLEANFILES += \
716         $(top_builddir)/libWebCoreLayerGtk2.a
717
718 Programs_WebKitPluginProcess_CPPFLAGS = \
719         -include $(srcdir)/Source/WebKit2/WebKit2Prefix.h \
720         -I$(srcdir)/Source/WebKit2 \
721         -I$(srcdir)/Source/WebKit2/Platform \
722         -I$(srcdir)/Source/WebKit2/Platform/IPC \
723         -I$(srcdir)/Source/WebKit2/PluginProcess/ \
724         -I$(srcdir)/Source/WebKit2/PluginProcess/unix \
725         -I$(srcdir)/Source/WebKit2/Shared \
726         -I$(srcdir)/Source/WebKit2/Shared/Plugins \
727         -I$(srcdir)/Source/WebKit2/Shared/Plugins/Netscape/ \
728         -I$(srcdir)/Source/WebKit2/UIProcess/Plugins/ \
729         -I$(srcdir)/Source/WebKit2/UIProcess/Launcher \
730         -I$(srcdir)/Source/WebKit2/WebProcess/Plugins/ \
731         -I$(srcdir)/Source/WebKit2/WebProcess/Plugins/Netscape/ \
732         -I$(srcdir)/Source/WebKit2/Shared/soup \
733         -I$(top_builddir)/DerivedSources/WebKit2 \
734         -I$(top_builddir)/DerivedSources/WebKit2/include \
735         -I$(top_builddir)/DerivedSources/WebKit2/include/JavaScriptCore \
736         -I$(top_builddir)/DerivedSources/WebKit2/include/WebCore \
737         -I$(top_builddir)/DerivedSources/WebKit2/include/WebKit2 \
738         -DBUILDING_WEBKIT \
739         -DGTK_API_VERSION_2=1 \
740         -DENABLE_PLUGIN_PROCESS=1 \
741         -DLIBEXECDIR=\""$(libexecdir)"\" \
742         $(global_cppflags) \
743         $(platform_cppflags) \
744         $(platformgtk_cppflags) \
745         $(webcore_cppflags) \
746         $(webcoregtk_cppflags) \
747         $(javascriptcore_cppflags) \
748         -fno-strict-aliasing \
749         $(CAIRO_CFLAGS) \
750         $(FREETYPE_CFLAGS) \
751         $(GLIB_CFLAGS) \
752         $(GSTREAMER_CFLAGS) \
753         $(GTK2_CFLAGS) \
754         $(LIBSOUP_CFLAGS) \
755         $(UNICODE_CFLAGS)
756
757 Programs_WebKitPluginProcess_CFLAGS = \
758         -fvisibility-inlines-hidden \
759         $(global_cflags) \
760         $(CAIRO_CFLAGS) \
761         $(GLIB_CFLAGS) \
762         $(GSTREAMER_CFLAGS) \
763         $(GTK2_CFLAGS) \
764         $(LIBSOUP_CFLAGS) \
765         $(UNICODE_CFLAGS)
766
767 nodist_Programs_WebKitPluginProcess_SOURCES = \
768         $(webkit2_plugin_process_built_sources)
769
770 Programs_WebKitPluginProcess_SOURCES = \
771         $(webkit2_plugin_process_sources)
772
773 Programs_WebKitPluginProcess_LDADD = \
774         -lpthread \
775         libjavascriptcoregtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la \
776         libWebCoreLayerGtk2.a \
777         libWebKit2Platform.la \
778         $(CAIRO_LIBS) \
779         $(COVERAGE_LDFLAGS) \
780         $(FREETYPE_LIBS) \
781         $(GAMEPAD_LIBS) \
782         $(GEOCLUE_LIBS) \
783         $(GLIB_LIBS) \
784         $(GSTREAMER_LIBS) \
785         $(GTK2_LIBS) \
786         $(JPEG_LIBS) \
787         $(LIBSECRET_LIBS) \
788         $(LIBSOUP_LIBS) \
789         $(LIBXML_LIBS) \
790         $(LIBXSLT_LIBS) \
791         $(OLE32_LIBS) \
792         $(OPENGL_LIBS) \
793         $(PANGO_LIBS) \
794         $(PNG_LIBS) \
795         $(SHLWAPI_LIBS) \
796         $(SHM_LIBS) \
797         $(SQLITE3_LIBS) \
798         $(UNICODE_LIBS) \
799         $(WEBP_LIBS) \
800         $(XRENDER_LIBS) \
801         $(XT_LIBS) \
802         $(WINMM_LIBS) \
803         $(ZLIB_LIBS)
804
805 Programs_WebKitPluginProcess_CXXFLAGS = \
806         -fvisibility-inlines-hidden \
807         $(global_cxxflags)
808
809 EXTRA_DIST += \
810         $(WebKit2)/UIProcess/API/gtk/docs/webkit2gtk-docs.sgml \
811         $(WebKit2)/UIProcess/API/gtk/docs/webkit2gtk-sections.txt \
812         $(WebKit2)/UIProcess/API/gtk/docs/webkit2gtk.types \
813         $(WebKit2)/Scripts/generate-message-receiver.py \
814         $(WebKit2)/Scripts/generate-messages-header.py \
815         $(WebKit2)/Scripts/webkit2/__init__.py \
816         $(WebKit2)/Scripts/webkit2/messages.py \
817         $(WebKit2)/Scripts/webkit2/model.py \
818         $(WebKit2)/Scripts/webkit2/parser.py \
819         $(WebKit2)/UIProcess/API/gtk/webkit2marshal.list \
820         $(WebKit2)/UIProcess/API/gtk/WebKitEnumTypes.h.template \
821         $(WebKit2)/UIProcess/API/gtk/WebKitEnumTypes.cpp.template \
822         $(WebKit2)/UIProcess/API/gtk/WebKit2InspectorGResourceBundle.xml \
823         $(WebKit2)/UIProcess/InspectorServer/front-end/inspectorPageIndex.html \
824         $(WebKit2)/Scripts/generate-forwarding-headers.pl \
825         $(shell ls $(WebKit2)/NetworkProcess/*.in) \
826         $(shell ls $(WebKit2)/PluginProcess/*.in) \
827         $(shell ls $(WebKit2)/Shared/*.in) \
828         $(shell ls $(WebKit2)/Shared/Authentication/*.in) \
829         $(shell ls $(WebKit2)/Shared/Network/CustomProtocols/*.in) \
830         $(shell ls $(WebKit2)/Shared/Plugins/*.in) \
831         $(shell ls $(WebKit2)/UIProcess/*.in) \
832         $(shell ls $(WebKit2)/UIProcess/Downloads/*.in) \
833         $(shell ls $(WebKit2)/UIProcess/Network/*.in) \
834         $(shell ls $(WebKit2)/UIProcess/Network/CustomProtocols/*.in) \
835         $(shell ls $(WebKit2)/UIProcess/Plugins/*.in) \
836         $(shell ls $(WebKit2)/UIProcess/Storage/*.in) \
837         $(shell ls $(WebKit2)/UIProcess/soup/*.in) \
838         $(shell ls $(WebKit2)/WebProcess/*.in) \
839         $(shell ls $(WebKit2)/WebProcess/ApplicationCache/*.in) \
840         $(shell ls $(WebKit2)/WebProcess/Battery/*.in) \
841         $(shell ls $(WebKit2)/WebProcess/Cookies/*.in) \
842         $(shell ls $(WebKit2)/WebProcess/FullScreen/*.in) \
843         $(shell ls $(WebKit2)/WebProcess/Geolocation/*.in) \
844         $(shell ls $(WebKit2)/WebProcess/IconDatabase/*.in) \
845         $(shell ls $(WebKit2)/WebProcess/MediaCache/*.in) \
846         $(shell ls $(WebKit2)/WebProcess/Network/*.in) \
847         $(shell ls $(WebKit2)/WebProcess/NetworkInfo/*.in) \
848         $(shell ls $(WebKit2)/WebProcess/Notifications/*.in) \
849         $(shell ls $(WebKit2)/WebProcess/OriginData/*.in) \
850         $(shell ls $(WebKit2)/WebProcess/Plugins/*.in) \
851         $(shell ls $(WebKit2)/WebProcess/ResourceCache/*.in) \
852         $(shell ls $(WebKit2)/WebProcess/Storage/*.in) \
853         $(shell ls $(WebKit2)/WebProcess/WebCoreSupport/*.in) \
854         $(shell ls $(WebKit2)/WebProcess/WebPage/*.in) \
855         $(shell ls $(WebKit2)/WebProcess/soup/*.in)
856