noinst_PROGRAMS += \ Programs/DumpRenderTree \ Programs/GtkLauncher if ENABLE_WEBKIT2 noinst_PROGRAMS += \ Programs/GtkLauncher2 endif # GtkLauncher gtklauncher_sources = \ Tools/GtkLauncher/main.c gtklauncher_cflags = \ -fno-strict-aliasing \ $(global_cflags) \ $(GTK_CFLAGS) \ $(LIBSOUP_CFLAGS) gtklauncher_ldadd = \ libjavascriptcoregtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la \ $(GTK_LIBS) \ $(GLIB_LIBS) \ $(LIBSOUP_LIBS) \ $(WINMM_LIBS) gtklauncher_ldflags = \ -no-fast-install \ -no-install Programs_GtkLauncher_CPPFLAGS = \ -I$(srcdir)/Source/WebKit/gtk \ -I$(srcdir)/Source/WebCore/platform/network/soup/cache/ \ -I$(top_builddir)/Source/WebKit/gtk \ -I$(top_builddir)/DerivedSources \ $(global_cppflags) \ $(javascriptcore_cppflags) Programs_GtkLauncher_SOURCES = \ $(gtklauncher_sources) Programs_GtkLauncher_CFLAGS = \ -ansi \ $(gtklauncher_cflags) Programs_GtkLauncher_LDADD = \ libwebkitgtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la \ $(gtklauncher_ldadd) Programs_GtkLauncher_LDFLAGS = \ $(gtklauncher_ldflags) if ENABLE_WEBKIT2 Programs_GtkLauncher2_CPPFLAGS = \ -I$(srcdir)/Source \ -I$(top_builddir)/DerivedSources/WebKit2/include \ -I$(srcdir)/Source/WebKit2/UIProcess/API/gtk \ -I$(top_builddir)/Source/WebKit2/UIProcess/API/gtk \ -I$(srcdir)/Source/WebKit/gtk \ -I$(top_builddir)/Source/WebKit/gtk \ -I$(top_builddir)/DerivedSources \ $(global_cppflags) \ $(javascriptcore_cppflags) Programs_GtkLauncher2_SOURCES = \ $(gtklauncher_sources) Programs_GtkLauncher2_CFLAGS = \ -DWEBKIT2=\"1\" \ $(gtklauncher_cflags) Programs_GtkLauncher2_LDADD = \ libwebkit2gtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la \ $(gtklauncher_ldadd) Programs_GtkLauncher2_LDFLAGS = \ $(gtklauncher_ldflags) endif # libWebCoreInternals # We must split off the window.internals implementation into a separate # convenience library because it requires a different include path order # to prefer the WebCore config.h over the DumpRenderTree config.h noinst_LTLIBRARIES += libWebCoreInternals.la libWebCoreInternals_la_SOURCES = \ Source/WebCore/bindings/js/JSDOMWrapper.cpp \ Source/WebCore/bindings/js/JSDOMWrapper.h \ Source/WebCore/testing/Internals.cpp \ Source/WebCore/testing/Internals.h \ Source/WebCore/testing/js/WebCoreTestSupport.cpp \ Source/WebCore/testing/js/WebCoreTestSupport.h libwebcoreinternals_built_sources += \ DerivedSources/WebCore/JSInternals.cpp \ DerivedSources/WebCore/JSInternals.h nodist_libWebCoreInternals_la_SOURCES = $(libwebcoreinternals_built_sources) BUILT_SOURCES += $(libwebcoreinternals_built_sources) libWebCoreInternals_la_CPPFLAGS = \ $(global_cppflags) \ $(webcore_cppflags) \ $(webcoregtk_cppflags) \ $(javascriptcore_cppflags) \ $(CAIRO_CFLAGS) \ $(LIBSOUP_CFLAGS) \ -I$(top_builddir)/DerivedSources \ -I$(top_builddir)/DerivedSources/WebCore libWebCoreInternals_la_CXXFLAGS = \ $(global_cxxflags) \ $(libWebCoreInternals_la_CFLAGS) libWebCoreInternals_la_CFLAGS = \ -fno-strict-aliasing \ $(javascriptcore_cflags) # DumpRenderTree Programs_DumpRenderTree_CPPFLAGS = \ $(global_cppflags) \ -I$(srcdir)/Tools/DumpRenderTree \ -I$(srcdir)/Tools/DumpRenderTree/cairo \ -I$(srcdir)/Tools/DumpRenderTree/gtk \ -I$(srcdir)/Source/WebKit/gtk \ -I$(srcdir)/Source/WebCore/platform/gtk \ -I$(srcdir)/Source/WebCore/testing/js \ -I$(top_builddir)/DerivedSources \ -I$(top_builddir)/Source/WebKit/gtk \ $(javascriptcore_cppflags) if TARGET_X11 Programs_DumpRenderTree_CPPFLAGS += \ -DTEST_PLUGIN_DIR=\"${shell pwd}/${top_builddir}/TestNetscapePlugin/.libs\" \ -DFONTS_CONF_DIR=\"${shell pwd}/${srcdir}/Tools/DumpRenderTree/gtk/fonts\" endif Programs_DumpRenderTree_SOURCES = \ Tools/DumpRenderTree/DumpRenderTree.h \ Tools/DumpRenderTree/DumpRenderTreePrefix.h \ Tools/DumpRenderTree/AccessibilityController.cpp \ Tools/DumpRenderTree/AccessibilityController.h \ Tools/DumpRenderTree/AccessibilityTextMarker.cpp \ Tools/DumpRenderTree/AccessibilityTextMarker.h \ Tools/DumpRenderTree/AccessibilityUIElement.cpp \ Tools/DumpRenderTree/AccessibilityUIElement.h \ Tools/DumpRenderTree/CyclicRedundancyCheck.cpp \ Tools/DumpRenderTree/CyclicRedundancyCheck.h \ Tools/DumpRenderTree/GCController.cpp \ Tools/DumpRenderTree/GCController.h \ Tools/DumpRenderTree/JavaScriptThreading.h \ Tools/DumpRenderTree/LayoutTestController.cpp \ Tools/DumpRenderTree/LayoutTestController.h \ Tools/DumpRenderTree/PixelDumpSupport.cpp \ Tools/DumpRenderTree/PixelDumpSupport.h \ Tools/DumpRenderTree/WorkQueue.cpp \ Tools/DumpRenderTree/WorkQueue.h \ Tools/DumpRenderTree/WorkQueueItem.h \ Tools/DumpRenderTree/config.h \ Tools/DumpRenderTree/cairo/PixelDumpSupportCairo.cpp \ Tools/DumpRenderTree/cairo/PixelDumpSupportCairo.h \ Tools/DumpRenderTree/gtk/AccessibilityCallbacks.h \ Tools/DumpRenderTree/gtk/AccessibilityCallbacks.cpp \ Tools/DumpRenderTree/gtk/AccessibilityControllerGtk.cpp \ Tools/DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp \ Tools/DumpRenderTree/gtk/DumpRenderTree.cpp \ Tools/DumpRenderTree/gtk/DumpRenderTreeGtk.h \ Tools/DumpRenderTree/gtk/EditingCallbacks.h \ Tools/DumpRenderTree/gtk/EditingCallbacks.cpp \ Tools/DumpRenderTree/gtk/EventSender.h \ Tools/DumpRenderTree/gtk/EventSender.cpp \ Tools/DumpRenderTree/gtk/GCControllerGtk.cpp \ Tools/DumpRenderTree/gtk/LayoutTestControllerGtk.cpp \ Tools/DumpRenderTree/gtk/PixelDumpSupportGtk.cpp \ Tools/DumpRenderTree/gtk/PlainTextController.cpp \ Tools/DumpRenderTree/gtk/PlainTextController.h \ Tools/DumpRenderTree/gtk/SelfScrollingWebKitWebView.cpp \ Tools/DumpRenderTree/gtk/SelfScrollingWebKitWebView.h \ Tools/DumpRenderTree/gtk/TextInputController.h \ Tools/DumpRenderTree/gtk/TextInputController.cpp \ Tools/DumpRenderTree/gtk/WorkQueueItemGtk.cpp \ Source/WebCore/platform/gtk/GtkVersioning.c Programs_DumpRenderTree_CXXFLAGS = \ $(global_cxxflags) \ $(Programs_DumpRenderTree_CFLAGS) Programs_DumpRenderTree_CFLAGS = \ -fno-strict-aliasing \ $(global_cflags) \ $(GLOBALDEPS_CFLAGS) \ $(CAIRO_CFLAGS) \ $(GTK_CFLAGS) \ $(LIBSOUP_CFLAGS) Programs_DumpRenderTree_LDADD = \ libjavascriptcoregtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la \ libwebkitgtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la \ libWebCoreInternals.la \ $(GLOBALDEPS_LIBS) \ $(CAIRO_LIBS) \ $(GTK_LIBS) \ $(GLIB_LIBS) \ $(LIBSOUP_LIBS) \ $(FREETYPE_LIBS) \ $(WINMM_LIBS) Programs_DumpRenderTree_LDFLAGS = \ -no-fast-install \ -no-install # clean target CLEANFILES += \ Programs/DumpRenderTree \ Programs/GtkLauncher if ENABLE_WEBKIT2 CLEANFILES += \ Programs/GtkLauncher2 endif if TARGET_X11 # Build TestNetscapePlugin only for X11 # since we don't support plugins for non-X11 builds at the moment. noinst_LTLIBRARIES += \ TestNetscapePlugin/libtestnetscapeplugin.la TestNetscapePlugin_libtestnetscapeplugin_la_CPPFLAGS = \ -I$(srcdir)/Tools/DumpRenderTree \ -I$(srcdir)/Tools/DumpRenderTree/unix/TestNetscapePlugin/ForwardingHeaders \ -I$(srcdir)/Source/WebCore \ -I$(srcdir)/Source/WebCore/bridge \ -I$(srcdir)/Source/WebCore/plugins \ -I$(srcdir)/Tools/DumpRenderTree/TestNetscapePlugIn \ $(global_cppflags) \ $(javascriptcore_cppflags) # For the Gtk port we want to use XP_UNIX both on X11 and Mac if !TARGET_WIN32 TestNetscapePlugin_libtestnetscapeplugin_la_CPPFLAGS += -DXP_UNIX endif TestNetscapePlugin_libtestnetscapeplugin_la_SOURCES = \ Tools/DumpRenderTree/unix/TestNetscapePlugin/ForwardingHeaders/WebKit/npapi.h \ Tools/DumpRenderTree/unix/TestNetscapePlugin/ForwardingHeaders/WebKit/npfunctions.h \ Tools/DumpRenderTree/unix/TestNetscapePlugin/ForwardingHeaders/WebKit/npruntime.h \ Tools/DumpRenderTree/TestNetscapePlugIn/Tests/DocumentOpenInDestroyStream.cpp \ Tools/DumpRenderTree/TestNetscapePlugIn/Tests/EvaluateJSAfterRemovingPluginElement.cpp \ Tools/DumpRenderTree/TestNetscapePlugIn/Tests/FormValue.cpp \ Tools/DumpRenderTree/TestNetscapePlugIn/Tests/GetURLNotifyWithURLThatFailsToLoad.cpp \ Tools/DumpRenderTree/TestNetscapePlugIn/Tests/GetURLWithJavaScriptURL.cpp \ Tools/DumpRenderTree/TestNetscapePlugIn/Tests/GetURLWithJavaScriptURLDestroyingPlugin.cpp \ Tools/DumpRenderTree/TestNetscapePlugIn/Tests/GetUserAgentWithNullNPPFromNPPNew.cpp \ Tools/DumpRenderTree/TestNetscapePlugIn/Tests/NPDeallocateCalledBeforeNPShutdown.cpp \ Tools/DumpRenderTree/TestNetscapePlugIn/Tests/NPPSetWindowCalledDuringDestruction.cpp \ Tools/DumpRenderTree/TestNetscapePlugIn/Tests/NPRuntimeObjectFromDestroyedPlugin.cpp \ Tools/DumpRenderTree/TestNetscapePlugIn/Tests/NPRuntimeRemoveProperty.cpp \ Tools/DumpRenderTree/TestNetscapePlugIn/Tests/NullNPPGetValuePointer.cpp \ Tools/DumpRenderTree/TestNetscapePlugIn/Tests/PassDifferentNPPStruct.cpp \ Tools/DumpRenderTree/TestNetscapePlugIn/Tests/PluginScriptableNPObjectInvokeDefault.cpp \ Tools/DumpRenderTree/TestNetscapePlugIn/Tests/PrivateBrowsing.cpp \ Tools/DumpRenderTree/TestNetscapePlugIn/Tests/x11/CallInvalidateRectWithNullNPPArgument.cpp \ Tools/DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp \ Tools/DumpRenderTree/TestNetscapePlugIn/PluginTest.h \ Tools/DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp \ Tools/DumpRenderTree/TestNetscapePlugIn/PluginObject.h \ Tools/DumpRenderTree/TestNetscapePlugIn/TestObject.cpp \ Tools/DumpRenderTree/TestNetscapePlugIn/TestObject.h \ Tools/DumpRenderTree/TestNetscapePlugIn/main.cpp TestNetscapePlugin_libtestnetscapeplugin_la_LDFLAGS = \ -rpath ${shell pwd}/$(top_builddir)/../unix/TestNetscapePlugin/.libs \ $(no_undefined) \ -avoid-version \ -module CLEANFILES += TestNetscapePlugin/libtestnetscapeplugin.la endif