3 libwebkitgtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la
6 nodist_libwebkitgtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_SOURCES = \
7 $(webkitgtk_built_sources)
9 libwebkitgtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_ladir = $(libwebkitgtkincludedir)/webkit
10 libwebkitgtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_HEADERS = \
11 $(webkitgtk_static_h_api)
13 nodist_libwebkitgtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_HEADERS = \
14 $(webkitgtk_built_h_api) \
15 $(GENSOURCES_WEBKIT)/webkitenumtypes.h
17 libwebkitgtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_SOURCES = \
20 libwebkitgtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_CXXFLAGS = \
21 $(SYMBOL_VISIBILITY_INLINES) \
24 libwebkitgtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_CFLAGS = \
25 $(SYMBOL_VISIBILITY) \
29 webkitgtk_sources += \
30 Source/WebKit/gtk/WebCoreSupport/TextCheckerClientGtk.cpp \
31 Source/WebKit/gtk/WebCoreSupport/TextCheckerClientGtk.h
34 # When building WebCore/WebKit, we want WebCore/config.h and NOT JavaScriptCore/config.h,
35 # hence, it's important that WebCore/ should come first before JavaScriptCore in the
37 libwebkitgtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_CPPFLAGS = \
39 -DPACKAGE_LOCALE_DIR=\"$(localedir)\" \
40 -DDATA_DIR=\"${datadir}\" \
41 -I$(WebCore)/bindings \
42 -I$(WebCore)/bindings/gobject \
44 -I$(WebKit)/WebCoreSupport \
46 -I$(GENSOURCES_WEBKIT) \
47 -I$(GENSOURCES_WEBKITDOM) \
48 -ISource/WebKit/gtk/webkit \
51 $(webcoregtk_cppflags) \
52 $(javascriptcore_cppflags) \
53 $(webkitgtk_cppflags) \
54 -fno-strict-aliasing \
56 $(CLUTTER_GTK_CFLAGS) \
70 $(XCOMPOSITE_CFLAGS) \
75 libwebkitgtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_LDFLAGS = \
76 -version-info @LIBWEBKITGTK_VERSION@ \
80 libwebkitgtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_LIBADD := \
83 libWebCorePlatform.la \
84 libWebCoreModules.la \
88 if ENABLE_INDEXED_DATABASE
89 libwebkitgtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_LIBADD += \
94 libwebkitgtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_LIBADD += \
98 libwebkitgtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_LIBADD += \
99 libjavascriptcoregtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la \
102 $(CLUTTER_GTK_LIBS) \
103 $(COVERAGE_LDFLAGS) \
132 webkitgtk_static_h_api += \
133 $(srcdir)/Source/WebKit/gtk/webkit/webkit.h \
134 $(srcdir)/Source/WebKit/gtk/webkit/webkitapplicationcache.h \
135 $(srcdir)/Source/WebKit/gtk/webkit/webkitdefines.h \
136 $(srcdir)/Source/WebKit/gtk/webkit/webkitdom.h \
137 $(srcdir)/Source/WebKit/gtk/webkit/webkitdownload.h \
138 $(srcdir)/Source/WebKit/gtk/webkit/webkiterror.h \
139 $(srcdir)/Source/WebKit/gtk/webkit/webkitfavicondatabase.h \
140 $(srcdir)/Source/WebKit/gtk/webkit/webkitfilechooserrequest.h \
141 $(srcdir)/Source/WebKit/gtk/webkit/webkitgeolocationpolicydecision.h \
142 $(srcdir)/Source/WebKit/gtk/webkit/webkitglobals.h \
143 $(srcdir)/Source/WebKit/gtk/webkit/webkithittestresult.h \
144 $(srcdir)/Source/WebKit/gtk/webkit/webkiticondatabase.h \
145 $(srcdir)/Source/WebKit/gtk/webkit/webkitnetworkrequest.h \
146 $(srcdir)/Source/WebKit/gtk/webkit/webkitnetworkresponse.h \
147 $(srcdir)/Source/WebKit/gtk/webkit/webkitsecurityorigin.h \
148 $(srcdir)/Source/WebKit/gtk/webkit/webkitsoupauthdialog.h \
149 $(srcdir)/Source/WebKit/gtk/webkit/webkitspellchecker.h \
150 $(srcdir)/Source/WebKit/gtk/webkit/webkitviewportattributes.h \
151 $(srcdir)/Source/WebKit/gtk/webkit/webkitwebbackforwardlist.h \
152 $(srcdir)/Source/WebKit/gtk/webkit/webkitwebdatabase.h \
153 $(srcdir)/Source/WebKit/gtk/webkit/webkitwebdatasource.h \
154 $(srcdir)/Source/WebKit/gtk/webkit/webkitwebframe.h \
155 $(srcdir)/Source/WebKit/gtk/webkit/webkitwebhistoryitem.h \
156 $(srcdir)/Source/WebKit/gtk/webkit/webkitwebinspector.h \
157 $(srcdir)/Source/WebKit/gtk/webkit/webkitwebnavigationaction.h \
158 $(srcdir)/Source/WebKit/gtk/webkit/webkitwebplugin.h \
159 $(srcdir)/Source/WebKit/gtk/webkit/webkitwebplugindatabase.h \
160 $(srcdir)/Source/WebKit/gtk/webkit/webkitwebpolicydecision.h \
161 $(srcdir)/Source/WebKit/gtk/webkit/webkitwebresource.h \
162 $(srcdir)/Source/WebKit/gtk/webkit/webkitwebsettings.h \
163 $(srcdir)/Source/WebKit/gtk/webkit/webkitwebwindowfeatures.h \
164 $(srcdir)/Source/WebKit/gtk/webkit/webkitwebview.h
166 webkitgtk_built_h_api += \
167 Source/WebKit/gtk/webkit/webkitversion.h
170 $(webkitgtk_built_h_api) \
171 $(webkitgtk_static_h_api)
173 # webkitenumtypes.{h,cpp} cannot be in webkitgtk_built_h_api, because
174 # the rule that builds it depends on webkitgtk_built_h_api (circular dependency).
175 webkitgtk_built_sources += \
176 DerivedSources/webkit/webkitenumtypes.cpp \
177 DerivedSources/webkit/webkitenumtypes.h \
178 DerivedSources/webkit/webkitmarshal.cpp \
179 DerivedSources/webkit/webkitmarshal.h \
180 $(webkitgtk_built_h_api)
182 BUILT_SOURCES += $(webkitgtk_built_sources)
184 webkitgtk_sources += \
185 Source/WebKit/gtk/WebCoreSupport/AcceleratedCompositingContext.h \
186 Source/WebKit/gtk/WebCoreSupport/AcceleratedCompositingContextClutter.cpp \
187 Source/WebKit/gtk/WebCoreSupport/AcceleratedCompositingContextGL.cpp \
188 Source/WebKit/gtk/WebCoreSupport/AcceleratedCompositingContextCairo.cpp \
189 Source/WebKit/gtk/WebCoreSupport/AssertMatchingEnums.cpp \
190 Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp \
191 Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.h \
192 Source/WebKit/gtk/WebCoreSupport/ContextMenuClientGtk.cpp \
193 Source/WebKit/gtk/WebCoreSupport/ContextMenuClientGtk.h \
194 Source/WebKit/gtk/WebCoreSupport/DeviceMotionClientGtk.cpp \
195 Source/WebKit/gtk/WebCoreSupport/DeviceMotionClientGtk.h \
196 Source/WebKit/gtk/WebCoreSupport/DeviceOrientationClientGtk.cpp \
197 Source/WebKit/gtk/WebCoreSupport/DeviceOrientationClientGtk.h \
198 Source/WebKit/gtk/WebCoreSupport/DocumentLoaderGtk.cpp \
199 Source/WebKit/gtk/WebCoreSupport/DocumentLoaderGtk.h \
200 Source/WebKit/gtk/WebCoreSupport/DragClientGtk.cpp \
201 Source/WebKit/gtk/WebCoreSupport/DragClientGtk.h \
202 Source/WebKit/gtk/WebCoreSupport/DumpRenderTreeSupportGtk.cpp \
203 Source/WebKit/gtk/WebCoreSupport/DumpRenderTreeSupportGtk.h \
204 Source/WebKit/gtk/WebCoreSupport/EditorClientGtk.cpp \
205 Source/WebKit/gtk/WebCoreSupport/EditorClientGtk.h \
206 Source/WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp \
207 Source/WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.h \
208 Source/WebKit/gtk/WebCoreSupport/FrameNetworkingContextGtk.cpp \
209 Source/WebKit/gtk/WebCoreSupport/FrameNetworkingContextGtk.h \
210 Source/WebKit/gtk/WebCoreSupport/GeolocationClientGtk.cpp \
211 Source/WebKit/gtk/WebCoreSupport/GeolocationClientGtk.h \
212 Source/WebKit/gtk/WebCoreSupport/GtkAdjustmentWatcher.cpp \
213 Source/WebKit/gtk/WebCoreSupport/GtkAdjustmentWatcher.h \
214 Source/WebKit/gtk/WebCoreSupport/InspectorClientGtk.cpp \
215 Source/WebKit/gtk/WebCoreSupport/InspectorClientGtk.h \
216 Source/WebKit/gtk/WebCoreSupport/NavigatorContentUtilsClientGtk.h \
217 Source/WebKit/gtk/WebCoreSupport/NavigatorContentUtilsClientGtk.cpp \
218 Source/WebKit/gtk/WebCoreSupport/PasteboardHelperGtk.h \
219 Source/WebKit/gtk/WebCoreSupport/PlatformStrategiesGtk.h \
220 Source/WebKit/gtk/WebCoreSupport/PlatformStrategiesGtk.cpp \
221 Source/WebKit/gtk/WebCoreSupport/UserMediaClientGtk.cpp \
222 Source/WebKit/gtk/WebCoreSupport/UserMediaClientGtk.h \
223 Source/WebKit/gtk/WebCoreSupport/WebViewInputMethodFilter.cpp \
224 Source/WebKit/gtk/WebCoreSupport/WebViewInputMethodFilter.h \
225 Source/WebKit/gtk/webkit/webkitapplicationcache.cpp \
226 Source/WebKit/gtk/webkit/webkitdownload.cpp \
227 Source/WebKit/gtk/webkit/webkitdownloadprivate.h \
228 Source/WebKit/gtk/webkit/webkiterror.cpp \
229 Source/WebKit/gtk/webkit/webkitfavicondatabase.cpp \
230 Source/WebKit/gtk/webkit/webkitfavicondatabaseprivate.h \
231 Source/WebKit/gtk/webkit/webkitfilechooserrequest.cpp \
232 Source/WebKit/gtk/webkit/webkitfilechooserrequest.h \
233 Source/WebKit/gtk/webkit/webkitfilechooserrequestprivate.h \
234 Source/WebKit/gtk/webkit/webkitgeolocationpolicydecision.cpp \
235 Source/WebKit/gtk/webkit/webkitgeolocationpolicydecisionprivate.h \
236 Source/WebKit/gtk/webkit/webkitglobals.cpp \
237 Source/WebKit/gtk/webkit/webkitglobals.h \
238 Source/WebKit/gtk/webkit/webkitglobalsprivate.h \
239 Source/WebKit/gtk/webkit/webkithittestresult.cpp \
240 Source/WebKit/gtk/webkit/webkithittestresultprivate.h \
241 Source/WebKit/gtk/webkit/webkiticondatabase.cpp \
242 Source/WebKit/gtk/webkit/webkitnetworkrequest.cpp \
243 Source/WebKit/gtk/webkit/webkitnetworkrequestprivate.h \
244 Source/WebKit/gtk/webkit/webkitnetworkresponse.cpp \
245 Source/WebKit/gtk/webkit/webkitnetworkresponseprivate.h \
246 Source/WebKit/gtk/webkit/webkitsecurityorigin.cpp \
247 Source/WebKit/gtk/webkit/webkitsecurityoriginprivate.h \
248 Source/WebKit/gtk/webkit/webkitsoupauthdialog.cpp \
249 Source/WebKit/gtk/webkit/webkitspellchecker.cpp \
250 Source/WebKit/gtk/webkit/webkitspellcheckerenchant.cpp \
251 Source/WebKit/gtk/webkit/webkitspellcheckerenchant.h \
252 Source/WebKit/gtk/webkit/webkitversion.cpp \
253 Source/WebKit/gtk/webkit/webkitviewportattributes.cpp \
254 Source/WebKit/gtk/webkit/webkitviewportattributesprivate.h \
255 Source/WebKit/gtk/webkit/webkitwebbackforwardlist.cpp \
256 Source/WebKit/gtk/webkit/webkitwebbackforwardlistprivate.h \
257 Source/WebKit/gtk/webkit/webkitwebdatabase.cpp \
258 Source/WebKit/gtk/webkit/webkitwebdatasource.cpp \
259 Source/WebKit/gtk/webkit/webkitwebdatasourceprivate.h \
260 Source/WebKit/gtk/webkit/webkitwebframe.cpp \
261 Source/WebKit/gtk/webkit/webkitwebframeprivate.h \
262 Source/WebKit/gtk/webkit/webkitwebhistoryitem.cpp \
263 Source/WebKit/gtk/webkit/webkitwebhistoryitemprivate.h \
264 Source/WebKit/gtk/webkit/webkitwebinspector.cpp \
265 Source/WebKit/gtk/webkit/webkitwebinspectorprivate.h \
266 Source/WebKit/gtk/webkit/webkitwebnavigationaction.cpp \
267 Source/WebKit/gtk/webkit/webkitwebnavigationactionprivate.h \
268 Source/WebKit/gtk/webkit/webkitwebpolicydecision.cpp \
269 Source/WebKit/gtk/webkit/webkitwebpolicydecisionprivate.h \
270 Source/WebKit/gtk/webkit/webkitwebresource.cpp \
271 Source/WebKit/gtk/webkit/webkitwebresourceprivate.h \
272 Source/WebKit/gtk/webkit/webkitwebplugin.cpp \
273 Source/WebKit/gtk/webkit/webkitwebpluginprivate.h \
274 Source/WebKit/gtk/webkit/webkitwebplugindatabase.cpp \
275 Source/WebKit/gtk/webkit/webkitwebplugindatabaseprivate.h \
276 Source/WebKit/gtk/webkit/webkitwebsettings.cpp \
277 Source/WebKit/gtk/webkit/webkitwebsettingsprivate.h \
278 Source/WebKit/gtk/webkit/webkitwebview.cpp \
279 Source/WebKit/gtk/webkit/webkitwebviewprivate.h \
280 Source/WebKit/gtk/webkit/webkitwebwindowfeatures.cpp \
281 Source/WebKit/gtk/webkit/webkitwebwindowfeaturesprivate.h
284 pkgconfig_DATA += Source/WebKit/gtk/@WEBKITGTK_PC_NAME@-@WEBKITGTK_API_VERSION@.pc
286 if ENABLE_INTROSPECTION
288 JSCore-@WEBKITGTK_API_VERSION@.gir: $(top_builddir)/Source/WebKit/gtk/JSCore-@WEBKITGTK_API_VERSION@.gir
289 $(AM_V_GEN)cp $(top_builddir)/Source/WebKit/gtk/JSCore-@WEBKITGTK_API_VERSION@.gir $(top_builddir)/
291 JSCORE_GIRSOURCES += JSCore-@WEBKITGTK_API_VERSION@.gir
292 WEBKIT_GIRSOURCES += WebKit-@WEBKITGTK_API_VERSION@.gir
294 $(WEBKIT_GIRSOURCES): $(G_IR_SCANNER) $(JSCORE_GIRSOURCES) libwebkitgtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la
295 $(AM_V_GEN)$(G_IR_SCANNER) -v --warn-all \
296 --symbol-prefix=webkit \
297 --identifier-prefix=WebKit \
299 --nsversion=@WEBKITGTK_API_VERSION@ \
300 --include=GObject-2.0 \
301 --include=Gtk-@GTK_API_VERSION@ \
302 --include=JSCore-@WEBKITGTK_API_VERSION@ \
304 --library=webkitgtk-@WEBKITGTK_API_VERSION@ \
305 --library=javascriptcoregtk-@WEBKITGTK_API_VERSION@ \
306 --libtool="$(LIBTOOL)" \
308 --pkg=gtk+-@GTK_API_VERSION@ \
310 --pkg-export=webkitgtk-@WEBKITGTK_API_VERSION@ \
312 --add-include-path=$(WebKit) \
313 --add-include-path=$(top_builddir) \
314 --c-include="webkit/webkit.h" \
318 -I$(GENSOURCES_WEBKITDOM) \
319 -I$(GENSOURCES_WEBKIT) \
320 -I$(top_builddir)/Source/WebKit/gtk \
321 -I$(top_srcdir)/Source/JavaScriptCore/ForwardingHeaders \
323 $(GENSOURCES_WEBKIT)/webkitenumtypes.h \
325 $(webkitgtk_gdom_built_h_api) \
326 $(WebKit)/webkit/*.cpp
328 girdir = $(datadir)/gir-1.0
329 gir_DATA = $(WEBKIT_GIRSOURCES) $(JSCORE_GIRSOURCES)
331 typelibsdir += $(libdir)/girepository-1.0
332 typelibs_DATA += $(JSCORE_GIRSOURCES:.gir=.typelib) $(WEBKIT_GIRSOURCES:.gir=.typelib)
334 WebKit-@WEBKITGTK_API_VERSION@.typelib: WebKit-@WEBKITGTK_API_VERSION@.gir $(G_IR_COMPILER)
335 $(AM_V_GEN)$(G_IR_COMPILER) --includedir $(WebKit) --includedir $(top_builddir) $< -o $@
337 JSCore-@WEBKITGTK_API_VERSION@.typelib: JSCore-@WEBKITGTK_API_VERSION@.gir $(G_IR_COMPILER)
338 $(AM_V_GEN)$(G_IR_COMPILER) --includedir $(WebKit) --includedir $(top_builddir) $< -o $@
340 CLEANFILES += $(JSCORE_GIRSOURCES) $(WEBKIT_GIRSOURCES) $(typelibs_DATA)
345 EXTRA_DIST += $(top_builddir)/Source/WebKit/gtk/JSCore-@WEBKITGTK_API_VERSION@.gir
347 WEBKIT_MARSHAL_LIST = $(WebKit)/webkitmarshal.list
348 $(GENSOURCES_WEBKIT)/webkitmarshal.cpp: stamp-webkitmarshal.cpp
350 $(GENSOURCES_WEBKIT)/webkitmarshal.h: stamp-webkitmarshal.h
353 stamp-webkitmarshal.cpp: $(WEBKIT_MARSHAL_LIST)
354 $(AM_V_GEN) echo "extern \"C\" {" > $(GENSOURCES_WEBKIT)/webkitmarshal.cpp && \
355 $(GLIB_GENMARSHAL) --prefix=webkit_marshal $(WEBKIT_MARSHAL_LIST) --body >> $(GENSOURCES_WEBKIT)/webkitmarshal.cpp && \
356 echo '}' >> $(GENSOURCES_WEBKIT)/webkitmarshal.cpp && \
357 echo timestamp > $(@F)
359 stamp-webkitmarshal.h: $(WEBKIT_MARSHAL_LIST)
360 $(AM_V_GEN)$(GLIB_GENMARSHAL) --prefix=webkit_marshal $(WEBKIT_MARSHAL_LIST) --header > $(GENSOURCES_WEBKIT)/webkitmarshal.h && \
361 echo timestamp > $(@F)
363 $(GENSOURCES_WEBKIT)/webkitenumtypes.h: stamp-webkitenumtypes.h
365 stamp-webkitenumtypes.h: $(webkitgtk_h_api) $(WebKit)/GNUmakefile.am
366 $(AM_V_GEN)glib-mkenums \
367 --fhead "#ifndef WEBKIT_ENUM_TYPES_H\n" \
368 --fhead "#define WEBKIT_ENUM_TYPES_H\n\n" \
369 --fhead "#include <glib-object.h>\n\n" \
370 --fhead "#include <webkit/webkitdefines.h>\n\n" \
371 --fhead "G_BEGIN_DECLS\n\n" \
372 --ftail "G_END_DECLS\n\n" \
374 --fprod "#include <webkit/@basename@>\n\n" \
375 --eprod "#define WEBKIT_TYPE_@ENUMSHORT@ @enum_name@_get_type()\n\n" \
376 --eprod "WEBKIT_API GType\n@enum_name@_get_type(void);\n\n" \
377 $(webkitgtk_h_api) | \
378 sed 's,web_kit,webkit,' | \
379 sed 's,WEBKIT_TYPE_KIT,WEBKIT_TYPE,' \
381 && (cmp -s xgen-gth $(GENSOURCES_WEBKIT)/webkitenumtypes.h || cp xgen-gth $(GENSOURCES_WEBKIT)/webkitenumtypes.h) \
383 && echo timestamp > $(@F)
385 $(GENSOURCES_WEBKIT)/webkitenumtypes.cpp: $(webkitgtk_h_api) $(WebKit)/GNUmakefile.am
386 $(AM_V_GEN)glib-mkenums \
387 --fhead "#include <config.h>\n" \
388 --fhead "#include <glib-object.h>\n" \
389 --fhead "#include \"$(GENSOURCES_WEBKIT)/webkitenumtypes.h\"\n\n" \
390 --fhead "extern \"C\" {\n\n" \
391 --fprod "\n/* enumerations from \"@filename@\" */" \
392 --vhead "static const G@Type@Value _@enum_name@_values[] = {" \
393 --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \
394 --vtail " { 0, NULL, NULL }\n};\n\n" \
395 --vtail "GType @enum_name@_get_type(void)\n{\n" \
396 --vtail " static GType type = 0;\n\n" \
397 --vtail " if (!type)\n" \
398 --vtail " type = g_@type@_register_static(\"@EnumName@\", _@enum_name@_values);\n\n" \
399 --vtail " return type;\n}\n\n" \
401 $(webkitgtk_h_api) | \
402 sed 's,web_kit,webkit,' \
408 $(WebKit)/ChangeLog \
410 $(WebKit)/docs/webkitgtk-docs.sgml \
411 $(WebKit)/docs/webkitgtk-sections.txt \
412 $(WebKit)/docs/webkitgtk.types \
413 $(WebKit)/docs/webkitenvironment.xml \
414 $(WebKit)/docs/webkitgtk-overrides.txt \
415 $(WebKit)/webkitmarshal.list \
417 $(WebKit)/resources/* \
418 $(WebKit)/tests/resources/* \
419 $(WebKit)/tests/test_utils.h
421 # extra resource files
422 resourcesdir = ${datadir}/webkitgtk-@WEBKITGTK_API_VERSION@/resources
423 dist_resources_DATA = \
424 $(shell ls $(srcdir)/Source/WebKit/gtk/resources/*.html)
427 webkit_tests_cflags = \
428 -fno-strict-aliasing \
429 -I$(srcdir)/Source/JavaScriptCore/ForwardingHeaders \
432 -I$(top_builddir)/Source/WebKit/gtk \
433 -I$(top_srcdir)/Source/WebCore/bindings \
434 -I$(top_srcdir)/Source/WebCore/bindings/gobject \
437 $(javascriptcore_cppflags) \
445 webkit_tests_ldadd = \
446 libjavascriptcoregtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la \
447 libwebkitgtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la \
453 webkit_tests_ldflags = \
459 Programs/unittests/testapplicationcache \
460 Programs/unittests/testcontextmenu \
461 Programs/unittests/testdomdocument \
462 Programs/unittests/testdomdomwindow \
463 Programs/unittests/testdomnode \
464 Programs/unittests/testhttpbackend \
465 Programs/unittests/testfavicondatabase \
466 Programs/unittests/testloading \
467 Programs/unittests/testglobals \
468 Programs/unittests/testmimehandling \
469 Programs/unittests/testnetworkrequest \
470 Programs/unittests/testnetworkresponse \
471 Programs/unittests/testwebframe \
472 Programs/unittests/testwebbackforwardlist \
473 Programs/unittests/testwebhistoryitem \
474 Programs/unittests/testwindow \
475 Programs/unittests/testdownload \
476 Programs/unittests/testatk \
477 Programs/unittests/testatkroles \
478 Programs/unittests/testhittestresult \
479 Programs/unittests/testwebinspector \
480 Programs/unittests/testwebsettings \
481 Programs/unittests/testwebresource \
482 Programs/unittests/testwebdatasource \
483 Programs/unittests/testwebplugindatabase \
484 Programs/unittests/testwebview \
485 Programs/unittests/testkeyevents \
486 Programs/unittests/testcopyandpaste
489 # Add additional tests here
490 Programs_unittests_testapplicationcache_SOURCES = Source/WebKit/gtk/tests/testapplicationcache.c
491 Programs_unittests_testapplicationcache_CFLAGS = $(webkit_tests_cflags)
492 Programs_unittests_testapplicationcache_LDADD = $(webkit_tests_ldadd)
493 Programs_unittests_testapplicationcache_LDFLAGS = $(webkit_tests_ldflags)
495 Programs_unittests_testcontextmenu_SOURCES = Source/WebKit/gtk/tests/testcontextmenu.c
496 Programs_unittests_testcontextmenu_CFLAGS = $(webkit_tests_cflags)
497 Programs_unittests_testcontextmenu_LDADD = $(webkit_tests_ldadd)
498 Programs_unittests_testcontextmenu_LDFLAGS = $(webkit_tests_ldflags)
500 Programs_unittests_testdomdocument_SOURCES = Source/WebKit/gtk/tests/testdomdocument.c
501 Programs_unittests_testdomdocument_CFLAGS = $(webkit_tests_cflags)
502 Programs_unittests_testdomdocument_LDADD = $(webkit_tests_ldadd)
503 Programs_unittests_testdomdocument_LDFLAGS = $(webkit_tests_ldflags)
505 Programs_unittests_testdomdomwindow_SOURCES = Source/WebKit/gtk/tests/testdomdomwindow.c
506 Programs_unittests_testdomdomwindow_CFLAGS = $(webkit_tests_cflags)
507 Programs_unittests_testdomdomwindow_LDADD = $(webkit_tests_ldadd)
508 Programs_unittests_testdomdomwindow_LDFLAGS = $(webkit_tests_ldflags)
510 Programs_unittests_testdomnode_SOURCES = Source/WebKit/gtk/tests/testdomnode.c
511 Programs_unittests_testdomnode_CFLAGS = $(webkit_tests_cflags)
512 Programs_unittests_testdomnode_LDADD = $(webkit_tests_ldadd)
513 Programs_unittests_testdomnode_LDFLAGS = $(webkit_tests_ldflags)
515 Programs_unittests_testhttpbackend_SOURCES = Source/WebKit/gtk/tests/testhttpbackend.c
516 Programs_unittests_testhttpbackend_CFLAGS = $(webkit_tests_cflags)
517 Programs_unittests_testhttpbackend_LDADD = $(webkit_tests_ldadd)
518 Programs_unittests_testhttpbackend_LDFLAGS = $(webkit_tests_ldflags)
520 Programs_unittests_testfavicondatabase_SOURCES = Source/WebKit/gtk/tests/testfavicondatabase.c Source/WebKit/gtk/tests/test_utils.c
521 Programs_unittests_testfavicondatabase_CFLAGS = $(webkit_tests_cflags)
522 Programs_unittests_testfavicondatabase_LDADD = $(webkit_tests_ldadd)
523 Programs_unittests_testfavicondatabase_LDFLAGS = $(webkit_tests_ldflags)
525 Programs_unittests_testglobals_SOURCES = Source/WebKit/gtk/tests/testglobals.c
526 Programs_unittests_testglobals_CFLAGS = $(webkit_tests_cflags)
527 Programs_unittests_testglobals_LDADD = $(webkit_tests_ldadd)
528 Programs_unittests_testglobals_LDFLAGS = $(webkit_tests_ldflags)
530 Programs_unittests_testloading_SOURCES = Source/WebKit/gtk/tests/testloading.c
531 Programs_unittests_testloading_CFLAGS = $(webkit_tests_cflags)
532 Programs_unittests_testloading_LDADD = $(webkit_tests_ldadd)
533 Programs_unittests_testloading_LDFLAGS = $(webkit_tests_ldflags)
535 Programs_unittests_testmimehandling_SOURCES = Source/WebKit/gtk/tests/testmimehandling.c Source/WebKit/gtk/tests/test_utils.c
536 Programs_unittests_testmimehandling_CFLAGS = $(webkit_tests_cflags)
537 Programs_unittests_testmimehandling_LDADD = $(webkit_tests_ldadd)
538 Programs_unittests_testmimehandling_LDFLAGS = $(webkit_tests_ldflags)
540 Programs_unittests_testnetworkrequest_SOURCES = Source/WebKit/gtk/tests/testnetworkrequest.c
541 Programs_unittests_testnetworkrequest_CFLAGS = $(webkit_tests_cflags)
542 Programs_unittests_testnetworkrequest_LDADD = $(webkit_tests_ldadd)
543 Programs_unittests_testnetworkrequest_LDFLAGS = $(webkit_tests_ldflags)
545 Programs_unittests_testnetworkresponse_SOURCES = Source/WebKit/gtk/tests/testnetworkresponse.c
546 Programs_unittests_testnetworkresponse_CFLAGS = $(webkit_tests_cflags)
547 Programs_unittests_testnetworkresponse_LDADD = $(webkit_tests_ldadd)
548 Programs_unittests_testnetworkresponse_LDFLAGS = $(webkit_tests_ldflags)
550 Programs_unittests_testwebframe_SOURCES = Source/WebKit/gtk/tests/testwebframe.c
551 Programs_unittests_testwebframe_CFLAGS = $(webkit_tests_cflags)
552 Programs_unittests_testwebframe_LDADD = $(webkit_tests_ldadd)
553 Programs_unittests_testwebframe_LDFLAGS = $(webkit_tests_ldflags)
555 Programs_unittests_testwebplugindatabase_SOURCES = Source/WebKit/gtk/tests/testwebplugindatabase.c
556 Programs_unittests_testwebplugindatabase_CFLAGS = -DTEST_PLUGIN_DIR=\"${shell pwd}/${top_builddir}/TestNetscapePlugin/.libs\" $(webkit_tests_cflags)
557 Programs_unittests_testwebplugindatabase_LDADD = $(webkit_tests_ldadd)
558 Programs_unittests_testwebplugindatabase_LDFLAGS = $(webkit_tests_ldflags)
560 Programs_unittests_testwebbackforwardlist_SOURCES = Source/WebKit/gtk/tests/testwebbackforwardlist.c
561 Programs_unittests_testwebbackforwardlist_CFLAGS = $(webkit_tests_cflags)
562 Programs_unittests_testwebbackforwardlist_LDADD = $(webkit_tests_ldadd)
563 Programs_unittests_testwebbackforwardlist_LDFLAGS = $(webkit_tests_ldflags)
565 Programs_unittests_testwebhistoryitem_SOURCES = Source/WebKit/gtk/tests/testwebhistoryitem.c
566 Programs_unittests_testwebhistoryitem_CFLAGS = $(webkit_tests_cflags)
567 Programs_unittests_testwebhistoryitem_LDADD = $(webkit_tests_ldadd)
568 Programs_unittests_testwebhistoryitem_LDFLAGS = $(webkit_tests_ldflags)
570 Programs_unittests_testwindow_SOURCES = Source/WebKit/gtk/tests/testwindow.c
571 Programs_unittests_testwindow_CFLAGS = $(webkit_tests_cflags)
572 Programs_unittests_testwindow_LDADD = $(webkit_tests_ldadd)
573 Programs_unittests_testwindow_LDFLAGS = $(webkit_tests_ldflags)
575 Programs_unittests_testdownload_SOURCES = Source/WebKit/gtk/tests/testdownload.c
576 Programs_unittests_testdownload_CFLAGS = $(webkit_tests_cflags)
577 Programs_unittests_testdownload_LDADD = $(webkit_tests_ldadd)
578 Programs_unittests_testdownload_LDFLAGS = $(webkit_tests_ldflags)
580 Programs_unittests_testatk_SOURCES = Source/WebKit/gtk/tests/testatk.c
581 Programs_unittests_testatk_CFLAGS = $(webkit_tests_cflags)
582 Programs_unittests_testatk_LDADD = $(webkit_tests_ldadd)
583 Programs_unittests_testatk_LDFLAGS = $(webkit_tests_ldflags)
585 Programs_unittests_testatkroles_SOURCES = Source/WebKit/gtk/tests/testatkroles.c
586 Programs_unittests_testatkroles_CFLAGS = $(webkit_tests_cflags)
587 Programs_unittests_testatkroles_LDADD = $(webkit_tests_ldadd)
588 Programs_unittests_testatkroles_LDFLAGS = $(webkit_tests_ldflags)
590 Programs_unittests_testwebinspector_SOURCES = Source/WebKit/gtk/tests/testwebinspector.c Source/WebKit/gtk/tests/test_utils.c
591 Programs_unittests_testwebinspector_CFLAGS = $(webkit_tests_cflags)
592 Programs_unittests_testwebinspector_LDADD = $(webkit_tests_ldadd)
593 Programs_unittests_testwebinspector_LDFLAGS = $(webkit_tests_ldflags)
595 Programs_unittests_testwebsettings_SOURCES = Source/WebKit/gtk/tests/testwebsettings.c
596 Programs_unittests_testwebsettings_CFLAGS = $(webkit_tests_cflags)
597 Programs_unittests_testwebsettings_LDADD = $(webkit_tests_ldadd)
598 Programs_unittests_testwebsettings_LDFLAGS = $(webkit_tests_ldflags)
600 Programs_unittests_testwebresource_SOURCES = Source/WebKit/gtk/tests/testwebresource.c
601 Programs_unittests_testwebresource_CFLAGS = $(webkit_tests_cflags)
602 Programs_unittests_testwebresource_LDADD = $(webkit_tests_ldadd)
604 Programs_unittests_testwebdatasource_SOURCES = Source/WebKit/gtk/tests/testwebdatasource.c
605 Programs_unittests_testwebdatasource_CFLAGS = $(webkit_tests_cflags)
606 Programs_unittests_testwebdatasource_LDADD = $(webkit_tests_ldadd)
608 Programs_unittests_testwebview_SOURCES = Source/WebKit/gtk/tests/testwebview.c Source/WebKit/gtk/tests/test_utils.c
609 Programs_unittests_testwebview_CFLAGS = $(webkit_tests_cflags)
610 Programs_unittests_testwebview_LDADD = $(webkit_tests_ldadd)
611 Programs_unittests_testwebview_LDFLAGS = $(webkit_tests_ldflags)
613 Programs_unittests_testhittestresult_SOURCES = Source/WebKit/gtk/tests/testhittestresult.c
614 Programs_unittests_testhittestresult_CFLAGS = $(webkit_tests_cflags)
615 Programs_unittests_testhittestresult_LDADD = $(webkit_tests_ldadd)
617 Programs_unittests_testkeyevents_SOURCES = Source/WebKit/gtk/tests/testkeyevents.c
618 Programs_unittests_testkeyevents_CFLAGS = $(webkit_tests_cflags)
619 Programs_unittests_testkeyevents_LDADD = $(webkit_tests_ldadd)
620 Programs_unittests_testkeyevents_LDFLAGS = $(webkit_tests_ldflags)
622 Programs_unittests_testcopyandpaste_SOURCES = Source/WebKit/gtk/tests/testcopyandpaste.c \
623 Source/WebCore/platform/gtk/GtkVersioning.c
624 Programs_unittests_testcopyandpaste_CFLAGS = $(webkit_tests_cflags) \
625 -I$(srcdir)/Source/WebCore/platform/gtk \
626 -I$(srcdir)/Source/WebCore
627 Programs_unittests_testcopyandpaste_LDADD = $(webkit_tests_ldadd)
628 Programs_unittests_testcopyandpaste_LDFLAGS = $(webkit_tests_ldflags)
630 # Project-wide clean rules
631 # Files that will be cleaned
634 $(top_builddir)/stamp-webkitmarshal.cpp \
635 $(top_builddir)/stamp-webkitmarshal.h \
636 $(top_builddir)/stamp-webkitenumtypes.cpp \
637 $(top_builddir)/stamp-webkitenumtypes.h \
638 $(top_builddir)/Programs/GtkLauncher
641 $(top_builddir)/Source/WebKit/gtk/@WEBKITGTK_PC_NAME@-@WEBKITGTK_API_VERSION@.pc \
642 $(top_builddir)/Source/WebKit/gtk/org.webkitgtk-@WEBKITGTK_API_VERSION@.gschema.xml \
643 $(top_builddir)/Source/WebKit/gtk/webkit/webkitversion.h
645 install-data-local: po-install-data-local
646 installdirs-data-local: po-installdirs-data-local
647 uninstall-local: po-uninstall-local