WebCore:
[WebKit-https.git] / WebKitTools / GNUmakefile.am
1 noinst_PROGRAMS += \
2         Programs/GtkLauncher \
3         Programs/DumpRenderTree
4
5 noinst_LTLIBRARIES += \
6         TestNetscapePlugin/libtestnetscapeplugin.la
7
8 # GtkLauncher
9 Programs_GtkLauncher_CPPFLAGS = \
10         -I$(srcdir)/WebKit/gtk \
11         -I$(top_builddir)/WebKit/gtk \
12         $(global_cppflags) \
13         $(javascriptcore_cppflags)
14
15 Programs_GtkLauncher_SOURCES = \
16         WebKitTools/GtkLauncher/main.c
17
18 Programs_GtkLauncher_CFLAGS = \
19         -ansi \
20         -fno-strict-aliasing \
21         -O2 \
22         $(global_cflags) \
23         $(GTK_CFLAGS) \
24         $(LIBSOUP_CFLAGS)
25
26 Programs_GtkLauncher_LDADD = \
27         libwebkit-1.0.la \
28         $(GTK_LIBS)
29
30 # DumpRenderTree
31 Programs_DumpRenderTree_CPPFLAGS = \
32         -I$(srcdir)/WebKitTools/DumpRenderTree \
33         -I$(srcdir)/WebKitTools/DumpRenderTree/gtk \
34         -I$(srcdir)/WebKit/gtk \
35         -I$(top_builddir)/WebKit/gtk \
36         -DTEST_PLUGIN_DIR=\"${shell pwd}/${top_builddir}/TestNetscapePlugin/.libs\" \
37         $(global_cppflags) \
38         $(javascriptcore_cppflags)
39
40 Programs_DumpRenderTree_SOURCES = \
41         WebKitTools/DumpRenderTree/AccessibilityController.h \
42         WebKitTools/DumpRenderTree/AccessibilityUIElement.h \
43         WebKitTools/DumpRenderTree/DumpRenderTree.h \
44         WebKitTools/DumpRenderTree/DumpRenderTreePrefix.h \
45         WebKitTools/DumpRenderTree/GCController.cpp \
46         WebKitTools/DumpRenderTree/GCController.h \
47         WebKitTools/DumpRenderTree/JavaScriptThreading.h \
48         WebKitTools/DumpRenderTree/LayoutTestController.cpp \
49         WebKitTools/DumpRenderTree/LayoutTestController.h \
50         WebKitTools/DumpRenderTree/PixelDumpSupport.h \
51         WebKitTools/DumpRenderTree/WorkQueue.cpp \
52         WebKitTools/DumpRenderTree/WorkQueue.h \
53         WebKitTools/DumpRenderTree/WorkQueueItem.h \
54         WebKitTools/DumpRenderTree/config.h \
55         WebKitTools/DumpRenderTree/gtk/DumpRenderTree.cpp \
56         WebKitTools/DumpRenderTree/gtk/DumpRenderTreeGtk.h \
57         WebKitTools/DumpRenderTree/gtk/GCControllerGtk.cpp \
58         WebKitTools/DumpRenderTree/gtk/LayoutTestControllerGtk.cpp \
59         WebKitTools/DumpRenderTree/gtk/WorkQueueItemGtk.cpp
60
61 Programs_DumpRenderTree_CXXFLAGS = \
62         $(global_cxxflags) \
63         $(Programs_DumpRenderTree_CFLAGS)
64
65 Programs_DumpRenderTree_CFLAGS = \
66         -fno-strict-aliasing \
67         -O2 \
68         $(global_cflags) \
69         $(GLOBALDEPS_CFLAGS) \
70         $(CAIRO_CFLAGS) \
71         $(GTK_CFLAGS) \
72         $(LIBSOUP_CFLAGS)
73
74 Programs_DumpRenderTree_LDADD = \
75         libwebkit-1.0.la \
76         $(GLOBALDEPS_LIBS) \
77         $(CAIRO_LIBS) \
78         $(GTK_LIBS)
79
80 # TestNetscapePlugin
81 TestNetscapePlugin_libtestnetscapeplugin_la_CPPFLAGS = \
82         -I$(srcdir)/WebKitTools/DumpRenderTree \
83         -I$(srcdir)/WebKitTools/DumpRenderTree/gtk/TestNetscapePlugin/ForwardingHeaders \
84         -I$(srcdir)/WebCore \
85         -I$(srcdir)/WebCore/bridge \
86         -I$(srcdir)/WebCore/plugins \
87         -I$(srcdir)/WebKitTools/DumpRenderTree/TestNetscapePlugIn.subproj \
88         $(global_cppflags) \
89         $(javascriptcore_cppflags)
90
91 TestNetscapePlugin_libtestnetscapeplugin_la_SOURCES = \
92         WebKitTools/DumpRenderTree/gtk/TestNetscapePlugin/ForwardingHeaders/WebKit/npapi.h \
93         WebKitTools/DumpRenderTree/gtk/TestNetscapePlugin/ForwardingHeaders/WebKit/npfunctions.h \
94         WebKitTools/DumpRenderTree/gtk/TestNetscapePlugin/ForwardingHeaders/WebKit/npruntime.h \
95         WebKitTools/DumpRenderTree/gtk/TestNetscapePlugin/TestNetscapePlugin.cpp \
96         WebKitTools/DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp \
97         WebKitTools/DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h \
98         WebKitTools/DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp \
99         WebKitTools/DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.h
100
101 TestNetscapePlugin_libtestnetscapeplugin_la_LDFLAGS = \
102         -rpath ${shell pwd}/$(top_builddir)/TestNetscapePlugin/.libs \
103         $(no_undefined) \
104         -avoid-version \
105         -module
106
107 # clean target
108 CLEANFILES += \
109         Programs/GtkLauncher \
110         Programs/DumpRenderTree \
111         TestNetscapePlugin/libtestnetscapeplugin.la