2 Programs/DumpRenderTree \
9 # FIXME: should this dependency be automatically identified by
11 Tools/GtkLauncher/main.c: $(GENSOURCES_WEBKIT2)/webkit2gtk/webkit2/WebKitEnumTypes.h $(GENSOURCES_WEBKIT2)/webkit2gtk/webkit2/WebKitEnumTypes.cpp
15 gtklauncher_sources = \
16 Tools/GtkLauncher/main.c
18 gtklauncher_cflags = \
19 -fno-strict-aliasing \
25 libjavascriptcoregtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la \
31 gtklauncher_ldflags = \
35 Programs_GtkLauncher_CPPFLAGS = \
36 -I$(srcdir)/Source/WebKit/gtk \
37 -I$(srcdir)/Source/WebCore/platform/network/soup/cache/ \
38 -I$(top_builddir)/Source/WebKit/gtk \
39 -I$(top_builddir)/DerivedSources \
41 $(javascriptcore_cppflags)
43 Programs_GtkLauncher_SOURCES = \
44 $(gtklauncher_sources)
46 Programs_GtkLauncher_CFLAGS = \
50 Programs_GtkLauncher_LDADD = \
51 libwebkitgtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la \
54 Programs_GtkLauncher_LDFLAGS = \
55 $(gtklauncher_ldflags)
58 Programs_GtkLauncher2_CPPFLAGS = \
60 -I$(top_builddir)/DerivedSources/WebKit2/include \
61 -I$(srcdir)/Source/WebKit2/UIProcess/API/gtk \
62 -I$(top_builddir)/Source/WebKit2/UIProcess/API/gtk \
63 -I$(srcdir)/Source/WebKit/gtk \
64 -I$(top_builddir)/DerivedSources/WebKit2/webkit2gtk \
65 -I$(top_builddir)/DerivedSources/WebKit2/webkit2gtk/include \
66 -I$(top_builddir)/Source/WebKit/gtk \
67 -I$(top_builddir)/DerivedSources \
69 $(javascriptcore_cppflags)
71 Programs_GtkLauncher2_SOURCES = \
72 $(gtklauncher_sources)
74 Programs_GtkLauncher2_CFLAGS = \
78 Programs_GtkLauncher2_LDADD = \
79 libwebkit2gtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la \
82 Programs_GtkLauncher2_LDFLAGS = \
83 $(gtklauncher_ldflags)
88 # We must split off the window.internals implementation into a separate
89 # convenience library because it requires a different include path order
90 # to prefer the WebCore config.h over the DumpRenderTree config.h
91 noinst_LTLIBRARIES += libWebCoreInternals.la
92 libWebCoreInternals_la_SOURCES = \
93 Source/WebCore/bindings/js/JSDOMWrapper.cpp \
94 Source/WebCore/bindings/js/JSDOMWrapper.h \
95 Source/WebCore/testing/Internals.cpp \
96 Source/WebCore/testing/Internals.h \
97 Source/WebCore/testing/js/WebCoreTestSupport.cpp \
98 Source/WebCore/testing/js/WebCoreTestSupport.h
100 libwebcoreinternals_built_sources += \
101 DerivedSources/WebCore/JSInternals.cpp \
102 DerivedSources/WebCore/JSInternals.h
103 nodist_libWebCoreInternals_la_SOURCES = $(libwebcoreinternals_built_sources)
104 BUILT_SOURCES += $(libwebcoreinternals_built_sources)
106 libWebCoreInternals_la_CPPFLAGS = \
108 $(webcore_cppflags) \
109 $(webcoregtk_cppflags) \
110 $(javascriptcore_cppflags) \
113 -I$(top_builddir)/DerivedSources \
114 -I$(top_builddir)/DerivedSources/WebCore
116 libWebCoreInternals_la_CXXFLAGS = \
118 $(libWebCoreInternals_la_CFLAGS)
120 libWebCoreInternals_la_CFLAGS = \
121 -fno-strict-aliasing \
122 $(javascriptcore_cflags)
125 Programs_DumpRenderTree_CPPFLAGS = \
127 -I$(srcdir)/Tools/DumpRenderTree \
128 -I$(srcdir)/Tools/DumpRenderTree/cairo \
129 -I$(srcdir)/Tools/DumpRenderTree/gtk \
130 -I$(srcdir)/Source/WebKit/gtk \
131 -I$(srcdir)/Source/WebCore/platform/gtk \
132 -I$(srcdir)/Source/WebCore/testing/js \
133 -I$(top_builddir)/DerivedSources \
134 -I$(top_builddir)/Source/WebKit/gtk \
135 $(javascriptcore_cppflags)
138 Programs_DumpRenderTree_CPPFLAGS += \
139 -DTEST_PLUGIN_DIR=\"${shell pwd}/${top_builddir}/TestNetscapePlugin/.libs\" \
140 -DFONTS_CONF_DIR=\"${shell pwd}/${srcdir}/Tools/DumpRenderTree/gtk/fonts\"
143 Programs_DumpRenderTree_SOURCES = \
144 Tools/DumpRenderTree/DumpRenderTree.h \
145 Tools/DumpRenderTree/DumpRenderTreePrefix.h \
146 Tools/DumpRenderTree/AccessibilityController.cpp \
147 Tools/DumpRenderTree/AccessibilityController.h \
148 Tools/DumpRenderTree/AccessibilityTextMarker.cpp \
149 Tools/DumpRenderTree/AccessibilityTextMarker.h \
150 Tools/DumpRenderTree/AccessibilityUIElement.cpp \
151 Tools/DumpRenderTree/AccessibilityUIElement.h \
152 Tools/DumpRenderTree/CyclicRedundancyCheck.cpp \
153 Tools/DumpRenderTree/CyclicRedundancyCheck.h \
154 Tools/DumpRenderTree/GCController.cpp \
155 Tools/DumpRenderTree/GCController.h \
156 Tools/DumpRenderTree/JavaScriptThreading.h \
157 Tools/DumpRenderTree/LayoutTestController.cpp \
158 Tools/DumpRenderTree/LayoutTestController.h \
159 Tools/DumpRenderTree/PixelDumpSupport.cpp \
160 Tools/DumpRenderTree/PixelDumpSupport.h \
161 Tools/DumpRenderTree/WorkQueue.cpp \
162 Tools/DumpRenderTree/WorkQueue.h \
163 Tools/DumpRenderTree/WorkQueueItem.h \
164 Tools/DumpRenderTree/config.h \
165 Tools/DumpRenderTree/cairo/PixelDumpSupportCairo.cpp \
166 Tools/DumpRenderTree/cairo/PixelDumpSupportCairo.h \
167 Tools/DumpRenderTree/gtk/AccessibilityCallbacks.h \
168 Tools/DumpRenderTree/gtk/AccessibilityCallbacks.cpp \
169 Tools/DumpRenderTree/gtk/AccessibilityControllerGtk.cpp \
170 Tools/DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp \
171 Tools/DumpRenderTree/gtk/DumpRenderTree.cpp \
172 Tools/DumpRenderTree/gtk/DumpRenderTreeGtk.h \
173 Tools/DumpRenderTree/gtk/EditingCallbacks.h \
174 Tools/DumpRenderTree/gtk/EditingCallbacks.cpp \
175 Tools/DumpRenderTree/gtk/EventSender.h \
176 Tools/DumpRenderTree/gtk/EventSender.cpp \
177 Tools/DumpRenderTree/gtk/GCControllerGtk.cpp \
178 Tools/DumpRenderTree/gtk/LayoutTestControllerGtk.cpp \
179 Tools/DumpRenderTree/gtk/PixelDumpSupportGtk.cpp \
180 Tools/DumpRenderTree/gtk/PlainTextController.cpp \
181 Tools/DumpRenderTree/gtk/PlainTextController.h \
182 Tools/DumpRenderTree/gtk/SelfScrollingWebKitWebView.cpp \
183 Tools/DumpRenderTree/gtk/SelfScrollingWebKitWebView.h \
184 Tools/DumpRenderTree/gtk/TextInputController.h \
185 Tools/DumpRenderTree/gtk/TextInputController.cpp \
186 Tools/DumpRenderTree/gtk/WorkQueueItemGtk.cpp \
187 Source/WebCore/platform/gtk/GtkVersioning.c
189 Programs_DumpRenderTree_CXXFLAGS = \
191 $(Programs_DumpRenderTree_CFLAGS)
193 Programs_DumpRenderTree_CFLAGS = \
194 -fno-strict-aliasing \
196 $(GLOBALDEPS_CFLAGS) \
201 Programs_DumpRenderTree_LDADD = \
202 libjavascriptcoregtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la \
203 libwebkitgtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la \
204 libWebCoreInternals.la \
213 Programs_DumpRenderTree_LDFLAGS = \
219 Programs/DumpRenderTree \
224 Programs/GtkLauncher2
229 # Build TestNetscapePlugin only for X11
230 # since we don't support plugins for non-X11 builds at the moment.
231 noinst_LTLIBRARIES += \
232 TestNetscapePlugin/libtestnetscapeplugin.la
234 TestNetscapePlugin_libtestnetscapeplugin_la_CPPFLAGS = \
235 -I$(srcdir)/Tools/DumpRenderTree \
236 -I$(srcdir)/Tools/DumpRenderTree/unix/TestNetscapePlugin/ForwardingHeaders \
237 -I$(srcdir)/Source/WebCore \
238 -I$(srcdir)/Source/WebCore/bridge \
239 -I$(srcdir)/Source/WebCore/plugins \
240 -I$(srcdir)/Tools/DumpRenderTree/TestNetscapePlugIn \
242 $(javascriptcore_cppflags)
244 # For the Gtk port we want to use XP_UNIX both on X11 and Mac
246 TestNetscapePlugin_libtestnetscapeplugin_la_CPPFLAGS += -DXP_UNIX
249 TestNetscapePlugin_libtestnetscapeplugin_la_SOURCES = \
250 Tools/DumpRenderTree/unix/TestNetscapePlugin/ForwardingHeaders/WebKit/npapi.h \
251 Tools/DumpRenderTree/unix/TestNetscapePlugin/ForwardingHeaders/WebKit/npfunctions.h \
252 Tools/DumpRenderTree/unix/TestNetscapePlugin/ForwardingHeaders/WebKit/npruntime.h \
253 Tools/DumpRenderTree/TestNetscapePlugIn/Tests/DocumentOpenInDestroyStream.cpp \
254 Tools/DumpRenderTree/TestNetscapePlugIn/Tests/EvaluateJSAfterRemovingPluginElement.cpp \
255 Tools/DumpRenderTree/TestNetscapePlugIn/Tests/FormValue.cpp \
256 Tools/DumpRenderTree/TestNetscapePlugIn/Tests/GetURLNotifyWithURLThatFailsToLoad.cpp \
257 Tools/DumpRenderTree/TestNetscapePlugIn/Tests/GetURLWithJavaScriptURL.cpp \
258 Tools/DumpRenderTree/TestNetscapePlugIn/Tests/GetURLWithJavaScriptURLDestroyingPlugin.cpp \
259 Tools/DumpRenderTree/TestNetscapePlugIn/Tests/GetUserAgentWithNullNPPFromNPPNew.cpp \
260 Tools/DumpRenderTree/TestNetscapePlugIn/Tests/NPDeallocateCalledBeforeNPShutdown.cpp \
261 Tools/DumpRenderTree/TestNetscapePlugIn/Tests/NPPSetWindowCalledDuringDestruction.cpp \
262 Tools/DumpRenderTree/TestNetscapePlugIn/Tests/NPRuntimeObjectFromDestroyedPlugin.cpp \
263 Tools/DumpRenderTree/TestNetscapePlugIn/Tests/NPRuntimeRemoveProperty.cpp \
264 Tools/DumpRenderTree/TestNetscapePlugIn/Tests/NullNPPGetValuePointer.cpp \
265 Tools/DumpRenderTree/TestNetscapePlugIn/Tests/PassDifferentNPPStruct.cpp \
266 Tools/DumpRenderTree/TestNetscapePlugIn/Tests/PluginScriptableNPObjectInvokeDefault.cpp \
267 Tools/DumpRenderTree/TestNetscapePlugIn/Tests/PrivateBrowsing.cpp \
268 Tools/DumpRenderTree/TestNetscapePlugIn/Tests/x11/CallInvalidateRectWithNullNPPArgument.cpp \
269 Tools/DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp \
270 Tools/DumpRenderTree/TestNetscapePlugIn/PluginTest.h \
271 Tools/DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp \
272 Tools/DumpRenderTree/TestNetscapePlugIn/PluginObject.h \
273 Tools/DumpRenderTree/TestNetscapePlugIn/TestObject.cpp \
274 Tools/DumpRenderTree/TestNetscapePlugIn/TestObject.h \
275 Tools/DumpRenderTree/TestNetscapePlugIn/main.cpp
277 TestNetscapePlugin_libtestnetscapeplugin_la_LDFLAGS = \
278 -rpath ${shell pwd}/$(top_builddir)/../unix/TestNetscapePlugin/.libs \
283 CLEANFILES += TestNetscapePlugin/libtestnetscapeplugin.la