File: GNUmakefile.am

package info (click to toggle)
webkit 1.8.1-3.4
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 86,872 kB
  • sloc: cpp: 748,063; ansic: 17,151; sh: 11,084; perl: 10,883; yacc: 3,678; python: 3,440; lex: 559; makefile: 168; xml: 91
file content (138 lines) | stat: -rw-r--r-- 6,709 bytes parent folder | download
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
138
if ENABLE_WEBKIT2

TEST_PROGS += \
	Programs/WebKit2APITests/TestBackForwardList \
	Programs/WebKit2APITests/TestDownloads \
	Programs/WebKit2APITests/TestLoaderClient \
	Programs/WebKit2APITests/TestPrinting \
	Programs/WebKit2APITests/TestWebKitFindController \
	Programs/WebKit2APITests/TestWebKitPolicyClient \
	Programs/WebKit2APITests/TestWebKitSettings \
	Programs/WebKit2APITests/TestWebKitWebContext \
	Programs/WebKit2APITests/TestWebKitWebView \
	Programs/WebKit2APITests/TestWebViewEditor

noinst_PROGRAMS += $(TEST_PROGS)

if HAVE_ATSPI2
TEST_PROGS += Programs/WebKit2APITests/TestWebKitAccessibility

noinst_PROGRAMS += Programs/WebKit2APITests/AccessibilityTestServer
endif

webkit2_tests_cppflags = \
	-DWEBKIT_EXEC_PATH=\"${shell pwd}/$(top_builddir)/Programs\" \
	-DWEBKIT_SRC_DIR=\"${shell pwd}/${srcdir}\" \
	$(javascriptcore_cppflags) \
	-I$(srcdir)/Source/JavaScriptCore \
	-I$(srcdir)/Source \
	-I$(srcdir)/Source/WebKit2 \
	-I$(top_builddir)/DerivedSources/WebKit2/include \
	-I$(top_builddir)/DerivedSources/WebKit2/webkit2gtk \
	-I$(top_builddir)/DerivedSources/WebKit2/webkit2gtk/include \
	-I$(srcdir)/Source/WebKit2/UIProcess/API/gtk \
	$(global_cppflags) \
	$(GLIB_CFLAGS) \
	$(GTK_CFLAGS) \
	$(LIBSOUP_CFLAGS)

webkit2_tests_ldadd = \
	Libraries/libWebKit2APITestCore.la \
	libjavascriptcoregtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la \
	libwebkit2gtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la \
	$(GEOCLUE_LIBS) \
	$(GLIB_LIBS) \
	$(GTK_LIBS) \
	$(LIBSOUP_LIBS)

webkit2_tests_ldflags = \
	-no-install \
	-no-fast-install

noinst_LTLIBRARIES += Libraries/libWebKit2APITestCore.la
Libraries_libWebKit2APITestCore_la_SOURCES = \
	Source/WebKit2/UIProcess/API/gtk/tests/LoadTrackingTest.cpp \
	Source/WebKit2/UIProcess/API/gtk/tests/LoadTrackingTest.h \
	Source/WebKit2/UIProcess/API/gtk/tests/WebKitTestServer.cpp \
	Source/WebKit2/UIProcess/API/gtk/tests/WebKitTestServer.h \
	Source/WebKit2/UIProcess/API/gtk/tests/TestMain.cpp \
	Source/WebKit2/UIProcess/API/gtk/tests/TestMain.h \
	Source/WebKit2/UIProcess/API/gtk/tests/WebViewTest.cpp \
	Source/WebKit2/UIProcess/API/gtk/tests/WebViewTest.h
Libraries_libWebKit2APITestCore_la_CPPFLAGS = $(webkit2_tests_cppflags)

Programs_WebKit2APITests_TestWebKitWebContext_SOURCES = \
	Source/WebKit2/UIProcess/API/gtk/tests/TestWebKitWebContext.cpp
Programs_WebKit2APITests_TestWebKitWebContext_CPPFLAGS = $(webkit2_tests_cppflags)
Programs_WebKit2APITests_TestWebKitWebContext_LDADD = $(webkit2_tests_ldadd)
Programs_WebKit2APITests_TestWebKitWebContext_LDFLAGS = $(webkit2_tests_ldflags)

Programs_WebKit2APITests_TestWebKitWebView_SOURCES = \
	Source/WebKit2/UIProcess/API/gtk/tests/TestWebKitWebView.cpp
Programs_WebKit2APITests_TestWebKitWebView_CPPFLAGS = $(webkit2_tests_cppflags)
Programs_WebKit2APITests_TestWebKitWebView_LDADD = $(webkit2_tests_ldadd)
Programs_WebKit2APITests_TestWebKitWebView_LDFLAGS = $(webkit2_tests_ldflags)

Programs_WebKit2APITests_TestLoaderClient_SOURCES = \
	Source/WebKit2/UIProcess/API/gtk/tests/TestLoaderClient.cpp
Programs_WebKit2APITests_TestLoaderClient_CPPFLAGS = $(webkit2_tests_cppflags)
Programs_WebKit2APITests_TestLoaderClient_LDADD = $(webkit2_tests_ldadd)
Programs_WebKit2APITests_TestLoaderClient_LDFLAGS = $(webkit2_tests_ldflags)

Programs_WebKit2APITests_TestWebKitSettings_SOURCES = \
	Source/WebKit2/UIProcess/API/gtk/tests/TestWebKitSettings.cpp
Programs_WebKit2APITests_TestWebKitSettings_CPPFLAGS = $(webkit2_tests_cppflags)
Programs_WebKit2APITests_TestWebKitSettings_LDADD = $(webkit2_tests_ldadd)
Programs_WebKit2APITests_TestWebKitSettings_LDFLAGS = $(webkit2_tests_ldflags)

Programs_WebKit2APITests_TestBackForwardList_SOURCES = \
        Source/WebKit2/UIProcess/API/gtk/tests/TestBackForwardList.cpp
Programs_WebKit2APITests_TestBackForwardList_CPPFLAGS = $(webkit2_tests_cppflags)
Programs_WebKit2APITests_TestBackForwardList_LDADD = $(webkit2_tests_ldadd)
Programs_WebKit2APITests_TestBackForwardList_LDFLAGS = $(webkit2_tests_ldflags)

Programs_WebKit2APITests_TestWebKitPolicyClient_SOURCES = \
        Source/WebKit2/UIProcess/API/gtk/tests/TestWebKitPolicyClient.cpp
Programs_WebKit2APITests_TestWebKitPolicyClient_CPPFLAGS = $(webkit2_tests_cppflags)
Programs_WebKit2APITests_TestWebKitPolicyClient_LDADD = $(webkit2_tests_ldadd)
Programs_WebKit2APITests_TestWebKitPolicyClient_LDFLAGS = $(webkit2_tests_ldflags)

if HAVE_ATSPI2
Programs_WebKit2APITests_AccessibilityTestServer_SOURCES = \
	Source/WebKit2/UIProcess/API/gtk/tests/AccessibilityTestServer.cpp
Programs_WebKit2APITests_AccessibilityTestServer_CPPFLAGS = $(webkit2_tests_cppflags)
Programs_WebKit2APITests_AccessibilityTestServer_LDADD = $(webkit2_tests_ldadd)
Programs_WebKit2APITests_AccessibilityTestServer_LDFLAGS = $(webkit2_tests_ldflags)

Programs_WebKit2APITests_TestWebKitAccessibility_SOURCES = \
	Source/WebKit2/UIProcess/API/gtk/tests/TestWebKitAccessibility.cpp
Programs_WebKit2APITests_TestWebKitAccessibility_CPPFLAGS = $(webkit2_tests_cppflags) $(ATSPI2_CFLAGS)
Programs_WebKit2APITests_TestWebKitAccessibility_LDADD = $(webkit2_tests_ldadd) $(ATSPI2_LIBS)
Programs_WebKit2APITests_TestWebKitAccessibility_LDFLAGS = $(webkit2_tests_ldflags)
endif

Programs_WebKit2APITests_TestDownloads_SOURCES = \
        Source/WebKit2/UIProcess/API/gtk/tests/TestDownloads.cpp
Programs_WebKit2APITests_TestDownloads_CPPFLAGS = $(webkit2_tests_cppflags)
Programs_WebKit2APITests_TestDownloads_LDADD = $(webkit2_tests_ldadd)
Programs_WebKit2APITests_TestDownloads_LDFLAGS = $(webkit2_tests_ldflags)

Programs_WebKit2APITests_TestWebViewEditor_SOURCES = \
        Source/WebKit2/UIProcess/API/gtk/tests/TestWebViewEditor.cpp
Programs_WebKit2APITests_TestWebViewEditor_CPPFLAGS = $(webkit2_tests_cppflags)
Programs_WebKit2APITests_TestWebViewEditor_LDADD = $(webkit2_tests_ldadd)
Programs_WebKit2APITests_TestWebViewEditor_LDFLAGS = $(webkit2_tests_ldflags)

Programs_WebKit2APITests_TestPrinting_SOURCES = \
        Source/WebKit2/UIProcess/API/gtk/tests/TestPrinting.cpp
Programs_WebKit2APITests_TestPrinting_CPPFLAGS = $(webkit2_tests_cppflags) $(GTK_UNIX_PRINTING_CFLAGS)
Programs_WebKit2APITests_TestPrinting_LDADD = $(webkit2_tests_ldadd) $(GTK_UNIX_PRINTING_LIBS)
Programs_WebKit2APITests_TestPrinting_LDFLAGS = $(webkit2_tests_ldflags)

Programs_WebKit2APITests_TestWebKitFindController_SOURCES = \
	Source/WebKit2/UIProcess/API/gtk/tests/TestWebKitFindController.cpp
Programs_WebKit2APITests_TestWebKitFindController_CPPFLAGS = $(webkit2_tests_cppflags)
Programs_WebKit2APITests_TestWebKitFindController_LDADD = $(webkit2_tests_ldadd)
Programs_WebKit2APITests_TestWebKitFindController_LDFLAGS = $(webkit2_tests_ldflags)

endif # ENABLE_WEBKIT2