WebKitTools/GNUmakefile.am
changeset 0 4f2f89ce4247
equal deleted inserted replaced
-1:000000000000 0:4f2f89ce4247
       
     1 noinst_PROGRAMS += \
       
     2 	Programs/DumpRenderTree \
       
     3 	Programs/GtkLauncher \
       
     4 	Programs/ImageDiff
       
     5 
       
     6 # GtkLauncher
       
     7 Programs_GtkLauncher_CPPFLAGS = \
       
     8 	-I$(srcdir)/WebKit/gtk \
       
     9 	-I$(top_builddir)/WebKit/gtk \
       
    10 	-I$(top_builddir)/DerivedSources \
       
    11 	$(global_cppflags) \
       
    12 	$(javascriptcore_cppflags)
       
    13 
       
    14 Programs_GtkLauncher_SOURCES = \
       
    15 	WebKitTools/GtkLauncher/main.c
       
    16 
       
    17 Programs_GtkLauncher_CFLAGS = \
       
    18 	-ansi \
       
    19 	-fno-strict-aliasing \
       
    20 	$(global_cflags) \
       
    21 	$(GTK_CFLAGS) \
       
    22 	$(LIBSOUP_CFLAGS)
       
    23 
       
    24 Programs_GtkLauncher_LDADD = \
       
    25 	libwebkitgtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la \
       
    26 	$(GTK_LIBS) \
       
    27 	$(GLIB_LIBS)
       
    28 
       
    29 Programs_GtkLauncher_LDFLAGS = \
       
    30 	-no-fast-install \
       
    31 	-no-install
       
    32 
       
    33 # DumpRenderTree
       
    34 dumprendertree_cppflags := \
       
    35 	-I$(srcdir)/WebKitTools/DumpRenderTree \
       
    36 	-I$(srcdir)/WebKitTools/DumpRenderTree/cairo \
       
    37 	-I$(srcdir)/WebKitTools/DumpRenderTree/gtk \
       
    38 	-I$(srcdir)/WebKit/gtk \
       
    39 	-I$(top_builddir)/WebKit/gtk \
       
    40 	-I$(top_builddir)/DerivedSources \
       
    41 	$(global_cppflags) \
       
    42 	$(javascriptcore_cppflags)
       
    43 
       
    44 Programs_DumpRenderTree_CPPFLAGS = $(dumprendertree_cppflags)
       
    45 
       
    46 Programs_DumpRenderTree_SOURCES = \
       
    47 	WebKitTools/DumpRenderTree/DumpRenderTree.h \
       
    48 	WebKitTools/DumpRenderTree/DumpRenderTreePrefix.h \
       
    49 	WebKitTools/DumpRenderTree/AccessibilityController.cpp \
       
    50 	WebKitTools/DumpRenderTree/AccessibilityController.h \
       
    51 	WebKitTools/DumpRenderTree/AccessibilityUIElement.cpp \
       
    52 	WebKitTools/DumpRenderTree/AccessibilityUIElement.h \
       
    53 	WebKitTools/DumpRenderTree/GCController.cpp \
       
    54 	WebKitTools/DumpRenderTree/GCController.h \
       
    55 	WebKitTools/DumpRenderTree/JavaScriptThreading.h \
       
    56 	WebKitTools/DumpRenderTree/LayoutTestController.cpp \
       
    57 	WebKitTools/DumpRenderTree/LayoutTestController.h \
       
    58 	WebKitTools/DumpRenderTree/PixelDumpSupport.cpp \
       
    59 	WebKitTools/DumpRenderTree/PixelDumpSupport.h \
       
    60 	WebKitTools/DumpRenderTree/WorkQueue.cpp \
       
    61 	WebKitTools/DumpRenderTree/WorkQueue.h \
       
    62 	WebKitTools/DumpRenderTree/WorkQueueItem.h \
       
    63 	WebKitTools/DumpRenderTree/config.h \
       
    64 	WebKitTools/DumpRenderTree/cairo/PixelDumpSupportCairo.cpp \
       
    65 	WebKitTools/DumpRenderTree/cairo/PixelDumpSupportCairo.h \
       
    66 	WebKitTools/DumpRenderTree/gtk/AccessibilityControllerGtk.cpp \
       
    67 	WebKitTools/DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp \
       
    68 	WebKitTools/DumpRenderTree/gtk/DumpRenderTree.cpp \
       
    69 	WebKitTools/DumpRenderTree/gtk/DumpRenderTreeGtk.h \
       
    70 	WebKitTools/DumpRenderTree/gtk/EventSender.h \
       
    71 	WebKitTools/DumpRenderTree/gtk/EventSender.cpp \
       
    72 	WebKitTools/DumpRenderTree/gtk/GCControllerGtk.cpp \
       
    73 	WebKitTools/DumpRenderTree/gtk/LayoutTestControllerGtk.cpp \
       
    74 	WebKitTools/DumpRenderTree/gtk/PixelDumpSupportGtk.cpp \
       
    75 	WebKitTools/DumpRenderTree/gtk/WorkQueueItemGtk.cpp
       
    76 
       
    77 Programs_DumpRenderTree_CXXFLAGS = \
       
    78 	$(global_cxxflags) \
       
    79 	$(dumprendertree_cppflags) \
       
    80 	$(Programs_DumpRenderTree_CFLAGS)
       
    81 
       
    82 Programs_DumpRenderTree_CFLAGS = \
       
    83 	-fno-strict-aliasing \
       
    84 	$(dumprendertree_cppflags) \
       
    85 	$(global_cflags) \
       
    86 	$(GLOBALDEPS_CFLAGS) \
       
    87 	$(CAIRO_CFLAGS) \
       
    88 	$(GTK_CFLAGS) \
       
    89 	$(LIBSOUP_CFLAGS)
       
    90 
       
    91 Programs_DumpRenderTree_LDADD = \
       
    92 	libwebkitgtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la \
       
    93 	libJavaScriptCore.la \
       
    94 	$(GLOBALDEPS_LIBS) \
       
    95 	$(CAIRO_LIBS) \
       
    96 	$(GTK_LIBS) \
       
    97 	$(GLIB_LIBS) \
       
    98 	$(LIBSOUP_LIBS) \
       
    99 	$(FREETYPE_LIBS)
       
   100 
       
   101 Programs_DumpRenderTree_LDFLAGS = \
       
   102 	-no-fast-install \
       
   103 	-no-install
       
   104 
       
   105 # ImageDiff
       
   106 Programs_ImageDiff_CPPFLAGS = $(global_cppflags)
       
   107 
       
   108 Programs_ImageDiff_SOURCES = \
       
   109    WebKitTools/DumpRenderTree/gtk/ImageDiff.cpp
       
   110 
       
   111 Programs_ImageDiff_CXXFLAGS = \
       
   112    $(global_cxxflags) \
       
   113    $(global_cppflags) \
       
   114    $(Programs_ImageDiff_CFLAGS)
       
   115 
       
   116 Programs_ImageDiff_CFLAGS = \
       
   117    -fno-strict-aliasing \
       
   118    $(global_cflags) \
       
   119    $(GLOBALDEPS_CFLAGS) \
       
   120    $(GTK_CFLAGS)
       
   121 
       
   122 Programs_ImageDiff_LDADD = \
       
   123    $(GTK_LIBS)
       
   124 
       
   125 Programs_ImageDiff_LDFLAGS = \
       
   126    -no-fast-install \
       
   127    -no-install
       
   128 
       
   129 # clean target
       
   130 CLEANFILES += \
       
   131 	Programs/DumpRenderTree \
       
   132 	Programs/GtkLauncher \
       
   133 	Programs/ImageDiff
       
   134 
       
   135 if TARGET_X11
       
   136 
       
   137 # Build TestNetscapePlugin only for X11
       
   138 # since we don't support plugins for non-X11 builds at the moment.
       
   139 noinst_LTLIBRARIES += \
       
   140 	TestNetscapePlugin/libtestnetscapeplugin.la
       
   141 
       
   142 dumprendertree_cppflags += \
       
   143 	-DTEST_PLUGIN_DIR=\"${shell pwd}/${top_builddir}/TestNetscapePlugin/.libs\" \
       
   144 	-DFONTS_CONF_FILE=\"${shell pwd}/${srcdir}/WebKitTools/DumpRenderTree/gtk/fonts.conf\"
       
   145 
       
   146 TestNetscapePlugin_libtestnetscapeplugin_la_CPPFLAGS = \
       
   147 	-I$(srcdir)/WebKitTools/DumpRenderTree \
       
   148 	-I$(srcdir)/WebKitTools/DumpRenderTree/unix/TestNetscapePlugin/ForwardingHeaders \
       
   149 	-I$(srcdir)/WebCore \
       
   150 	-I$(srcdir)/WebCore/bridge \
       
   151 	-I$(srcdir)/WebCore/plugins \
       
   152 	-I$(srcdir)/WebKitTools/DumpRenderTree/TestNetscapePlugIn \
       
   153 	$(global_cppflags) \
       
   154 	$(javascriptcore_cppflags)
       
   155 
       
   156 TestNetscapePlugin_libtestnetscapeplugin_la_SOURCES = \
       
   157 	WebKitTools/DumpRenderTree/unix/TestNetscapePlugin/ForwardingHeaders/WebKit/npapi.h \
       
   158 	WebKitTools/DumpRenderTree/unix/TestNetscapePlugin/ForwardingHeaders/WebKit/npfunctions.h \
       
   159 	WebKitTools/DumpRenderTree/unix/TestNetscapePlugin/ForwardingHeaders/WebKit/npruntime.h \
       
   160 	WebKitTools/DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp \
       
   161 	WebKitTools/DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp \
       
   162 	WebKitTools/DumpRenderTree/TestNetscapePlugIn/PluginObject.h \
       
   163 	WebKitTools/DumpRenderTree/TestNetscapePlugIn/TestObject.cpp \
       
   164 	WebKitTools/DumpRenderTree/TestNetscapePlugIn/TestObject.h
       
   165 
       
   166 TestNetscapePlugin_libtestnetscapeplugin_la_LDFLAGS = \
       
   167 	-rpath ${shell pwd}/$(top_builddir)/../unix/TestNetscapePlugin/.libs \
       
   168 	$(no_undefined) \
       
   169 	-avoid-version \
       
   170 	-module
       
   171 
       
   172 CLEANFILES += TestNetscapePlugin/libtestnetscapeplugin.la
       
   173 endif