2 Programs/DumpRenderTree \
7 Programs_GtkLauncher_CPPFLAGS = \
8 -I$(srcdir)/Source/WebKit/gtk \
9 -I$(srcdir)/Source/WebCore/platform/network/soup/cache/ \
10 -I$(top_builddir)/Source/WebKit/gtk \
11 -I$(top_builddir)/DerivedSources \
13 $(javascriptcore_cppflags)
15 Programs_GtkLauncher_SOURCES = \
16 Tools/GtkLauncher/main.c
18 Programs_GtkLauncher_CFLAGS = \
20 -fno-strict-aliasing \
25 Programs_GtkLauncher_LDADD = \
26 libwebkitgtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la \
31 Programs_GtkLauncher_LDFLAGS = \
36 dumprendertree_cppflags := \
37 -I$(srcdir)/Tools/DumpRenderTree \
38 -I$(srcdir)/Tools/DumpRenderTree/cairo \
39 -I$(srcdir)/Tools/DumpRenderTree/gtk \
40 -I$(srcdir)/Source/WebKit/gtk \
41 -I$(srcdir)/Source/WebCore/platform/gtk \
42 -I$(srcdir)/Source/WebCore/platform/network/soup/cache/ \
43 -I$(top_builddir)/Source/WebKit/gtk \
44 -I$(top_builddir)/DerivedSources \
46 $(javascriptcore_cppflags)
48 Programs_DumpRenderTree_CPPFLAGS = $(dumprendertree_cppflags)
50 Programs_DumpRenderTree_SOURCES = \
51 Tools/DumpRenderTree/DumpRenderTree.h \
52 Tools/DumpRenderTree/DumpRenderTreePrefix.h \
53 Tools/DumpRenderTree/AccessibilityController.cpp \
54 Tools/DumpRenderTree/AccessibilityController.h \
55 Tools/DumpRenderTree/AccessibilityTextMarker.cpp \
56 Tools/DumpRenderTree/AccessibilityTextMarker.h \
57 Tools/DumpRenderTree/AccessibilityUIElement.cpp \
58 Tools/DumpRenderTree/AccessibilityUIElement.h \
59 Tools/DumpRenderTree/CyclicRedundancyCheck.cpp \
60 Tools/DumpRenderTree/CyclicRedundancyCheck.h \
61 Tools/DumpRenderTree/GCController.cpp \
62 Tools/DumpRenderTree/GCController.h \
63 Tools/DumpRenderTree/JavaScriptThreading.h \
64 Tools/DumpRenderTree/LayoutTestController.cpp \
65 Tools/DumpRenderTree/LayoutTestController.h \
66 Tools/DumpRenderTree/PixelDumpSupport.cpp \
67 Tools/DumpRenderTree/PixelDumpSupport.h \
68 Tools/DumpRenderTree/WorkQueue.cpp \
69 Tools/DumpRenderTree/WorkQueue.h \
70 Tools/DumpRenderTree/WorkQueueItem.h \
71 Tools/DumpRenderTree/config.h \
72 Tools/DumpRenderTree/cairo/PixelDumpSupportCairo.cpp \
73 Tools/DumpRenderTree/cairo/PixelDumpSupportCairo.h \
74 Tools/DumpRenderTree/gtk/AccessibilityCallbacks.h \
75 Tools/DumpRenderTree/gtk/AccessibilityCallbacks.cpp \
76 Tools/DumpRenderTree/gtk/AccessibilityControllerGtk.cpp \
77 Tools/DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp \
78 Tools/DumpRenderTree/gtk/DumpRenderTree.cpp \
79 Tools/DumpRenderTree/gtk/DumpRenderTreeGtk.h \
80 Tools/DumpRenderTree/gtk/EditingCallbacks.h \
81 Tools/DumpRenderTree/gtk/EditingCallbacks.cpp \
82 Tools/DumpRenderTree/gtk/EventSender.h \
83 Tools/DumpRenderTree/gtk/EventSender.cpp \
84 Tools/DumpRenderTree/gtk/GCControllerGtk.cpp \
85 Tools/DumpRenderTree/gtk/LayoutTestControllerGtk.cpp \
86 Tools/DumpRenderTree/gtk/PixelDumpSupportGtk.cpp \
87 Tools/DumpRenderTree/gtk/PlainTextController.cpp \
88 Tools/DumpRenderTree/gtk/PlainTextController.h \
89 Tools/DumpRenderTree/gtk/TextInputController.h \
90 Tools/DumpRenderTree/gtk/TextInputController.cpp \
91 Tools/DumpRenderTree/gtk/WorkQueueItemGtk.cpp \
92 Source/WebCore/platform/gtk/GtkVersioning.c
94 Programs_DumpRenderTree_CXXFLAGS = \
96 $(dumprendertree_cppflags) \
97 $(Programs_DumpRenderTree_CFLAGS)
99 Programs_DumpRenderTree_CFLAGS = \
100 -fno-strict-aliasing \
101 $(dumprendertree_cppflags) \
103 $(GLOBALDEPS_CFLAGS) \
108 Programs_DumpRenderTree_LDADD = \
109 libwebkitgtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la \
118 Programs_DumpRenderTree_LDFLAGS = \
123 Programs_ImageDiff_CPPFLAGS = $(global_cppflags)
125 Programs_ImageDiff_SOURCES = \
126 Tools/DumpRenderTree/gtk/ImageDiff.cpp
128 Programs_ImageDiff_CXXFLAGS = \
131 $(Programs_ImageDiff_CFLAGS)
133 Programs_ImageDiff_CFLAGS = \
134 -fno-strict-aliasing \
136 $(GLOBALDEPS_CFLAGS) \
139 Programs_ImageDiff_LDADD = \
142 Programs_ImageDiff_LDFLAGS = \
148 Programs/DumpRenderTree \
149 Programs/GtkLauncher \
154 # Build TestNetscapePlugin only for X11
155 # since we don't support plugins for non-X11 builds at the moment.
156 noinst_LTLIBRARIES += \
157 TestNetscapePlugin/libtestnetscapeplugin.la
159 dumprendertree_cppflags += \
160 -DTEST_PLUGIN_DIR=\"${shell pwd}/${top_builddir}/TestNetscapePlugin/.libs\" \
161 -DFONTS_CONF_DIR=\"${shell pwd}/${srcdir}/Tools/DumpRenderTree/gtk/fonts\"
163 TestNetscapePlugin_libtestnetscapeplugin_la_CPPFLAGS = \
164 -I$(srcdir)/Tools/DumpRenderTree \
165 -I$(srcdir)/Tools/DumpRenderTree/unix/TestNetscapePlugin/ForwardingHeaders \
166 -I$(srcdir)/Source/WebCore \
167 -I$(srcdir)/Source/WebCore/bridge \
168 -I$(srcdir)/Source/WebCore/plugins \
169 -I$(srcdir)/Tools/DumpRenderTree/TestNetscapePlugIn \
171 $(javascriptcore_cppflags)
173 # For the Gtk port we want to use XP_UNIX both on X11 and Mac
175 TestNetscapePlugin_libtestnetscapeplugin_la_CPPFLAGS += -DXP_UNIX
178 TestNetscapePlugin_libtestnetscapeplugin_la_SOURCES = \
179 Tools/DumpRenderTree/unix/TestNetscapePlugin/ForwardingHeaders/WebKit/npapi.h \
180 Tools/DumpRenderTree/unix/TestNetscapePlugin/ForwardingHeaders/WebKit/npfunctions.h \
181 Tools/DumpRenderTree/unix/TestNetscapePlugin/ForwardingHeaders/WebKit/npruntime.h \
182 Tools/DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp \
183 Tools/DumpRenderTree/TestNetscapePlugIn/Tests/DocumentOpenInDestroyStream.cpp \
184 Tools/DumpRenderTree/TestNetscapePlugIn/Tests/EvaluateJSAfterRemovingPluginElement.cpp \
185 Tools/DumpRenderTree/TestNetscapePlugIn/Tests/GetURLWithJavaScriptURLDestroyingPlugin.cpp \
186 Tools/DumpRenderTree/TestNetscapePlugIn/Tests/GetUserAgentWithNullNPPFromNPPNew.cpp \
187 Tools/DumpRenderTree/TestNetscapePlugIn/Tests/NPDeallocateCalledBeforeNPShutdown.cpp \
188 Tools/DumpRenderTree/TestNetscapePlugIn/Tests/NPPSetWindowCalledDuringDestruction.cpp \
189 Tools/DumpRenderTree/TestNetscapePlugIn/Tests/NPRuntimeObjectFromDestroyedPlugin.cpp \
190 Tools/DumpRenderTree/TestNetscapePlugIn/Tests/NPRuntimeRemoveProperty.cpp \
191 Tools/DumpRenderTree/TestNetscapePlugIn/Tests/NullNPPGetValuePointer.cpp \
192 Tools/DumpRenderTree/TestNetscapePlugIn/Tests/PassDifferentNPPStruct.cpp \
193 Tools/DumpRenderTree/TestNetscapePlugIn/Tests/PluginScriptableNPObjectInvokeDefault.cpp \
194 Tools/DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp \
195 Tools/DumpRenderTree/TestNetscapePlugIn/PluginTest.h \
196 Tools/DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp \
197 Tools/DumpRenderTree/TestNetscapePlugIn/PluginObject.h \
198 Tools/DumpRenderTree/TestNetscapePlugIn/TestObject.cpp \
199 Tools/DumpRenderTree/TestNetscapePlugIn/TestObject.h
201 TestNetscapePlugin_libtestnetscapeplugin_la_LDFLAGS = \
202 -rpath ${shell pwd}/$(top_builddir)/../unix/TestNetscapePlugin/.libs \
207 CLEANFILES += TestNetscapePlugin/libtestnetscapeplugin.la