2
Programs/DumpRenderTree \
6
Programs_GtkLauncher_CPPFLAGS = \
7
-I$(srcdir)/Source/WebKit/gtk \
8
-I$(srcdir)/Source/WebCore/platform/network/soup/cache/ \
9
-I$(top_builddir)/Source/WebKit/gtk \
10
-I$(top_builddir)/DerivedSources \
11
-DWEBKIT_EXEC_PATH=\"${shell pwd}/$(top_builddir)/Programs/\" \
13
$(javascriptcore_cppflags)
15
Programs_GtkLauncher_SOURCES = \
16
Tools/GtkLauncher/LauncherInspectorWindow.c \
17
Tools/GtkLauncher/LauncherInspectorWindow.h \
18
Tools/GtkLauncher/main.c
20
Programs_GtkLauncher_CFLAGS = \
22
-fno-strict-aliasing \
28
Programs_GtkLauncher_LDADD = \
29
libwebkitgtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la \
30
libjavascriptcoregtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la \
37
Programs_GtkLauncher_LDFLAGS = \
42
# We must split off the window.internals implementation into a separate
43
# convenience library because it requires a different include path order
44
# to prefer the WebCore config.h over the DumpRenderTree config.h
45
noinst_LTLIBRARIES += libWebCoreInternals.la
46
libWebCoreInternals_la_SOURCES = \
47
Source/WebCore/bindings/js/JSDOMWrapper.cpp \
48
Source/WebCore/bindings/js/JSDOMWrapper.h \
49
Source/WebCore/testing/MallocStatistics.h \
50
Source/WebCore/testing/Internals.cpp \
51
Source/WebCore/testing/Internals.h \
52
Source/WebCore/testing/InternalSettings.cpp \
53
Source/WebCore/testing/InternalSettings.h \
54
Source/WebCore/testing/MockPagePopupDriver.cpp \
55
Source/WebCore/testing/MockPagePopupDriver.h \
56
Source/WebCore/testing/js/WebCoreTestSupport.cpp \
57
Source/WebCore/testing/js/WebCoreTestSupport.h
59
libwebcoreinternals_built_sources += \
60
DerivedSources/WebCore/JSMallocStatistics.cpp \
61
DerivedSources/WebCore/JSMallocStatistics.h \
62
DerivedSources/WebCore/JSInternals.cpp \
63
DerivedSources/WebCore/JSInternals.h \
64
DerivedSources/WebCore/JSInternalSettings.cpp \
65
DerivedSources/WebCore/JSInternalSettings.h
67
nodist_libWebCoreInternals_la_SOURCES = $(libwebcoreinternals_built_sources)
68
BUILT_SOURCES += $(libwebcoreinternals_built_sources)
70
libWebCoreInternals_la_CPPFLAGS = \
73
$(webcoregtk_cppflags) \
74
$(javascriptcore_cppflags) \
78
-I$(top_builddir)/DerivedSources \
79
-I$(top_builddir)/DerivedSources/WebCore
81
libWebCoreInternals_la_CXXFLAGS = \
83
$(libWebCoreInternals_la_CFLAGS)
85
libWebCoreInternals_la_CFLAGS = \
86
-fno-strict-aliasing \
87
$(javascriptcore_cflags)
90
Programs_DumpRenderTree_CPPFLAGS = \
92
-DTOP_LEVEL_DIR=\"${shell pwd}/${srcdir}\" \
93
-I$(srcdir)/Tools/DumpRenderTree \
94
-I$(srcdir)/Tools/DumpRenderTree/cairo \
95
-I$(srcdir)/Tools/DumpRenderTree/gtk \
96
-I$(srcdir)/Source/WebKit/gtk \
97
-I$(srcdir)/Source/WebCore/platform/gtk \
98
-I$(srcdir)/Source/WebCore/testing/js \
99
-I$(top_builddir)/DerivedSources \
100
-I$(top_builddir)/Source/WebKit/gtk \
101
$(javascriptcore_cppflags) \
105
Programs_DumpRenderTree_CPPFLAGS += \
106
-DTEST_PLUGIN_DIR=\"${shell pwd}/${top_builddir}/TestNetscapePlugin/.libs\" \
107
-DFONTS_CONF_DIR=\"${shell pwd}/${srcdir}/Tools/DumpRenderTree/gtk/fonts\"
110
Programs_DumpRenderTree_SOURCES = \
111
Tools/DumpRenderTree/DumpRenderTree.h \
112
Tools/DumpRenderTree/DumpRenderTreeCommon.cpp \
113
Tools/DumpRenderTree/DumpRenderTreePrefix.h \
114
Tools/DumpRenderTree/AccessibilityController.cpp \
115
Tools/DumpRenderTree/AccessibilityController.h \
116
Tools/DumpRenderTree/AccessibilityTextMarker.cpp \
117
Tools/DumpRenderTree/AccessibilityTextMarker.h \
118
Tools/DumpRenderTree/AccessibilityUIElement.cpp \
119
Tools/DumpRenderTree/AccessibilityUIElement.h \
120
Tools/DumpRenderTree/CyclicRedundancyCheck.cpp \
121
Tools/DumpRenderTree/CyclicRedundancyCheck.h \
122
Tools/DumpRenderTree/GCController.cpp \
123
Tools/DumpRenderTree/GCController.h \
124
Tools/DumpRenderTree/JavaScriptThreading.h \
125
Tools/DumpRenderTree/TestRunner.cpp \
126
Tools/DumpRenderTree/TestRunner.h \
127
Tools/DumpRenderTree/PixelDumpSupport.cpp \
128
Tools/DumpRenderTree/PixelDumpSupport.h \
129
Tools/DumpRenderTree/WorkQueue.cpp \
130
Tools/DumpRenderTree/WorkQueue.h \
131
Tools/DumpRenderTree/WorkQueueItem.h \
132
Tools/DumpRenderTree/config.h \
133
Tools/DumpRenderTree/cairo/PixelDumpSupportCairo.cpp \
134
Tools/DumpRenderTree/cairo/PixelDumpSupportCairo.h \
135
Tools/DumpRenderTree/gtk/AccessibilityCallbacks.h \
136
Tools/DumpRenderTree/gtk/AccessibilityCallbacks.cpp \
137
Tools/DumpRenderTree/gtk/AccessibilityControllerGtk.cpp \
138
Tools/DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp \
139
Tools/DumpRenderTree/gtk/DumpRenderTree.cpp \
140
Tools/DumpRenderTree/gtk/DumpRenderTreeGtk.h \
141
Tools/DumpRenderTree/gtk/EditingCallbacks.h \
142
Tools/DumpRenderTree/gtk/EditingCallbacks.cpp \
143
Tools/DumpRenderTree/gtk/EventSender.h \
144
Tools/DumpRenderTree/gtk/EventSender.cpp \
145
Tools/DumpRenderTree/gtk/GCControllerGtk.cpp \
146
Tools/DumpRenderTree/gtk/TestRunnerGtk.cpp \
147
Tools/DumpRenderTree/gtk/PixelDumpSupportGtk.cpp \
148
Tools/DumpRenderTree/gtk/SelfScrollingWebKitWebView.cpp \
149
Tools/DumpRenderTree/gtk/SelfScrollingWebKitWebView.h \
150
Tools/DumpRenderTree/gtk/TextInputController.h \
151
Tools/DumpRenderTree/gtk/TextInputController.cpp \
152
Tools/DumpRenderTree/gtk/WorkQueueItemGtk.cpp \
153
Source/WebCore/platform/gtk/GtkVersioning.c
155
Programs_DumpRenderTree_CXXFLAGS = \
157
$(Programs_DumpRenderTree_CFLAGS)
159
Programs_DumpRenderTree_CFLAGS = \
160
-fno-strict-aliasing \
162
$(GLOBALDEPS_CFLAGS) \
167
Programs_DumpRenderTree_LDADD = \
168
libjavascriptcoregtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la \
169
libwebkitgtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la \
170
libWebCorePlatform.la \
171
libWebCoreModules.la \
172
libWebCoreInternals.la \
183
Programs_DumpRenderTree_LDFLAGS = \
189
Programs/DumpRenderTree \
194
# Build TestNetscapePlugin only for X11
195
# since we don't support plugins for non-X11 builds at the moment.
196
noinst_LTLIBRARIES += \
197
TestNetscapePlugin/libtestnetscapeplugin.la
199
TestNetscapePlugin_libtestnetscapeplugin_la_CPPFLAGS = \
200
-I$(srcdir)/Tools/DumpRenderTree \
201
-I$(srcdir)/Source/WebCore \
202
-I$(srcdir)/Source/WebCore/bridge \
203
-I$(srcdir)/Source/WebCore/plugins \
204
-I$(srcdir)/Tools/DumpRenderTree/TestNetscapePlugIn \
205
-I$(srcdir)/Tools/DumpRenderTree/TestNetscapePlugIn/unix/ForwardingHeaders \
207
$(javascriptcore_cppflags)
209
# For the Gtk port we want to use XP_UNIX both on X11 and Mac
211
TestNetscapePlugin_libtestnetscapeplugin_la_CPPFLAGS += -DXP_UNIX
214
# Add MOZ_X11 only for X11 targets
216
TestNetscapePlugin_libtestnetscapeplugin_la_CPPFLAGS += -DMOZ_X11
219
TestNetscapePlugin_libtestnetscapeplugin_la_SOURCES = \
220
Tools/DumpRenderTree/TestNetscapePlugIn/Tests/DocumentOpenInDestroyStream.cpp \
221
Tools/DumpRenderTree/TestNetscapePlugIn/Tests/EvaluateJSAfterRemovingPluginElement.cpp \
222
Tools/DumpRenderTree/TestNetscapePlugIn/Tests/FormValue.cpp \
223
Tools/DumpRenderTree/TestNetscapePlugIn/Tests/GetURLNotifyWithURLThatFailsToLoad.cpp \
224
Tools/DumpRenderTree/TestNetscapePlugIn/Tests/GetURLWithJavaScriptURL.cpp \
225
Tools/DumpRenderTree/TestNetscapePlugIn/Tests/GetURLWithJavaScriptURLDestroyingPlugin.cpp \
226
Tools/DumpRenderTree/TestNetscapePlugIn/Tests/GetUserAgentWithNullNPPFromNPPNew.cpp \
227
Tools/DumpRenderTree/TestNetscapePlugIn/Tests/NPDeallocateCalledBeforeNPShutdown.cpp \
228
Tools/DumpRenderTree/TestNetscapePlugIn/Tests/NPPNewFails.cpp \
229
Tools/DumpRenderTree/TestNetscapePlugIn/Tests/NPPSetWindowCalledDuringDestruction.cpp \
230
Tools/DumpRenderTree/TestNetscapePlugIn/Tests/NPRuntimeCallsWithNullNPP.cpp \
231
Tools/DumpRenderTree/TestNetscapePlugIn/Tests/NPRuntimeObjectFromDestroyedPlugin.cpp \
232
Tools/DumpRenderTree/TestNetscapePlugIn/Tests/NPRuntimeRemoveProperty.cpp \
233
Tools/DumpRenderTree/TestNetscapePlugIn/Tests/NullNPPGetValuePointer.cpp \
234
Tools/DumpRenderTree/TestNetscapePlugIn/Tests/PassDifferentNPPStruct.cpp \
235
Tools/DumpRenderTree/TestNetscapePlugIn/Tests/PluginScriptableNPObjectInvokeDefault.cpp \
236
Tools/DumpRenderTree/TestNetscapePlugIn/Tests/PrivateBrowsing.cpp \
237
Tools/DumpRenderTree/TestNetscapePlugIn/Tests/x11/CallInvalidateRectWithNullNPPArgument.cpp \
238
Tools/DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp \
239
Tools/DumpRenderTree/TestNetscapePlugIn/PluginTest.h \
240
Tools/DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp \
241
Tools/DumpRenderTree/TestNetscapePlugIn/PluginObject.h \
242
Tools/DumpRenderTree/TestNetscapePlugIn/TestObject.cpp \
243
Tools/DumpRenderTree/TestNetscapePlugIn/TestObject.h \
244
Tools/DumpRenderTree/TestNetscapePlugIn/main.cpp \
245
Tools/DumpRenderTree/TestNetscapePlugIn/unix/ForwardingHeaders/WebKit/npapi.h \
246
Tools/DumpRenderTree/TestNetscapePlugIn/unix/ForwardingHeaders/WebKit/npfunctions.h \
247
Tools/DumpRenderTree/TestNetscapePlugIn/unix/ForwardingHeaders/WebKit/npruntime.h
249
TestNetscapePlugin_libtestnetscapeplugin_la_LDFLAGS = \
250
-rpath ${shell pwd}/$(top_builddir)/../unix/TestNetscapePlugin/.libs \
255
CLEANFILES += TestNetscapePlugin/libtestnetscapeplugin.la
259
$(top_srcdir)/Tools/Scripts/run-gtk-tests
262
Tools/gtk/common.py \
263
Tools/gtk/generate-gtkdoc \
264
Tools/gtk/gtkdoc.py \
265
Tools/jhbuild/jhbuildutils.py \
266
Tools/Scripts/VCSUtils.pm \
267
Tools/Scripts/run-gtk-tests \
268
Tools/Scripts/webkit-build-directory \
269
Tools/Scripts/webkitdirs.pm
271
docs: docs-build.stamp
273
DISTCLEANFILES += docs-build.stamp
277
Source/WebKit/gtk/docs/webkitenvironment.xml \
278
Source/WebKit/gtk/docs/webkitgtk-docs.sgml \
279
Source/WebKit/gtk/docs/webkitgtk-sections.txt \
280
libwebkitgtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la \
281
libwebkit2gtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la \
282
Source/WebKit2/UIProcess/API/gtk/docs/webkit2gtk-docs.sgml \
283
Source/WebKit2/UIProcess/API/gtk/docs/webkit2gtk-sections.txt
284
$(srcdir)/Tools/gtk/generate-gtkdoc
285
@touch docs-build.stamp
288
libwebkitgtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la \
289
Source/WebKit/gtk/docs/webkitenvironment.xml \
290
Source/WebKit/gtk/docs/webkitgtk-docs.sgml \
291
Source/WebKit/gtk/docs/webkitgtk-sections.txt
292
$(srcdir)/Tools/gtk/generate-gtkdoc
293
@touch docs-build.stamp
296
clean-local: doc-clean-local
298
@rm -f Documentation/webkitgtk/*~ Documentation/webkitgtk*.bak
299
@rm -f Documentation/webkit2gtk/*~ Documentation/webkit2gtk*.bak
300
distclean-local: doc-distclean-local
302
@rm -rf Documentation
303
maintainer-clean-local: doc-maintainer-clean-local
304
doc-maintainer-clean-local: clean
305
@rm -rf Documentation/webkitgtk Documentation/webkit2gtk
306
-@rmdir Documentation
309
@installfiles=`echo ./Documentation/webkitgtk/html/*`; \
310
if test "$$installfiles" = './Documentation/webkitgtk/html/*'; \
311
then echo 1>&2 'No documentation to install' ; \
313
DOC_MODULE_VERSION=`cat ./Documentation/webkitgtk/version.xml`; \
314
if test -n "$(DOC_MODULE_VERSION)"; then \
315
installdir="$(DESTDIR)$(HTML_DIR)/webkitgtk-$(DOC_MODULE_VERSION)"; \
317
installdir="$(DESTDIR)$(HTML_DIR)/webkitgtk"; \
319
$(mkinstalldirs) $${installdir} ; \
320
for i in $$installfiles; do \
321
echo ' $(INSTALL_DATA) '$$i ; \
322
$(INSTALL_DATA) $$i $${installdir}; \
324
if test -n "$(DOC_MODULE_VERSION)"; then \
325
mv -f $${installdir}/webkitgtk.devhelp2 \
326
$${installdir}/webkitgtk-$(DOC_MODULE_VERSION).devhelp2; \
330
@installfiles=`echo ./Documentation/webkit2gtk/html/*`; \
331
if test "$$installfiles" = './Documentation/webkit2gtk/html/*'; \
332
then echo 1>&2 'No documentation to install' ; \
334
DOC_MODULE_VERSION=`cat ./Documentation/webkit2gtk/version.xml`; \
335
if test -n "$(DOC_MODULE_VERSION)"; then \
336
installdir="$(DESTDIR)$(HTML_DIR)/webkit2gtk-$(DOC_MODULE_VERSION)"; \
338
installdir="$(DESTDIR)$(HTML_DIR)/webkit2gtk"; \
340
$(mkinstalldirs) $${installdir} ; \
341
for i in $$installfiles; do \
342
echo ' $(INSTALL_DATA) '$$i ; \
343
$(INSTALL_DATA) $$i $${installdir}; \
345
if test -n "$(DOC_MODULE_VERSION)"; then \
346
mv -f $${installdir}/webkit2gtk.devhelp2 \
347
$${installdir}/webkit2gtk-$(DOC_MODULE_VERSION).devhelp2; \
351
@$(AM_V_GEN)$(PYTHON) $(srcdir)/Tools/gtk/generate-gtkdoc --rebase --virtual-root=$${DESTDIR}
354
@DOC_MODULE_VERSION=`cat ./Documentation/webkitgtk/version.xml`; \
355
if test -n "$(DOC_MODULE_VERSION)"; then \
356
installdir="$(DESTDIR)$(HTML_DIR)/webkitgtk-$(DOC_MODULE_VERSION)"; \
358
installdir="$(DESTDIR)$(HTML_DIR)/webkitgtk"; \
360
rm -rf $${installdir}
362
@DOC_MODULE_VERSION=`cat ./Documentation/webkit2gtk/version.xml`; \
363
if test -n "$(DOC_MODULE_VERSION)"; then \
364
installdir="$(DESTDIR)$(HTML_DIR)/webkit2gtk-$(DOC_MODULE_VERSION)"; \
366
installdir="$(DESTDIR)$(HTML_DIR)/webkit2gtk"; \
368
rm -rf $${installdir}
372
all: docs-build.stamp