2
libwebkitgtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la
4
nodist_libwebkitgtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_SOURCES = \
5
$(webkitgtk_built_sources)
7
libwebkitgtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_ladir = $(libwebkitgtkincludedir)/webkit
8
libwebkitgtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_HEADERS = \
9
$(webkitgtk_static_h_api)
11
nodist_libwebkitgtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_HEADERS = \
12
$(webkitgtk_built_h_api) \
13
$(GENSOURCES_WEBKIT)/webkitenumtypes.h
15
libwebkitgtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_SOURCES = \
18
libwebkitgtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_CXXFLAGS = \
19
$(SYMBOL_VISIBILITY_INLINES) \
22
libwebkitgtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_CFLAGS = \
23
$(SYMBOL_VISIBILITY) \
27
webkitgtk_cppflags += \
30
webkitgtk_sources += \
31
Source/WebKit/gtk/WebCoreSupport/TextCheckerClientGtk.cpp \
32
Source/WebKit/gtk/WebCoreSupport/TextCheckerClientGtk.h
35
# When building WebCore/WebKit, we want WebCore/config.h and NOT JavaScriptCore/config.h,
36
# hence, it's important that WebCore/ should come first before JavaScriptCore in the
38
libwebkitgtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_CPPFLAGS = \
40
-DPACKAGE_LOCALE_DIR=\"$(localedir)\" \
41
-DDATA_DIR=\"${datadir}\" \
42
-I$(WebCore)/bindings \
43
-I$(WebCore)/bindings/gobject \
45
-I$(WebKit)/WebCoreSupport \
47
-I$(GENSOURCES_WEBKIT) \
48
-ISource/WebKit/gtk/webkit \
51
$(webcoregtk_cppflags) \
52
$(javascriptcore_cppflags) \
53
$(webkitgtk_cppflags) \
54
-fno-strict-aliasing \
56
$(CLUTTER_GTK_CFLAGS) \
74
libwebkitgtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_LDFLAGS = \
75
-version-info @LIBWEBKITGTK_VERSION@ \
79
libwebkitgtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_LIBADD := \
82
libWebCorePlatform.la \
83
libWebCoreModules.la \
87
libwebkitgtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_LIBADD += \
91
libwebkitgtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_LIBADD += \
92
libjavascriptcoregtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la \
124
webkitgtk_static_h_api += \
125
$(srcdir)/Source/WebKit/gtk/webkit/webkit.h \
126
$(srcdir)/Source/WebKit/gtk/webkit/webkitapplicationcache.h \
127
$(srcdir)/Source/WebKit/gtk/webkit/webkitdefines.h \
128
$(srcdir)/Source/WebKit/gtk/webkit/webkitdownload.h \
129
$(srcdir)/Source/WebKit/gtk/webkit/webkiterror.h \
130
$(srcdir)/Source/WebKit/gtk/webkit/webkitfavicondatabase.h \
131
$(srcdir)/Source/WebKit/gtk/webkit/webkitfilechooserrequest.h \
132
$(srcdir)/Source/WebKit/gtk/webkit/webkitgeolocationpolicydecision.h \
133
$(srcdir)/Source/WebKit/gtk/webkit/webkitglobals.h \
134
$(srcdir)/Source/WebKit/gtk/webkit/webkithittestresult.h \
135
$(srcdir)/Source/WebKit/gtk/webkit/webkiticondatabase.h \
136
$(srcdir)/Source/WebKit/gtk/webkit/webkitnetworkrequest.h \
137
$(srcdir)/Source/WebKit/gtk/webkit/webkitnetworkresponse.h \
138
$(srcdir)/Source/WebKit/gtk/webkit/webkitsecurityorigin.h \
139
$(srcdir)/Source/WebKit/gtk/webkit/webkitsoupauthdialog.h \
140
$(srcdir)/Source/WebKit/gtk/webkit/webkitspellchecker.h \
141
$(srcdir)/Source/WebKit/gtk/webkit/webkitviewportattributes.h \
142
$(srcdir)/Source/WebKit/gtk/webkit/webkitwebbackforwardlist.h \
143
$(srcdir)/Source/WebKit/gtk/webkit/webkitwebdatabase.h \
144
$(srcdir)/Source/WebKit/gtk/webkit/webkitwebdatasource.h \
145
$(srcdir)/Source/WebKit/gtk/webkit/webkitwebframe.h \
146
$(srcdir)/Source/WebKit/gtk/webkit/webkitwebhistoryitem.h \
147
$(srcdir)/Source/WebKit/gtk/webkit/webkitwebinspector.h \
148
$(srcdir)/Source/WebKit/gtk/webkit/webkitwebnavigationaction.h \
149
$(srcdir)/Source/WebKit/gtk/webkit/webkitwebplugin.h \
150
$(srcdir)/Source/WebKit/gtk/webkit/webkitwebplugindatabase.h \
151
$(srcdir)/Source/WebKit/gtk/webkit/webkitwebpolicydecision.h \
152
$(srcdir)/Source/WebKit/gtk/webkit/webkitwebresource.h \
153
$(srcdir)/Source/WebKit/gtk/webkit/webkitwebsettings.h \
154
$(srcdir)/Source/WebKit/gtk/webkit/webkitwebwindowfeatures.h \
155
$(srcdir)/Source/WebKit/gtk/webkit/webkitwebview.h
157
webkitgtk_built_h_api += \
158
Source/WebKit/gtk/webkit/webkitversion.h
161
$(webkitgtk_built_h_api) \
162
$(webkitgtk_static_h_api)
164
# webkitenumtypes.{h,cpp} cannot be in webkitgtk_built_h_api, because
165
# the rule that builds it depends on webkitgtk_built_h_api (circular dependency).
166
webkitgtk_built_sources += \
167
DerivedSources/webkit/webkitenumtypes.cpp \
168
DerivedSources/webkit/webkitenumtypes.h \
169
DerivedSources/webkit/webkitmarshal.cpp \
170
DerivedSources/webkit/webkitmarshal.h \
171
$(webkitgtk_built_h_api) \
172
$(webkitgtk_gdom_built_sources)
173
BUILT_SOURCES += $(webkitgtk_built_sources)
175
webkitgtk_sources += \
176
Source/WebCore/bindings/gobject/ConvertToUTF8String.cpp \
177
Source/WebCore/bindings/gobject/ConvertToUTF8String.h \
178
Source/WebCore/bindings/gobject/DOMObjectCache.cpp \
179
Source/WebCore/bindings/gobject/DOMObjectCache.h \
180
Source/WebCore/bindings/gobject/GObjectEventListener.cpp \
181
Source/WebCore/bindings/gobject/GObjectEventListener.h \
182
Source/WebCore/bindings/gobject/WebKitDOMBinding.cpp \
183
Source/WebCore/bindings/gobject/WebKitDOMBinding.h \
184
Source/WebCore/bindings/gobject/WebKitDOMCustom.cpp \
185
Source/WebCore/bindings/gobject/WebKitDOMCustom.h \
186
Source/WebCore/bindings/gobject/WebKitDOMEventTarget.cpp \
187
Source/WebCore/bindings/gobject/WebKitDOMEventTarget.h \
188
Source/WebCore/bindings/gobject/WebKitDOMEventTargetPrivate.h \
189
Source/WebCore/bindings/gobject/WebKitDOMObject.cpp \
190
Source/WebCore/bindings/gobject/WebKitDOMObject.h \
191
Source/WebCore/bindings/gobject/WebKitHTMLElementWrapperFactory.cpp \
192
Source/WebCore/bindings/gobject/WebKitHTMLElementWrapperFactory.h \
193
Source/WebKit/gtk/WebCoreSupport/AcceleratedCompositingContext.h \
194
Source/WebKit/gtk/WebCoreSupport/AcceleratedCompositingContextClutter.cpp \
195
Source/WebKit/gtk/WebCoreSupport/AcceleratedCompositingContextGL.cpp \
196
Source/WebKit/gtk/WebCoreSupport/AcceleratedCompositingContextCairo.cpp \
197
Source/WebKit/gtk/WebCoreSupport/AssertMatchingEnums.cpp \
198
Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp \
199
Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.h \
200
Source/WebKit/gtk/WebCoreSupport/ContextMenuClientGtk.cpp \
201
Source/WebKit/gtk/WebCoreSupport/ContextMenuClientGtk.h \
202
Source/WebKit/gtk/WebCoreSupport/DeviceMotionClientGtk.cpp \
203
Source/WebKit/gtk/WebCoreSupport/DeviceMotionClientGtk.h \
204
Source/WebKit/gtk/WebCoreSupport/DeviceOrientationClientGtk.cpp \
205
Source/WebKit/gtk/WebCoreSupport/DeviceOrientationClientGtk.h \
206
Source/WebKit/gtk/WebCoreSupport/DocumentLoaderGtk.cpp \
207
Source/WebKit/gtk/WebCoreSupport/DocumentLoaderGtk.h \
208
Source/WebKit/gtk/WebCoreSupport/DragClientGtk.cpp \
209
Source/WebKit/gtk/WebCoreSupport/DragClientGtk.h \
210
Source/WebKit/gtk/WebCoreSupport/DumpRenderTreeSupportGtk.cpp \
211
Source/WebKit/gtk/WebCoreSupport/DumpRenderTreeSupportGtk.h \
212
Source/WebKit/gtk/WebCoreSupport/EditorClientGtk.cpp \
213
Source/WebKit/gtk/WebCoreSupport/EditorClientGtk.h \
214
Source/WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp \
215
Source/WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.h \
216
Source/WebKit/gtk/WebCoreSupport/FrameNetworkingContextGtk.cpp \
217
Source/WebKit/gtk/WebCoreSupport/FrameNetworkingContextGtk.h \
218
Source/WebKit/gtk/WebCoreSupport/FullscreenVideoController.cpp \
219
Source/WebKit/gtk/WebCoreSupport/FullscreenVideoController.h \
220
Source/WebKit/gtk/WebCoreSupport/GeolocationClientGtk.cpp \
221
Source/WebKit/gtk/WebCoreSupport/GeolocationClientGtk.h \
222
Source/WebKit/gtk/WebCoreSupport/GtkAdjustmentWatcher.cpp \
223
Source/WebKit/gtk/WebCoreSupport/GtkAdjustmentWatcher.h \
224
Source/WebKit/gtk/WebCoreSupport/InspectorClientGtk.cpp \
225
Source/WebKit/gtk/WebCoreSupport/InspectorClientGtk.h \
226
Source/WebKit/gtk/WebCoreSupport/NavigatorContentUtilsClientGtk.h \
227
Source/WebKit/gtk/WebCoreSupport/NavigatorContentUtilsClientGtk.cpp \
228
Source/WebKit/gtk/WebCoreSupport/PasteboardHelperGtk.h \
229
Source/WebKit/gtk/WebCoreSupport/PlatformStrategiesGtk.h \
230
Source/WebKit/gtk/WebCoreSupport/PlatformStrategiesGtk.cpp \
231
Source/WebKit/gtk/WebCoreSupport/UserMediaClientGtk.cpp \
232
Source/WebKit/gtk/WebCoreSupport/UserMediaClientGtk.h \
233
Source/WebKit/gtk/WebCoreSupport/WebViewInputMethodFilter.cpp \
234
Source/WebKit/gtk/WebCoreSupport/WebViewInputMethodFilter.h \
235
Source/WebKit/gtk/webkit/webkitapplicationcache.cpp \
236
Source/WebKit/gtk/webkit/webkitdownload.cpp \
237
Source/WebKit/gtk/webkit/webkitdownloadprivate.h \
238
Source/WebKit/gtk/webkit/webkiterror.cpp \
239
Source/WebKit/gtk/webkit/webkitfavicondatabase.cpp \
240
Source/WebKit/gtk/webkit/webkitfavicondatabaseprivate.h \
241
Source/WebKit/gtk/webkit/webkitfilechooserrequest.cpp \
242
Source/WebKit/gtk/webkit/webkitfilechooserrequest.h \
243
Source/WebKit/gtk/webkit/webkitfilechooserrequestprivate.h \
244
Source/WebKit/gtk/webkit/webkitgeolocationpolicydecision.cpp \
245
Source/WebKit/gtk/webkit/webkitgeolocationpolicydecisionprivate.h \
246
Source/WebKit/gtk/webkit/webkitglobals.cpp \
247
Source/WebKit/gtk/webkit/webkitglobals.h \
248
Source/WebKit/gtk/webkit/webkitglobalsprivate.h \
249
Source/WebKit/gtk/webkit/webkithittestresult.cpp \
250
Source/WebKit/gtk/webkit/webkithittestresultprivate.h \
251
Source/WebKit/gtk/webkit/webkiticondatabase.cpp \
252
Source/WebKit/gtk/webkit/webkitnetworkrequest.cpp \
253
Source/WebKit/gtk/webkit/webkitnetworkrequestprivate.h \
254
Source/WebKit/gtk/webkit/webkitnetworkresponse.cpp \
255
Source/WebKit/gtk/webkit/webkitnetworkresponseprivate.h \
256
Source/WebKit/gtk/webkit/webkitsecurityorigin.cpp \
257
Source/WebKit/gtk/webkit/webkitsecurityoriginprivate.h \
258
Source/WebKit/gtk/webkit/webkitsoupauthdialog.cpp \
259
Source/WebKit/gtk/webkit/webkitspellchecker.cpp \
260
Source/WebKit/gtk/webkit/webkitspellcheckerenchant.cpp \
261
Source/WebKit/gtk/webkit/webkitspellcheckerenchant.h \
262
Source/WebKit/gtk/webkit/webkitversion.cpp \
263
Source/WebKit/gtk/webkit/webkitviewportattributes.cpp \
264
Source/WebKit/gtk/webkit/webkitviewportattributesprivate.h \
265
Source/WebKit/gtk/webkit/webkitwebbackforwardlist.cpp \
266
Source/WebKit/gtk/webkit/webkitwebbackforwardlistprivate.h \
267
Source/WebKit/gtk/webkit/webkitwebdatabase.cpp \
268
Source/WebKit/gtk/webkit/webkitwebdatasource.cpp \
269
Source/WebKit/gtk/webkit/webkitwebdatasourceprivate.h \
270
Source/WebKit/gtk/webkit/webkitwebframe.cpp \
271
Source/WebKit/gtk/webkit/webkitwebframeprivate.h \
272
Source/WebKit/gtk/webkit/webkitwebhistoryitem.cpp \
273
Source/WebKit/gtk/webkit/webkitwebhistoryitemprivate.h \
274
Source/WebKit/gtk/webkit/webkitwebinspector.cpp \
275
Source/WebKit/gtk/webkit/webkitwebinspectorprivate.h \
276
Source/WebKit/gtk/webkit/webkitwebnavigationaction.cpp \
277
Source/WebKit/gtk/webkit/webkitwebnavigationactionprivate.h \
278
Source/WebKit/gtk/webkit/webkitwebpolicydecision.cpp \
279
Source/WebKit/gtk/webkit/webkitwebpolicydecisionprivate.h \
280
Source/WebKit/gtk/webkit/webkitwebresource.cpp \
281
Source/WebKit/gtk/webkit/webkitwebresourceprivate.h \
282
Source/WebKit/gtk/webkit/webkitwebplugin.cpp \
283
Source/WebKit/gtk/webkit/webkitwebpluginprivate.h \
284
Source/WebKit/gtk/webkit/webkitwebplugindatabase.cpp \
285
Source/WebKit/gtk/webkit/webkitwebplugindatabaseprivate.h \
286
Source/WebKit/gtk/webkit/webkitwebsettings.cpp \
287
Source/WebKit/gtk/webkit/webkitwebsettingsprivate.h \
288
Source/WebKit/gtk/webkit/webkitwebview.cpp \
289
Source/WebKit/gtk/webkit/webkitwebviewprivate.h \
290
Source/WebKit/gtk/webkit/webkitwebwindowfeatures.cpp \
291
Source/WebKit/gtk/webkit/webkitwebwindowfeaturesprivate.h
293
pkgconfig_DATA += Source/WebKit/gtk/@WEBKITGTK_PC_NAME@-@WEBKITGTK_API_VERSION@.pc
295
if ENABLE_INTROSPECTION
297
JSCore-@WEBKITGTK_API_VERSION@.gir: $(top_builddir)/Source/WebKit/gtk/JSCore-@WEBKITGTK_API_VERSION@.gir
298
$(AM_V_GEN)cp $(top_builddir)/Source/WebKit/gtk/JSCore-@WEBKITGTK_API_VERSION@.gir $(top_builddir)/
300
JSCORE_GIRSOURCES += JSCore-@WEBKITGTK_API_VERSION@.gir
301
WEBKIT_GIRSOURCES += WebKit-@WEBKITGTK_API_VERSION@.gir
303
$(WEBKIT_GIRSOURCES): $(G_IR_SCANNER) $(JSCORE_GIRSOURCES) libwebkitgtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la
304
$(AM_V_GEN)$(G_IR_SCANNER) -v --warn-all \
305
--symbol-prefix=webkit \
306
--identifier-prefix=WebKit \
308
--nsversion=@WEBKITGTK_API_VERSION@ \
309
--include=GObject-2.0 \
310
--include=Gtk-@GTK_API_VERSION@ \
311
--include=JSCore-@WEBKITGTK_API_VERSION@ \
313
--library=webkitgtk-@WEBKITGTK_API_VERSION@ \
314
--library=javascriptcoregtk-@WEBKITGTK_API_VERSION@ \
315
--libtool="$(LIBTOOL)" \
317
--pkg=gtk+-@GTK_API_VERSION@ \
319
--pkg-export=webkitgtk-@WEBKITGTK_API_VERSION@ \
321
--add-include-path=$(WebKit) \
322
--add-include-path=$(top_builddir) \
323
--c-include="webkit/webkit.h" \
327
-I$(GENSOURCES_WEBKIT) \
328
-I$(top_builddir)/Source/WebKit/gtk \
329
-I$(top_srcdir)/Source/JavaScriptCore/ForwardingHeaders \
331
$(GENSOURCES_WEBKIT)/webkitenumtypes.h \
333
$(WebKit)/webkit/*.cpp
335
girdir = $(datadir)/gir-1.0
336
gir_DATA = $(WEBKIT_GIRSOURCES) $(JSCORE_GIRSOURCES)
338
typelibsdir += $(libdir)/girepository-1.0
339
typelibs_DATA += $(JSCORE_GIRSOURCES:.gir=.typelib) $(WEBKIT_GIRSOURCES:.gir=.typelib)
341
WebKit-@WEBKITGTK_API_VERSION@.typelib: WebKit-@WEBKITGTK_API_VERSION@.gir $(G_IR_COMPILER)
342
$(AM_V_GEN)$(G_IR_COMPILER) --includedir $(WebKit) --includedir $(top_builddir) $< -o $@
344
JSCore-@WEBKITGTK_API_VERSION@.typelib: JSCore-@WEBKITGTK_API_VERSION@.gir $(G_IR_COMPILER)
345
$(AM_V_GEN)$(G_IR_COMPILER) --includedir $(WebKit) --includedir $(top_builddir) $< -o $@
347
CLEANFILES += $(JSCORE_GIRSOURCES) $(WEBKIT_GIRSOURCES) $(typelibs_DATA)
351
EXTRA_DIST += $(top_builddir)/Source/WebKit/gtk/JSCore-@WEBKITGTK_API_VERSION@.gir
353
WEBKIT_MARSHAL_LIST = $(WebKit)/webkitmarshal.list
354
$(GENSOURCES_WEBKIT)/webkitmarshal.cpp: stamp-webkitmarshal.cpp
356
$(GENSOURCES_WEBKIT)/webkitmarshal.h: stamp-webkitmarshal.h
359
stamp-webkitmarshal.cpp: $(WEBKIT_MARSHAL_LIST)
360
$(AM_V_GEN) echo "extern \"C\" {" > $(GENSOURCES_WEBKIT)/webkitmarshal.cpp && \
361
$(GLIB_GENMARSHAL) --prefix=webkit_marshal $(WEBKIT_MARSHAL_LIST) --body >> $(GENSOURCES_WEBKIT)/webkitmarshal.cpp && \
362
echo '}' >> $(GENSOURCES_WEBKIT)/webkitmarshal.cpp && \
363
echo timestamp > $(@F)
365
stamp-webkitmarshal.h: $(WEBKIT_MARSHAL_LIST)
366
$(AM_V_GEN)$(GLIB_GENMARSHAL) --prefix=webkit_marshal $(WEBKIT_MARSHAL_LIST) --header > $(GENSOURCES_WEBKIT)/webkitmarshal.h && \
367
echo timestamp > $(@F)
369
$(GENSOURCES_WEBKIT)/webkitenumtypes.h: stamp-webkitenumtypes.h
371
stamp-webkitenumtypes.h: $(webkitgtk_h_api) $(WebKit)/GNUmakefile.am
372
$(AM_V_GEN)glib-mkenums \
373
--fhead "#ifndef WEBKIT_ENUM_TYPES_H\n" \
374
--fhead "#define WEBKIT_ENUM_TYPES_H\n\n" \
375
--fhead "#include <glib-object.h>\n\n" \
376
--fhead "#include <webkit/webkitdefines.h>\n\n" \
377
--fhead "G_BEGIN_DECLS\n\n" \
378
--ftail "G_END_DECLS\n\n" \
380
--fprod "#include <webkit/@basename@>\n\n" \
381
--eprod "#define WEBKIT_TYPE_@ENUMSHORT@ @enum_name@_get_type()\n\n" \
382
--eprod "WEBKIT_API GType\n@enum_name@_get_type(void);\n\n" \
383
$(webkitgtk_h_api) | \
384
sed 's,web_kit,webkit,' | \
385
sed 's,WEBKIT_TYPE_KIT,WEBKIT_TYPE,' \
387
&& (cmp -s xgen-gth $(GENSOURCES_WEBKIT)/webkitenumtypes.h || cp xgen-gth $(GENSOURCES_WEBKIT)/webkitenumtypes.h) \
389
&& echo timestamp > $(@F)
391
$(GENSOURCES_WEBKIT)/webkitenumtypes.cpp: $(webkitgtk_h_api) $(WebKit)/GNUmakefile.am
392
$(AM_V_GEN)glib-mkenums \
393
--fhead "#include <config.h>\n" \
394
--fhead "#include <glib-object.h>\n" \
395
--fhead "#include \"$(GENSOURCES_WEBKIT)/webkitenumtypes.h\"\n\n" \
396
--fhead "extern \"C\" {\n\n" \
397
--fprod "\n/* enumerations from \"@filename@\" */" \
398
--vhead "static const G@Type@Value _@enum_name@_values[] = {" \
399
--vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \
400
--vtail " { 0, NULL, NULL }\n};\n\n" \
401
--vtail "GType @enum_name@_get_type(void)\n{\n" \
402
--vtail " static GType type = 0;\n\n" \
403
--vtail " if (!type)\n" \
404
--vtail " type = g_@type@_register_static(\"@EnumName@\", _@enum_name@_values);\n\n" \
405
--vtail " return type;\n}\n\n" \
407
$(webkitgtk_h_api) | \
408
sed 's,web_kit,webkit,' \
414
$(WebKit)/ChangeLog \
416
$(WebKit)/docs/webkitgtk-docs.sgml \
417
$(WebKit)/docs/webkitgtk-sections.txt \
418
$(WebKit)/docs/webkitgtk.types \
419
$(WebKit)/docs/webkitenvironment.xml \
420
$(WebKit)/docs/webkitgtk-overrides.txt \
421
$(WebKit)/webkitmarshal.list \
423
$(WebKit)/resources/* \
424
$(WebKit)/tests/resources/* \
425
$(WebKit)/tests/test_utils.h
427
# extra resource files
428
resourcesdir = ${datadir}/webkitgtk-@WEBKITGTK_API_VERSION@/resources
429
dist_resources_DATA = \
430
$(shell ls $(srcdir)/Source/WebKit/gtk/resources/*.html)
433
webkit_tests_cflags = \
434
-fno-strict-aliasing \
435
-I$(srcdir)/Source/JavaScriptCore/ForwardingHeaders \
438
-I$(top_builddir)/Source/WebKit/gtk \
439
-I$(top_srcdir)/Source/WebCore/bindings \
440
-I$(top_srcdir)/Source/WebCore/bindings/gobject \
443
$(javascriptcore_cppflags) \
450
webkit_tests_ldadd = \
451
libjavascriptcoregtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la \
452
libwebkitgtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la \
457
webkit_tests_ldflags = \
462
Programs/unittests/testapplicationcache \
463
Programs/unittests/testcontextmenu \
464
Programs/unittests/testdomdocument \
465
Programs/unittests/testdomdomwindow \
466
Programs/unittests/testdomnode \
467
Programs/unittests/testhttpbackend \
468
Programs/unittests/testfavicondatabase \
469
Programs/unittests/testloading \
470
Programs/unittests/testglobals \
471
Programs/unittests/testmimehandling \
472
Programs/unittests/testnetworkrequest \
473
Programs/unittests/testnetworkresponse \
474
Programs/unittests/testwebframe \
475
Programs/unittests/testwebbackforwardlist \
476
Programs/unittests/testwebhistoryitem \
477
Programs/unittests/testwindow \
478
Programs/unittests/testdownload \
479
Programs/unittests/testatk \
480
Programs/unittests/testatkroles \
481
Programs/unittests/testhittestresult \
482
Programs/unittests/testwebinspector \
483
Programs/unittests/testwebsettings \
484
Programs/unittests/testwebresource \
485
Programs/unittests/testwebdatasource \
486
Programs/unittests/testwebplugindatabase \
487
Programs/unittests/testwebview \
488
Programs/unittests/testkeyevents \
489
Programs/unittests/testcopyandpaste
491
# Add additional tests here
492
Programs_unittests_testapplicationcache_SOURCES = Source/WebKit/gtk/tests/testapplicationcache.c
493
Programs_unittests_testapplicationcache_CFLAGS = $(webkit_tests_cflags)
494
Programs_unittests_testapplicationcache_LDADD = $(webkit_tests_ldadd)
495
Programs_unittests_testapplicationcache_LDFLAGS = $(webkit_tests_ldflags)
497
Programs_unittests_testcontextmenu_SOURCES = Source/WebKit/gtk/tests/testcontextmenu.c
498
Programs_unittests_testcontextmenu_CFLAGS = $(webkit_tests_cflags)
499
Programs_unittests_testcontextmenu_LDADD = $(webkit_tests_ldadd)
500
Programs_unittests_testcontextmenu_LDFLAGS = $(webkit_tests_ldflags)
502
Programs_unittests_testdomdocument_SOURCES = Source/WebKit/gtk/tests/testdomdocument.c
503
Programs_unittests_testdomdocument_CFLAGS = $(webkit_tests_cflags)
504
Programs_unittests_testdomdocument_LDADD = $(webkit_tests_ldadd)
505
Programs_unittests_testdomdocument_LDFLAGS = $(webkit_tests_ldflags)
507
Programs_unittests_testdomdomwindow_SOURCES = Source/WebKit/gtk/tests/testdomdomwindow.c
508
Programs_unittests_testdomdomwindow_CFLAGS = $(webkit_tests_cflags)
509
Programs_unittests_testdomdomwindow_LDADD = $(webkit_tests_ldadd)
510
Programs_unittests_testdomdomwindow_LDFLAGS = $(webkit_tests_ldflags)
512
Programs_unittests_testdomnode_SOURCES = Source/WebKit/gtk/tests/testdomnode.c
513
Programs_unittests_testdomnode_CFLAGS = $(webkit_tests_cflags)
514
Programs_unittests_testdomnode_LDADD = $(webkit_tests_ldadd)
515
Programs_unittests_testdomnode_LDFLAGS = $(webkit_tests_ldflags)
517
Programs_unittests_testhttpbackend_SOURCES = Source/WebKit/gtk/tests/testhttpbackend.c
518
Programs_unittests_testhttpbackend_CFLAGS = $(webkit_tests_cflags)
519
Programs_unittests_testhttpbackend_LDADD = $(webkit_tests_ldadd)
520
Programs_unittests_testhttpbackend_LDFLAGS = $(webkit_tests_ldflags)
522
Programs_unittests_testfavicondatabase_SOURCES = Source/WebKit/gtk/tests/testfavicondatabase.c Source/WebKit/gtk/tests/test_utils.c
523
Programs_unittests_testfavicondatabase_CFLAGS = $(webkit_tests_cflags)
524
Programs_unittests_testfavicondatabase_LDADD = $(webkit_tests_ldadd)
525
Programs_unittests_testfavicondatabase_LDFLAGS = $(webkit_tests_ldflags)
527
Programs_unittests_testglobals_SOURCES = Source/WebKit/gtk/tests/testglobals.c
528
Programs_unittests_testglobals_CFLAGS = $(webkit_tests_cflags)
529
Programs_unittests_testglobals_LDADD = $(webkit_tests_ldadd)
530
Programs_unittests_testglobals_LDFLAGS = $(webkit_tests_ldflags)
532
Programs_unittests_testloading_SOURCES = Source/WebKit/gtk/tests/testloading.c
533
Programs_unittests_testloading_CFLAGS = $(webkit_tests_cflags)
534
Programs_unittests_testloading_LDADD = $(webkit_tests_ldadd)
535
Programs_unittests_testloading_LDFLAGS = $(webkit_tests_ldflags)
537
Programs_unittests_testmimehandling_SOURCES = Source/WebKit/gtk/tests/testmimehandling.c Source/WebKit/gtk/tests/test_utils.c
538
Programs_unittests_testmimehandling_CFLAGS = $(webkit_tests_cflags)
539
Programs_unittests_testmimehandling_LDADD = $(webkit_tests_ldadd)
540
Programs_unittests_testmimehandling_LDFLAGS = $(webkit_tests_ldflags)
542
Programs_unittests_testnetworkrequest_SOURCES = Source/WebKit/gtk/tests/testnetworkrequest.c
543
Programs_unittests_testnetworkrequest_CFLAGS = $(webkit_tests_cflags)
544
Programs_unittests_testnetworkrequest_LDADD = $(webkit_tests_ldadd)
545
Programs_unittests_testnetworkrequest_LDFLAGS = $(webkit_tests_ldflags)
547
Programs_unittests_testnetworkresponse_SOURCES = Source/WebKit/gtk/tests/testnetworkresponse.c
548
Programs_unittests_testnetworkresponse_CFLAGS = $(webkit_tests_cflags)
549
Programs_unittests_testnetworkresponse_LDADD = $(webkit_tests_ldadd)
550
Programs_unittests_testnetworkresponse_LDFLAGS = $(webkit_tests_ldflags)
552
Programs_unittests_testwebframe_SOURCES = Source/WebKit/gtk/tests/testwebframe.c
553
Programs_unittests_testwebframe_CFLAGS = $(webkit_tests_cflags)
554
Programs_unittests_testwebframe_LDADD = $(webkit_tests_ldadd)
555
Programs_unittests_testwebframe_LDFLAGS = $(webkit_tests_ldflags)
557
Programs_unittests_testwebplugindatabase_SOURCES = Source/WebKit/gtk/tests/testwebplugindatabase.c
558
Programs_unittests_testwebplugindatabase_CFLAGS = -DTEST_PLUGIN_DIR=\"${shell pwd}/${top_builddir}/TestNetscapePlugin/.libs\" $(webkit_tests_cflags)
559
Programs_unittests_testwebplugindatabase_LDADD = $(webkit_tests_ldadd)
560
Programs_unittests_testwebplugindatabase_LDFLAGS = $(webkit_tests_ldflags)
562
Programs_unittests_testwebbackforwardlist_SOURCES = Source/WebKit/gtk/tests/testwebbackforwardlist.c
563
Programs_unittests_testwebbackforwardlist_CFLAGS = $(webkit_tests_cflags)
564
Programs_unittests_testwebbackforwardlist_LDADD = $(webkit_tests_ldadd)
565
Programs_unittests_testwebbackforwardlist_LDFLAGS = $(webkit_tests_ldflags)
567
Programs_unittests_testwebhistoryitem_SOURCES = Source/WebKit/gtk/tests/testwebhistoryitem.c
568
Programs_unittests_testwebhistoryitem_CFLAGS = $(webkit_tests_cflags)
569
Programs_unittests_testwebhistoryitem_LDADD = $(webkit_tests_ldadd)
570
Programs_unittests_testwebhistoryitem_LDFLAGS = $(webkit_tests_ldflags)
572
Programs_unittests_testwindow_SOURCES = Source/WebKit/gtk/tests/testwindow.c
573
Programs_unittests_testwindow_CFLAGS = $(webkit_tests_cflags)
574
Programs_unittests_testwindow_LDADD = $(webkit_tests_ldadd)
575
Programs_unittests_testwindow_LDFLAGS = $(webkit_tests_ldflags)
577
Programs_unittests_testdownload_SOURCES = Source/WebKit/gtk/tests/testdownload.c
578
Programs_unittests_testdownload_CFLAGS = $(webkit_tests_cflags)
579
Programs_unittests_testdownload_LDADD = $(webkit_tests_ldadd)
580
Programs_unittests_testdownload_LDFLAGS = $(webkit_tests_ldflags)
582
Programs_unittests_testatk_SOURCES = Source/WebKit/gtk/tests/testatk.c
583
Programs_unittests_testatk_CFLAGS = $(webkit_tests_cflags)
584
Programs_unittests_testatk_LDADD = $(webkit_tests_ldadd)
585
Programs_unittests_testatk_LDFLAGS = $(webkit_tests_ldflags)
587
Programs_unittests_testatkroles_SOURCES = Source/WebKit/gtk/tests/testatkroles.c
588
Programs_unittests_testatkroles_CFLAGS = $(webkit_tests_cflags)
589
Programs_unittests_testatkroles_LDADD = $(webkit_tests_ldadd)
590
Programs_unittests_testatkroles_LDFLAGS = $(webkit_tests_ldflags)
592
Programs_unittests_testwebinspector_SOURCES = Source/WebKit/gtk/tests/testwebinspector.c Source/WebKit/gtk/tests/test_utils.c
593
Programs_unittests_testwebinspector_CFLAGS = $(webkit_tests_cflags)
594
Programs_unittests_testwebinspector_LDADD = $(webkit_tests_ldadd)
595
Programs_unittests_testwebinspector_LDFLAGS = $(webkit_tests_ldflags)
597
Programs_unittests_testwebsettings_SOURCES = Source/WebKit/gtk/tests/testwebsettings.c
598
Programs_unittests_testwebsettings_CFLAGS = $(webkit_tests_cflags)
599
Programs_unittests_testwebsettings_LDADD = $(webkit_tests_ldadd)
600
Programs_unittests_testwebsettings_LDFLAGS = $(webkit_tests_ldflags)
602
Programs_unittests_testwebresource_SOURCES = Source/WebKit/gtk/tests/testwebresource.c
603
Programs_unittests_testwebresource_CFLAGS = $(webkit_tests_cflags)
604
Programs_unittests_testwebresource_LDADD = $(webkit_tests_ldadd)
606
Programs_unittests_testwebdatasource_SOURCES = Source/WebKit/gtk/tests/testwebdatasource.c
607
Programs_unittests_testwebdatasource_CFLAGS = $(webkit_tests_cflags)
608
Programs_unittests_testwebdatasource_LDADD = $(webkit_tests_ldadd)
610
Programs_unittests_testwebview_SOURCES = Source/WebKit/gtk/tests/testwebview.c Source/WebKit/gtk/tests/test_utils.c
611
Programs_unittests_testwebview_CFLAGS = $(webkit_tests_cflags)
612
Programs_unittests_testwebview_LDADD = $(webkit_tests_ldadd)
613
Programs_unittests_testwebview_LDFLAGS = $(webkit_tests_ldflags)
615
Programs_unittests_testhittestresult_SOURCES = Source/WebKit/gtk/tests/testhittestresult.c
616
Programs_unittests_testhittestresult_CFLAGS = $(webkit_tests_cflags)
617
Programs_unittests_testhittestresult_LDADD = $(webkit_tests_ldadd)
619
Programs_unittests_testkeyevents_SOURCES = Source/WebKit/gtk/tests/testkeyevents.c
620
Programs_unittests_testkeyevents_CFLAGS = $(webkit_tests_cflags)
621
Programs_unittests_testkeyevents_LDADD = $(webkit_tests_ldadd)
622
Programs_unittests_testkeyevents_LDFLAGS = $(webkit_tests_ldflags)
624
Programs_unittests_testcopyandpaste_SOURCES = Source/WebKit/gtk/tests/testcopyandpaste.c \
625
Source/WebCore/platform/gtk/GtkVersioning.c
626
Programs_unittests_testcopyandpaste_CFLAGS = $(webkit_tests_cflags) \
627
-I$(srcdir)/Source/WebCore/platform/gtk \
628
-I$(srcdir)/Source/WebCore
629
Programs_unittests_testcopyandpaste_LDADD = $(webkit_tests_ldadd)
630
Programs_unittests_testcopyandpaste_LDFLAGS = $(webkit_tests_ldflags)
632
# Project-wide clean rules
633
# Files that will be cleaned
636
$(top_builddir)/stamp-webkitmarshal.cpp \
637
$(top_builddir)/stamp-webkitmarshal.h \
638
$(top_builddir)/stamp-webkitenumtypes.cpp \
639
$(top_builddir)/stamp-webkitenumtypes.h \
640
$(top_builddir)/Programs/GtkLauncher
643
$(top_builddir)/Source/WebKit/gtk/@WEBKITGTK_PC_NAME@-@WEBKITGTK_API_VERSION@.pc \
644
$(top_builddir)/Source/WebKit/gtk/org.webkitgtk-@WEBKITGTK_API_VERSION@.gschema.xml \
645
$(top_builddir)/Source/WebKit/gtk/webkit/webkitversion.h
647
install-data-local: po-install-data-local
648
installdirs-data-local: po-installdirs-data-local
649
uninstall-local: po-uninstall-local