blob: 487a4798137f61a069993a8bbf19abbd510970cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
|
noinst_PROGRAMS += \
Programs/GtkLauncher \
Programs/DumpRenderTree
# GtkLauncher
Programs_GtkLauncher_CPPFLAGS = \
-I$(srcdir)/WebKit/gtk \
-I$(top_builddir)/WebKit/gtk \
$(global_cppflags) \
$(javascriptcore_cppflags)
Programs_GtkLauncher_SOURCES = \
WebKitTools/GtkLauncher/main.c
Programs_GtkLauncher_CFLAGS = \
-ansi \
-fno-strict-aliasing \
$(global_cflags) \
$(GTK_CFLAGS) \
$(LIBSOUP_CFLAGS)
Programs_GtkLauncher_LDADD = \
libwebkit-1.0.la \
$(GTK_LIBS) \
$(GLIB_LIBS)
Programs_GtkLauncher_LDFLAGS = \
-no-fast-install \
-no-install
# DumpRenderTree
dumprendertree_cppflags := \
-I$(srcdir)/WebKitTools/DumpRenderTree \
-I$(srcdir)/WebKitTools/DumpRenderTree/gtk \
-I$(srcdir)/WebKit/gtk \
-I$(top_builddir)/WebKit/gtk \
$(global_cppflags) \
$(javascriptcore_cppflags)
Programs_DumpRenderTree_CPPFLAGS = $(dumprendertree_cppflags)
Programs_DumpRenderTree_SOURCES = \
WebKitTools/DumpRenderTree/DumpRenderTree.h \
WebKitTools/DumpRenderTree/DumpRenderTreePrefix.h \
WebKitTools/DumpRenderTree/AccessibilityController.cpp \
WebKitTools/DumpRenderTree/AccessibilityController.h \
WebKitTools/DumpRenderTree/AccessibilityUIElement.cpp \
WebKitTools/DumpRenderTree/AccessibilityUIElement.h \
WebKitTools/DumpRenderTree/GCController.cpp \
WebKitTools/DumpRenderTree/GCController.h \
WebKitTools/DumpRenderTree/JavaScriptThreading.h \
WebKitTools/DumpRenderTree/LayoutTestController.cpp \
WebKitTools/DumpRenderTree/LayoutTestController.h \
WebKitTools/DumpRenderTree/PixelDumpSupport.h \
WebKitTools/DumpRenderTree/WorkQueue.cpp \
WebKitTools/DumpRenderTree/WorkQueue.h \
WebKitTools/DumpRenderTree/WorkQueueItem.h \
WebKitTools/DumpRenderTree/config.h \
WebKitTools/DumpRenderTree/gtk/AccessibilityControllerGtk.cpp \
WebKitTools/DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp \
WebKitTools/DumpRenderTree/gtk/DumpRenderTree.cpp \
WebKitTools/DumpRenderTree/gtk/DumpRenderTreeGtk.h \
WebKitTools/DumpRenderTree/gtk/GCControllerGtk.cpp \
WebKitTools/DumpRenderTree/gtk/LayoutTestControllerGtk.cpp \
WebKitTools/DumpRenderTree/gtk/WorkQueueItemGtk.cpp
Programs_DumpRenderTree_CXXFLAGS = \
$(global_cxxflags) \
$(dumprendertree_cppflags) \
$(Programs_DumpRenderTree_CFLAGS)
Programs_DumpRenderTree_CFLAGS = \
-fno-strict-aliasing \
$(dumprendertree_cppflags) \
$(global_cflags) \
$(GLOBALDEPS_CFLAGS) \
$(CAIRO_CFLAGS) \
$(GTK_CFLAGS) \
$(LIBSOUP_CFLAGS)
Programs_DumpRenderTree_LDADD = \
libwebkit-1.0.la \
libJavaScriptCore.la \
$(GLOBALDEPS_LIBS) \
$(CAIRO_LIBS) \
$(GTK_LIBS) \
$(GLIB_LIBS) \
$(LIBSOUP_LIBS)
Programs_DumpRenderTree_LDFLAGS = \
-no-fast-install \
-no-install
# clean target
CLEANFILES += \
Programs/GtkLauncher \
Programs/DumpRenderTree
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
dumprendertree_cppflags += \
-DTEST_PLUGIN_DIR=\"${shell pwd}/${top_builddir}/TestNetscapePlugin/.libs\"
TestNetscapePlugin_libtestnetscapeplugin_la_CPPFLAGS = \
-I$(srcdir)/WebKitTools/DumpRenderTree \
-I$(srcdir)/WebKitTools/DumpRenderTree/gtk/TestNetscapePlugin/ForwardingHeaders \
-I$(srcdir)/WebCore \
-I$(srcdir)/WebCore/bridge \
-I$(srcdir)/WebCore/plugins \
-I$(srcdir)/WebKitTools/DumpRenderTree/TestNetscapePlugIn.subproj \
$(global_cppflags) \
$(javascriptcore_cppflags)
TestNetscapePlugin_libtestnetscapeplugin_la_SOURCES = \
WebKitTools/DumpRenderTree/gtk/TestNetscapePlugin/ForwardingHeaders/WebKit/npapi.h \
WebKitTools/DumpRenderTree/gtk/TestNetscapePlugin/ForwardingHeaders/WebKit/npfunctions.h \
WebKitTools/DumpRenderTree/gtk/TestNetscapePlugin/ForwardingHeaders/WebKit/npruntime.h \
WebKitTools/DumpRenderTree/gtk/TestNetscapePlugin/TestNetscapePlugin.cpp \
WebKitTools/DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp \
WebKitTools/DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h \
WebKitTools/DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp \
WebKitTools/DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.h
TestNetscapePlugin_libtestnetscapeplugin_la_LDFLAGS = \
-rpath ${shell pwd}/$(top_builddir)/TestNetscapePlugin/.libs \
$(no_undefined) \
-avoid-version \
-module
CLEANFILES += TestNetscapePlugin/libtestnetscapeplugin.la
endif
|