blob: c80d6493fac4395c8e0070fabc1240b8a717f181 [file] [log] [blame]
alp@webkit.orgf93619a2007-12-30 03:33:44 +00001# Top-level Makefile rule for automake
2#
3# Variable conventions:
4#
5# _h_api = API headers that will be installed and included in the distribution
6# _cppflags = flags that will be passed to the C/CXX Preprocessor
7# _sources = sources that will be compiled and included in the distribution
alp@webkit.orgf93619a2007-12-30 03:33:44 +00008# _built_sources = files that will be autogenerated by the build system and
9# will be part of the _SOURCES primary
10# _built_nosources = files that are autogenerated but are not part of the
11# _SOURCES primary
12# _cleanfiles = files that will be removed by the clean target
13#
14# Sources, headers, flags, etc... should be added to the respective variables
15# with the above suffix, e.g, webcore-specific sources should go to
alp@webkit.orgf1dbca62008-06-02 16:36:32 +000016# webcore_sources, gtk port API and WebCoreSupport parts to webkitgtk_sources,
17# etc... The only exceptions are the global variables. See Global Variables
18# below.
alp@webkit.orgf93619a2007-12-30 03:33:44 +000019#
20# Global Variables
21#
22# global_cppflags = CPPFLAGS that apply to JSC, WebCore, and to any
23# specific port
mrowe@apple.com84cdb082008-02-05 03:25:59 +000024# global_cflags = CFLAGS that apply to JSC, WebCore, and to
alp@webkit.orgf93619a2007-12-30 03:33:44 +000025# any specific port
mrowe@apple.com84cdb082008-02-05 03:25:59 +000026# global_cxxflags = CXXFLAGS that apply to JSC, WebCore, and to any
27# specific port
alp@webkit.org278f1252007-12-27 06:05:21 +000028
29srcdir = @srcdir@
30VPATH = @srcdir@
31
32# Directory for autogenerated sources
33GENSOURCES := $(top_builddir)/DerivedSources
alp@webkit.orgc04fee22008-04-19 05:16:00 +000034GENPROGRAMS := $(top_builddir)/Programs
alp@webkit.org278f1252007-12-27 06:05:21 +000035
36# Script for creating hash tables
alp@webkit.org4c29a2f2008-11-06 08:58:53 +000037CREATE_HASH_TABLE = $(srcdir)/JavaScriptCore/create_hash_table
alp@webkit.org278f1252007-12-27 06:05:21 +000038
jmalonzo@webkit.orgc9b4de42009-05-18 11:30:53 +000039# Programs to run the WebKitGtk unit tests
40GTESTER = gtester
41GTESTER_REPORT = gtester-report
42
alp@webkit.org278f1252007-12-27 06:05:21 +000043# Libraries and support components
alp@webkit.org643f3ef2008-06-15 11:46:18 +000044bin_PROGRAMS :=
alp@webkit.org278f1252007-12-27 06:05:21 +000045noinst_PROGRAMS :=
alp@webkit.org9388fc82008-08-10 18:21:21 +000046noinst_HEADERS :=
alp@webkit.org278f1252007-12-27 06:05:21 +000047lib_LIBRARIES :=
alp@webkit.org278f1252007-12-27 06:05:21 +000048IDL_BINDINGS :=
jmalonzo@webkit.org27bbbab2009-03-20 19:45:05 +000049TEST_PROGS :=
kov@webkit.org774c23b2009-04-06 19:39:14 +000050POFILES :=
kov@webkit.org774c23b2009-04-06 19:39:14 +000051MOFILES :=
jmalonzo@webkit.orga3327562009-05-18 11:30:06 +000052javascriptcore_h_api :=
53javascriptcore_cppflags:=
54javascriptcore_sources :=
55javascriptcore_built_sources :=
56javascriptcore_built_nosources :=
57javascriptcore_dist :=
58webcore_cppflags :=
59webcore_sources :=
60webcore_libadd :=
61webcore_built_sources :=
62webcore_built_nosources :=
63webcore_dist :=
64webcoregtk_cppflags :=
65webcoregtk_sources :=
66webkitgtk_h_api :=
67webkitgtk_sources :=
68webkitgtk_cppflags :=
69webkitgtk_built_sources :=
70webkitgtk_built_nosources :=
71webkitgtk_cleanfiles :=
alp@webkit.org040ad8b2008-02-04 11:00:43 +000072global_cppflags :=
jmalonzo@webkit.orga3327562009-05-18 11:30:06 +000073global_cflags :=
74global_cxxflags :=
75corekit_cflags :=
76corekit_cppflags :=
alp@webkit.org278f1252007-12-27 06:05:21 +000077
jmalonzo@webkit.orga3327562009-05-18 11:30:06 +000078# CFLAGS/CXXFLAGS used by WebCore and WebKit
79#
jmalonzo@webkit.org249f7ce2009-05-18 11:30:41 +000080# gtk+.pc already include glib, cairo, freetype and pango CFLAGS
jmalonzo@webkit.orga3327562009-05-18 11:30:06 +000081# Don't include them for now to reduce the noise when compiling
82# $(GLIB_CFLAGS) $(CAIRO_CFLAGS) $(PANGO_CFLAGS) $(FREETYPE_CFLAGS)
jmalonzo@webkit.orga3327562009-05-18 11:30:06 +000083corekit_cflags += \
84 -fno-strict-aliasing \
85 $(COVERAGE_CFLAGS) \
86 $(ENCHANT_CFLAGS) \
xan@webkit.org21f12d52009-06-10 13:10:16 +000087 $(GAIL_CFLAGS) \
jmalonzo@webkit.orga3327562009-05-18 11:30:06 +000088 $(GEOCLUE_CFLAGS) \
89 $(GLIB_CFLAGS) \
90 $(GNOMEKEYRING_CFLAGS) \
91 $(GSTREAMER_CFLAGS) \
92 $(GTK_CFLAGS) \
93 $(HILDON_CFLAGS) \
94 $(LIBSOUP_CFLAGS) \
95 $(LIBXML_CFLAGS) \
96 $(LIBXSLT_CFLAGS) \
97 $(SQLITE3_CFLAGS) \
98 $(UNICODE_CFLAGS) \
99 $(XT_CFLAGS)
100
101# When building webcore/webkit, we want WebCore/config.h and NOT
jmalonzo@webkit.org249f7ce2009-05-18 11:30:41 +0000102# JavaScriptCore/config.h, hence, it's important that WebCore/ should come first
jmalonzo@webkit.orga3327562009-05-18 11:30:06 +0000103# before JavaScriptCore in the include path.
104corekit_cppflags += \
105 $(global_cppflags) \
106 $(webcore_cppflags) \
107 $(webcoregtk_cppflags) \
108 $(javascriptcore_cppflags)
109
jmalonzo@webkit.org249f7ce2009-05-18 11:30:41 +0000110if TARGET_X11
111corekit_cppflags += -DXP_UNIX
112endif
alp@webkit.orgd28cae02008-03-10 00:49:15 +0000113
alp@webkit.org278f1252007-12-27 06:05:21 +0000114# Default compiler flags
jmalonzo@webkit.orga3327562009-05-18 11:30:06 +0000115global_cflags += \
alp@webkit.org278f1252007-12-27 06:05:21 +0000116 -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type \
117 -Wformat -Wformat-security -Wno-format-y2k -Wundef \
118 -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings \
alp@webkit.org491d9092008-11-03 17:27:55 +0000119 -Wno-unused-parameter -Wno-parentheses \
120 -fno-exceptions
mrowe@apple.com84cdb082008-02-05 03:25:59 +0000121
jmalonzo@webkit.orga3327562009-05-18 11:30:06 +0000122global_cxxflags += \
123 $(global_cflags) \
alp@webkit.org491d9092008-11-03 17:27:55 +0000124 $(SYMBOL_VISIBILITY_INLINES) \
125 -fno-rtti
alp@webkit.org278f1252007-12-27 06:05:21 +0000126
alp@webkit.org15ef3c42008-06-03 00:30:19 +0000127# -no-undefined required for building DLLs on Windows
128# It breaks the build on other platforms, so we use it conditionally
129if OS_WIN32
xan@webkit.org0a818012009-05-13 13:49:06 +0000130no_undefined = -no-undefined
alp@webkit.org15ef3c42008-06-03 00:30:19 +0000131endif
132
jmalonzo@webkit.orga897fea2008-09-24 07:42:51 +0000133if OS_GNU
xan@webkit.org0a818012009-05-13 13:49:06 +0000134version_script = -Wl,--version-script,$(srcdir)/autotools/symbols.filter
jmalonzo@webkit.orga897fea2008-09-24 07:42:51 +0000135endif
136
alp@webkit.org36d65492008-01-13 07:33:53 +0000137# Shared libraries
138lib_LTLIBRARIES = \
alp@webkit.org66551a12008-03-02 19:51:26 +0000139 libwebkit-1.0.la
alp@webkit.org36d65492008-01-13 07:33:53 +0000140
141# Convenience libraries
142noinst_LTLIBRARIES = \
alp@webkit.org66551a12008-03-02 19:51:26 +0000143 libJavaScriptCore.la \
144 libWebCore.la
alp@webkit.org278f1252007-12-27 06:05:21 +0000145
jmalonzo@webkit.orga3327562009-05-18 11:30:06 +0000146# JavaScriptCore
zecke@webkit.org5d487372008-03-21 18:21:25 +0000147javascriptcore_cppflags += \
zecke@webkit.org5d487372008-03-21 18:21:25 +0000148 -I$(srcdir)/JavaScriptCore/ForwardingHeaders \
cwzwarich@webkit.orgb77ab3a2008-11-07 07:41:18 +0000149 -I$(srcdir)/JavaScriptCore/parser \
zecke@webkit.org5d487372008-03-21 18:21:25 +0000150 -I$(srcdir)/JavaScriptCore/wtf \
zecke@webkit.org5d487372008-03-21 18:21:25 +0000151 -I$(top_builddir)/DerivedSources
152
alp@webkit.orgc04fee22008-04-19 05:16:00 +0000153nodist_EXTRA_libJavaScriptCore_la_SOURCES = \
alp@webkit.org81514942008-04-23 03:14:26 +0000154 $(javascriptcore_built_nosources)
155
156nodist_libJavaScriptCore_la_SOURCES = \
alp@webkit.orgc04fee22008-04-19 05:16:00 +0000157 $(javascriptcore_built_sources)
158
alp@webkit.org66551a12008-03-02 19:51:26 +0000159libJavaScriptCore_ladir = $(prefix)/include/webkit-1.0/JavaScriptCore
alp@webkit.org36d65492008-01-13 07:33:53 +0000160libJavaScriptCore_la_HEADERS = $(javascriptcore_h_api)
alp@webkit.org278f1252007-12-27 06:05:21 +0000161
alp@webkit.org36d65492008-01-13 07:33:53 +0000162libJavaScriptCore_la_SOURCES = \
alp@webkit.org278f1252007-12-27 06:05:21 +0000163 $(javascriptcore_sources)
164
xan@webkit.org0a818012009-05-13 13:49:06 +0000165libJavaScriptCore_la_LIBADD = \
166 $(UNICODE_LIBS) \
167 $(GLIB_LIBS) \
168 -lpthread
169
darin@apple.com47e2c232008-02-24 05:42:29 +0000170libJavaScriptCore_la_CXXFLAGS = \
pewtermoose@webkit.org7a953d92008-02-24 07:07:03 +0000171 $(global_cxxflags) \
alp@webkit.org139345a2008-09-20 06:34:35 +0000172 $(libJavaScriptCore_la_CFLAGS)
alp@webkit.org278f1252007-12-27 06:05:21 +0000173
darin@apple.com47e2c232008-02-24 05:42:29 +0000174libJavaScriptCore_la_CFLAGS = \
alp@webkit.org2d181c52008-06-08 16:10:16 +0000175 -fstrict-aliasing \
176 -O3 \
pewtermoose@webkit.org7a953d92008-02-24 07:07:03 +0000177 $(global_cflags) \
jmalonzo@webkit.org06d65c102009-01-31 09:36:45 +0000178 $(GLIB_CFLAGS) \
alp@webkit.org2d181c52008-06-08 16:10:16 +0000179 $(UNICODE_CFLAGS)
alp@webkit.org278f1252007-12-27 06:05:21 +0000180
alp@webkit.orgf49bd1e2008-01-21 23:06:23 +0000181libJavaScriptCore_la_CPPFLAGS = \
182 $(global_cppflags) \
alp@webkit.orgd28cae02008-03-10 00:49:15 +0000183 $(javascriptcore_cppflags)
alp@webkit.org278f1252007-12-27 06:05:21 +0000184
xan@webkit.org0a818012009-05-13 13:49:06 +0000185# WebCore
alp@webkit.org76e7f9a2008-10-08 00:42:37 +0000186nodist_EXTRA_libWebCore_la_SOURCES = \
187 $(webcore_built_nosources)
188
alp@webkit.orgc04fee22008-04-19 05:16:00 +0000189nodist_libWebCore_la_SOURCES = \
190 $(webcore_built_sources)
alp@webkit.org278f1252007-12-27 06:05:21 +0000191
alp@webkit.org66551a12008-03-02 19:51:26 +0000192libWebCore_la_SOURCES = \
alp@webkit.orgf1dbca62008-06-02 16:36:32 +0000193 $(webcore_sources) \
alp@webkit.orgf1dbca62008-06-02 16:36:32 +0000194 $(webcoregtk_sources)
alp@webkit.org278f1252007-12-27 06:05:21 +0000195
alp@webkit.org66551a12008-03-02 19:51:26 +0000196libWebCore_la_CXXFLAGS = \
mrowe@apple.com84cdb082008-02-05 03:25:59 +0000197 $(global_cxxflags) \
jmalonzo@webkit.orga3327562009-05-18 11:30:06 +0000198 $(corekit_cflags)
alp@webkit.org278f1252007-12-27 06:05:21 +0000199
alp@webkit.org66551a12008-03-02 19:51:26 +0000200libWebCore_la_CFLAGS = \
alp@webkit.org278f1252007-12-27 06:05:21 +0000201 $(global_cflags) \
jmalonzo@webkit.orga3327562009-05-18 11:30:06 +0000202 $(corekit_cflags)
alp@webkit.org278f1252007-12-27 06:05:21 +0000203
xan@webkit.org0a818012009-05-13 13:49:06 +0000204libWebCore_la_CPPFLAGS = \
jmalonzo@webkit.orga3327562009-05-18 11:30:06 +0000205 $(corekit_cppflags)
xan@webkit.org0a818012009-05-13 13:49:06 +0000206
xan@webkit.org0a818012009-05-13 13:49:06 +0000207# WebKit
alp@webkit.orgc04fee22008-04-19 05:16:00 +0000208nodist_libwebkit_1_0_la_SOURCES = \
209 $(webkitgtk_built_sources)
210
alp@webkit.org66551a12008-03-02 19:51:26 +0000211libwebkit_1_0_ladir = $(prefix)/include/webkit-1.0/webkit
jmalonzo@webkit.orgd18157182008-06-18 20:04:18 +0000212libwebkit_1_0_la_HEADERS = \
213 $(webkitgtk_h_api) \
214 WebKit/gtk/webkit/webkitenumtypes.h
alp@webkit.org66551a12008-03-02 19:51:26 +0000215
216libwebkit_1_0_la_SOURCES = \
alp@webkit.org66551a12008-03-02 19:51:26 +0000217 $(webkitgtk_sources)
218
219libwebkit_1_0_la_CXXFLAGS = \
jmalonzo@webkit.orga3327562009-05-18 11:30:06 +0000220 $(global_cxxflags) \
221 $(corekit_cflags)
alp@webkit.org66551a12008-03-02 19:51:26 +0000222
223libwebkit_1_0_la_CFLAGS = \
jmalonzo@webkit.orga3327562009-05-18 11:30:06 +0000224 $(global_cflags) \
225 $(corekit_cflags)
alp@webkit.org66551a12008-03-02 19:51:26 +0000226
227libwebkit_1_0_la_CPPFLAGS = \
jmalonzo@webkit.orga3327562009-05-18 11:30:06 +0000228 $(corekit_cppflags) \
229 $(webkitgtk_cppflags) \
230 $(HILDON_CPPFLAGS)
alp@webkit.org66551a12008-03-02 19:51:26 +0000231
xan@webkit.org0a818012009-05-13 13:49:06 +0000232libwebkit_1_0_la_LDFLAGS = \
alp@webkit.org15ef3c42008-06-03 00:30:19 +0000233 -version-info @LIBWEBKITGTK_VERSION@ \
jmalonzo@webkit.orga897fea2008-09-24 07:42:51 +0000234 $(version_script) \
alp@webkit.org15ef3c42008-06-03 00:30:19 +0000235 $(no_undefined)
alp@webkit.org278f1252007-12-27 06:05:21 +0000236
xan@webkit.org0a818012009-05-13 13:49:06 +0000237libwebkit_1_0_la_LIBADD = \
jmalonzo@webkit.org290fe612009-05-23 22:20:31 +0000238 -lpthread \
239 libJavaScriptCore.la \
xan@webkit.org0a818012009-05-13 13:49:06 +0000240 libWebCore.la \
jmalonzo@webkit.org290fe612009-05-23 22:20:31 +0000241 libWebCoreJS.la \
242 $(webcore_ldflags) \
243 $(CAIRO_LIBS) \
244 $(COVERAGE_LDFLAGS) \
xan@webkit.org0a818012009-05-13 13:49:06 +0000245 $(ENCHANT_LIBS) \
jmalonzo@webkit.org290fe612009-05-23 22:20:31 +0000246 $(FREETYPE_LIBS) \
xan@webkit.org21f12d52009-06-10 13:10:16 +0000247 $(GAIL_LIBS) \
jmalonzo@webkit.org290fe612009-05-23 22:20:31 +0000248 $(GEOCLUE_LIBS) \
249 $(GLIB_LIBS) \
250 $(GNOMEKEYRING_LIBS) \
251 $(GSTREAMER_LIBS) \
252 $(GTK_LIBS) \
253 $(HILDON_LIBS) \
254 $(JPEG_LIBS) \
255 $(LIBSOUP_LIBS) \
256 $(LIBXML_LIBS) \
257 $(LIBXSLT_LIBS) \
258 $(PANGO_LIBS) \
259 $(PNG_LIBS) \
260 $(SQLITE3_LIBS) \
261 $(UNICODE_LIBS) \
262 $(XT_LIBS)
xan@webkit.org0a818012009-05-13 13:49:06 +0000263
alp@webkit.orgf93619a2007-12-30 03:33:44 +0000264#
alp@webkit.org278f1252007-12-27 06:05:21 +0000265# Extra checks and flags
alp@webkit.org278f1252007-12-27 06:05:21 +0000266global_cppflags += \
alp@webkit.orgf1dbca62008-06-02 16:36:32 +0000267 -DBUILDING_CAIRO__=1 \
alp@webkit.org278f1252007-12-27 06:05:21 +0000268 -DBUILDING_GTK__=1 \
kov@webkit.orgeba9e742009-05-22 18:06:51 +0000269 -DWTF_CHANGES
270
271if USE_ICU_UNICODE
272global_cppflags += \
jmalonzo@webkit.org249f7ce2009-05-18 11:30:41 +0000273 -DWTF_USE_ICU_UNICODE=1
kov@webkit.orgeba9e742009-05-22 18:06:51 +0000274endif
275
276if USE_GLIB_UNICODE
277# https://bugs.webkit.org/show_bug.cgi?id=15914
278# In patch 1/4 we are compiling a hybrid version of GLib WTF Unicode
279# functionality mixed with ICU-based text codecs and TextBreakIterator.
280# For the transition, introducing an interim HYBRID macro.
281# This macro is required for compiling WTF with GLib Unicode backend,
282# but at the same time keeping ICU dependency for codecs and break iterator.
283# It will be removed with patch 3/4 of the above bug.
284global_cppflags += \
285 -DWTF_USE_GLIB_UNICODE=1 \
286 -DWTF_USE_GLIB_ICU_UNICODE_HYBRID=1
287endif
alp@webkit.org278f1252007-12-27 06:05:21 +0000288
alp@webkit.org27f95c42008-01-12 07:40:52 +0000289if !ENABLE_FAST_MALLOC
290global_cppflags += \
291 -DUSE_SYSTEM_MALLOC
292endif
293
alp@webkit.org278f1252007-12-27 06:05:21 +0000294if !ENABLE_DEBUG
295global_cppflags += -DNDEBUG
jmalonzo@webkit.org249f7ce2009-05-18 11:30:41 +0000296global_cflags += $(SYMBOL_VISIBILITY)
297
alp@webkit.org040ad8b2008-02-04 11:00:43 +0000298else
alp@webkit.orgf1dbca62008-06-02 16:36:32 +0000299webcoregtk_cppflags += \
alp@webkit.org11a31a72007-12-27 23:14:27 +0000300 -DG_DISABLE_DEPRECATED \
301 -DGDK_PIXBUF_DISABLE_DEPRECATED \
302 -DGDK_DISABLE_DEPRECATED \
303 -DGTK_DISABLE_DEPRECATED \
zecke@webkit.org48bc6f42008-01-03 02:07:28 +0000304 -DPANGO_DISABLE_DEPRECATED
305
306# Might be useful in the future
307# -DGDK_MULTIHEAD_SAFE \
308# -DGTK_MULTIHEAD_SAFE
alp@webkit.org278f1252007-12-27 06:05:21 +0000309endif
310
alp@webkit.org278f1252007-12-27 06:05:21 +0000311if ENABLE_COVERAGE
312global_cppflags += \
313 -DGCC_GENERATE_TEST_COVERAGE_FILES \
314 -DGCC_INSTRUMENT_PROGRAM_FLOW_ARCS
315endif
316
alp@webkit.org278f1252007-12-27 06:05:21 +0000317webkitgtk_h_api += \
alp@webkit.org94c06552008-01-31 23:51:53 +0000318 WebKit/gtk/webkit/webkit.h \
319 WebKit/gtk/webkit/webkitdefines.h \
kov@webkit.org7d05c792009-03-03 19:48:22 +0000320 WebKit/gtk/webkit/webkitdownload.h \
jmalonzo@webkit.org5f5c6c82009-04-25 09:19:42 +0000321 WebKit/gtk/webkit/webkiterror.h \
alp@webkit.org94c06552008-01-31 23:51:53 +0000322 WebKit/gtk/webkit/webkitnetworkrequest.h \
xan@webkit.orgaa458732009-03-04 20:57:38 +0000323 WebKit/gtk/webkit/webkitsoupauthdialog.h \
christian@webkit.org56f00692008-06-05 22:50:40 +0000324 WebKit/gtk/webkit/webkitversion.h \
alp@webkit.org94c06552008-01-31 23:51:53 +0000325 WebKit/gtk/webkit/webkitwebbackforwardlist.h \
326 WebKit/gtk/webkit/webkitwebframe.h \
327 WebKit/gtk/webkit/webkitwebhistoryitem.h \
zecke@webkit.orgbcca41d2008-10-29 22:39:18 +0000328 WebKit/gtk/webkit/webkitwebinspector.h \
zecke@webkit.org2d40b852008-12-20 03:18:31 +0000329 WebKit/gtk/webkit/webkitwebnavigationaction.h \
330 WebKit/gtk/webkit/webkitwebpolicydecision.h \
alp@webkit.org94c06552008-01-31 23:51:53 +0000331 WebKit/gtk/webkit/webkitwebsettings.h \
zecke@webkit.orgdfb38682008-11-29 00:20:56 +0000332 WebKit/gtk/webkit/webkitwebwindowfeatures.h \
alp@webkit.org040ad8b2008-02-04 11:00:43 +0000333 WebKit/gtk/webkit/webkitwebview.h
alp@webkit.org278f1252007-12-27 06:05:21 +0000334
335webkitgtk_built_sources += \
jmalonzo@webkit.orgd18157182008-06-18 20:04:18 +0000336 DerivedSources/webkitenumtypes.cpp \
alp@webkit.org9388fc82008-08-10 18:21:21 +0000337 DerivedSources/webkitmarshal.cpp \
338 DerivedSources/webkitmarshal.h \
jmalonzo@webkit.orgd18157182008-06-18 20:04:18 +0000339 WebKit/gtk/webkit/webkitenumtypes.h
alp@webkit.org278f1252007-12-27 06:05:21 +0000340
alp@webkit.org278f1252007-12-27 06:05:21 +0000341webkitgtk_sources += \
alp@webkit.org9388fc82008-08-10 18:21:21 +0000342 WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp \
343 WebKit/gtk/WebCoreSupport/ChromeClientGtk.h \
344 WebKit/gtk/WebCoreSupport/ContextMenuClientGtk.cpp \
345 WebKit/gtk/WebCoreSupport/ContextMenuClientGtk.h \
346 WebKit/gtk/WebCoreSupport/DragClientGtk.cpp \
347 WebKit/gtk/WebCoreSupport/DragClientGtk.h \
348 WebKit/gtk/WebCoreSupport/EditorClientGtk.cpp \
349 WebKit/gtk/WebCoreSupport/EditorClientGtk.h \
350 WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp \
351 WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.h \
352 WebKit/gtk/WebCoreSupport/InspectorClientGtk.cpp \
353 WebKit/gtk/WebCoreSupport/InspectorClientGtk.h \
354 WebKit/gtk/WebCoreSupport/PasteboardHelperGtk.cpp \
355 WebKit/gtk/WebCoreSupport/PasteboardHelperGtk.h \
jmalonzo@webkit.org5f5c6c82009-04-25 09:19:42 +0000356 WebKit/gtk/webkit/webkitdownload.cpp \
357 WebKit/gtk/webkit/webkiterror.cpp \
alp@webkit.org94c06552008-01-31 23:51:53 +0000358 WebKit/gtk/webkit/webkitnetworkrequest.cpp \
359 WebKit/gtk/webkit/webkitprivate.cpp \
alp@webkit.org9388fc82008-08-10 18:21:21 +0000360 WebKit/gtk/webkit/webkitprivate.h \
xan@webkit.orgaa458732009-03-04 20:57:38 +0000361 WebKit/gtk/webkit/webkitsoupauthdialog.c \
christian@webkit.org56f00692008-06-05 22:50:40 +0000362 WebKit/gtk/webkit/webkitversion.cpp \
alp@webkit.org94c06552008-01-31 23:51:53 +0000363 WebKit/gtk/webkit/webkitwebbackforwardlist.cpp \
364 WebKit/gtk/webkit/webkitwebframe.cpp \
365 WebKit/gtk/webkit/webkitwebhistoryitem.cpp \
zecke@webkit.orgbcca41d2008-10-29 22:39:18 +0000366 WebKit/gtk/webkit/webkitwebinspector.cpp \
zecke@webkit.org2d40b852008-12-20 03:18:31 +0000367 WebKit/gtk/webkit/webkitwebnavigationaction.cpp \
368 WebKit/gtk/webkit/webkitwebpolicydecision.cpp \
alp@webkit.org94c06552008-01-31 23:51:53 +0000369 WebKit/gtk/webkit/webkitwebsettings.cpp \
zecke@webkit.orgdfb38682008-11-29 00:20:56 +0000370 WebKit/gtk/webkit/webkitwebview.cpp \
371 WebKit/gtk/webkit/webkitwebwindowfeatures.cpp
alp@webkit.org278f1252007-12-27 06:05:21 +0000372
alp@webkit.org7c869902008-06-08 19:04:23 +0000373webkitgtk_cppflags += \
374 -DBUILDING_WEBKIT \
jmalonzo@webkit.org249f7ce2009-05-18 11:30:41 +0000375 -DPACKAGE_LOCALE_DIR=\"$(localedir)\" \
376 -DDATA_DIR=\"${datadir}\" \
alp@webkit.org7c869902008-06-08 19:04:23 +0000377 -I$(srcdir)/WebKit/gtk \
378 -I$(srcdir)/WebKit/gtk/WebCoreSupport \
379 -I$(srcdir)/WebKit/gtk/webkit \
380 -I$(top_builddir)/WebKit/gtk/webkit
381
jmalonzo@webkit.org249f7ce2009-05-18 11:30:41 +0000382if USE_GNOMEKEYRING
383webkitgtk_cppflags += \
384 -DWTF_USE_GNOMEKEYRING=1
385endif
386
alp@webkit.orgf93619a2007-12-30 03:33:44 +0000387webkitgtk_cleanfiles += \
kov@webkit.org53600a92009-05-28 17:48:25 +0000388 $(top_builddir)/WebKit/gtk/docs/version.xml \
389 $(top_builddir)/WebKit/gtk/docs/GNUmakefile \
alp@webkit.orgf93619a2007-12-30 03:33:44 +0000390 $(top_builddir)/Programs/GtkLauncher \
alp@webkit.orge359c842008-11-04 04:25:52 +0000391 $(top_builddir)/WebKit/gtk/webkit-1.0.pc \
jmalonzo@webkit.org249f7ce2009-05-18 11:30:41 +0000392 $(top_builddir)/WebKit/gtk/webkit/webkitenumtypes.h \
393 $(top_builddir)/WebKit/gtk/webkit/webkitversion.h
alp@webkit.orgf93619a2007-12-30 03:33:44 +0000394
alp@webkit.org278f1252007-12-27 06:05:21 +0000395pkgconfigdir = $(libdir)/pkgconfig
alp@webkit.org12057322008-02-01 07:01:18 +0000396pkgconfig_DATA = WebKit/gtk/webkit-1.0.pc
alp@webkit.org278f1252007-12-27 06:05:21 +0000397
jmalonzo@webkit.orgb5895212008-06-18 17:16:12 +0000398stamp_files := \
christian@webkit.orge0a030f2008-07-30 18:17:24 +0000399 stamp-webkitmarshal.cpp \
400 stamp-webkitmarshal.h \
jmalonzo@webkit.orgd18157182008-06-18 20:04:18 +0000401 stamp-webkitenumtypes.cpp \
402 stamp-webkitenumtypes.h
403
christian@webkit.orge0a030f2008-07-30 18:17:24 +0000404WEBKIT_MARSHAL = $(GENSOURCES)/webkitmarshal
zecke@webkit.orgfa530382009-02-26 16:48:58 +0000405WEBKIT_MARSHAL_LIST = $(top_srcdir)/WebKit/gtk/webkitmarshal.list
christian@webkit.orge0a030f2008-07-30 18:17:24 +0000406
407$(WEBKIT_MARSHAL).cpp: stamp-webkitmarshal.cpp
alp@webkit.org278f1252007-12-27 06:05:21 +0000408 @true
409
christian@webkit.orge0a030f2008-07-30 18:17:24 +0000410$(WEBKIT_MARSHAL).h: stamp-webkitmarshal.h
alp@webkit.org278f1252007-12-27 06:05:21 +0000411 @true
412
christian@webkit.orge0a030f2008-07-30 18:17:24 +0000413stamp-webkitmarshal.cpp: $(WEBKIT_MARSHAL_LIST)
alp@webkit.org278f1252007-12-27 06:05:21 +0000414 echo "extern \"C\" {" > $(WEBKIT_MARSHAL).cpp && \
alp@webkit.orgf93619a2007-12-30 03:33:44 +0000415 $(GLIB_GENMARSHAL) --prefix=webkit_marshal $(WEBKIT_MARSHAL_LIST) --body >> $(WEBKIT_MARSHAL).cpp && echo '}' >> $(WEBKIT_MARSHAL).cpp && \
alp@webkit.org278f1252007-12-27 06:05:21 +0000416 echo timestamp > $(@F)
417
christian@webkit.orge0a030f2008-07-30 18:17:24 +0000418stamp-webkitmarshal.h: $(WEBKIT_MARSHAL_LIST)
alp@webkit.orgf93619a2007-12-30 03:33:44 +0000419 $(GLIB_GENMARSHAL) --prefix=webkit_marshal $(WEBKIT_MARSHAL_LIST) --header > $(WEBKIT_MARSHAL).h && \
alp@webkit.org278f1252007-12-27 06:05:21 +0000420 echo timestamp > $(@F)
421
jmalonzo@webkit.orgd18157182008-06-18 20:04:18 +0000422WebKit/gtk/webkit/webkitenumtypes.h: stamp-webkitenumtypes.h
423 @true
jmalonzo@webkit.org46fd3f42008-08-06 12:40:53 +0000424stamp-webkitenumtypes.h: $(webkitgtk_h_api) GNUmakefile
jmalonzo@webkit.orgd18157182008-06-18 20:04:18 +0000425 (cd $(srcdir) \
426 && glib-mkenums \
427 --fhead "#ifndef WEBKIT_ENUM_TYPES_H\n" \
428 --fhead "#define WEBKIT_ENUM_TYPES_H\n\n" \
429 --fhead "#include <glib-object.h>\n\n" \
430 --fhead "#include <webkit/webkitdefines.h>\n\n" \
431 --fhead "G_BEGIN_DECLS\n\n" \
432 --ftail "G_END_DECLS\n\n" \
433 --ftail "#endif\n" \
434 --fprod "#include <@filename@>\n\n" \
435 --eprod "#define WEBKIT_TYPE_@ENUMSHORT@ @enum_name@_get_type()\n\n" \
436 --eprod "WEBKIT_API GType\n@enum_name@_get_type(void);\n\n" \
437 $(webkitgtk_h_api) | \
438 sed 's,WebKit/gtk/,,' | \
439 sed 's,web_kit,webkit,' | \
440 sed 's,WEBKIT_TYPE_KIT,WEBKIT_TYPE,' \
441 ) > xgen-gth \
442 && (cmp -s xgen-gth WebKit/gtk/webkit/webkitenumtypes.h || cp xgen-gth WebKit/gtk/webkit/webkitenumtypes.h) \
443 && rm -f xgen-gth \
444 && echo timestamp > $(@F)
445
jmalonzo@webkit.org46fd3f42008-08-06 12:40:53 +0000446DerivedSources/webkitenumtypes.cpp: $(webkitgtk_h_api) GNUmakefile
jmalonzo@webkit.orgd18157182008-06-18 20:04:18 +0000447 (cd $(srcdir) \
448 && glib-mkenums \
449 --fhead "#include <config.h>\n" \
450 --fhead "#include <glib-object.h>\n" \
451 --fhead "#include \"$(top_builddir)/WebKit/gtk/webkit/webkitenumtypes.h\"\n\n" \
452 --fhead "extern \"C\" {\n\n" \
453 --fprod "\n/* enumerations from \"@filename@\" */" \
454 --vhead "static const G@Type@Value _@enum_name@_values[] = {" \
455 --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \
456 --vtail " { 0, NULL, NULL }\n};\n\n" \
457 --vtail "GType @enum_name@_get_type(void)\n{\n" \
458 --vtail " static GType type = 0;\n\n" \
459 --vtail " if (!type)\n" \
460 --vtail " type = g_@type@_register_static(\"@EnumName@\", _@enum_name@_values);\n\n" \
461 --vtail " return type;\n}\n\n" \
462 --ftail "}\n" \
463 $(webkitgtk_h_api) | \
464 sed 's,web_kit,webkit,' \
465 ) > xgen-gtc \
466 && cp xgen-gtc $@ \
467 && rm -f xgen-gtc
468
alp@webkit.org9388fc82008-08-10 18:21:21 +0000469# Files that will be distributed
470EXTRA_DIST = \
kov@webkit.org1edd5ac2009-05-08 21:37:09 +0000471 $(srcdir)/gtk-doc.make \
alp@webkit.org2ab36952008-10-28 12:53:51 +0000472 WebKit/LICENSE \
alp@webkit.org9388fc82008-08-10 18:21:21 +0000473 $(javascriptcore_dist) \
alp@webkit.org97d8c102008-08-29 05:09:39 +0000474 $(webcore_dist) \
kov@webkit.org9551eb62009-02-28 03:44:42 +0000475 $(srcdir)/autotools/symbols.filter \
kov@webkit.org485273b2009-03-02 14:56:41 +0000476 $(srcdir)/WebKit/gtk/ChangeLog \
477 $(srcdir)/WebKit/gtk/NEWS \
kov@webkit.org166f8e5042009-04-01 16:37:52 +0000478 $(srcdir)/WebKit/gtk/webkitmarshal.list \
479 $(srcdir)/WebKit/gtk/docs/GNUmakefile.* \
480 $(srcdir)/WebKit/gtk/docs/webkitenvironment.xml \
481 $(srcdir)/WebKit/gtk/docs/webkitgtk-docs.sgml \
482 $(srcdir)/WebKit/gtk/docs/webkitgtk-sections.txt \
kov@webkit.org774c23b2009-04-06 19:39:14 +0000483 $(srcdir)/WebKit/gtk/docs/version.xml.in \
jmalonzo@webkit.org7ffddf152009-04-25 09:19:20 +0000484 $(srcdir)/WebKit/gtk/po/* \
485 $(srcdir)/WebKit/gtk/resources/*
486
487# extra resource files
488resourcesdir = ${datadir}/webkit-1.0/resources
489dist_resources_DATA = \
490 $(shell ls $(srcdir)/WebKit/gtk/resources/*.html)
491
492# END WEBKIT GTK+
alp@webkit.org278f1252007-12-27 06:05:21 +0000493
494# Files that will be cleaned
jmalonzo@webkit.org249f7ce2009-05-18 11:30:41 +0000495MAINTAINERCLEANFILES := $(stamp_files) $(BUILT_SOURCES) doltcompile doltlibtool
496DISTCLEANFILES := $(stamp_files) $(BUILT_SOURCES) doltcompile doltlibtool
497CLEANFILES := $(stamp_files) $(BUILT_SOURCES)
alp@webkit.org278f1252007-12-27 06:05:21 +0000498
499# Include module makefiles
500include JavaScriptCore/GNUmakefile.am
501include WebCore/GNUmakefile.am
502include WebKitTools/GNUmakefile.am
kov@webkit.org774c23b2009-04-06 19:39:14 +0000503include WebKit/gtk/po/GNUmakefile.am
alp@webkit.org278f1252007-12-27 06:05:21 +0000504
jmalonzo@webkit.org27bbbab2009-03-20 19:45:05 +0000505# Build unit tests
506noinst_PROGRAMS += $(TEST_PROGS)
zecke@webkit.orgc31c5112008-12-07 19:16:17 +0000507
jmalonzo@webkit.org27bbbab2009-03-20 19:45:05 +0000508webkit_tests_cflags = \
zecke@webkit.orgc31c5112008-12-07 19:16:17 +0000509 -fno-strict-aliasing \
jmalonzo@webkit.org27bbbab2009-03-20 19:45:05 +0000510 -I$(srcdir)/JavaScriptCore/ForwardingHeaders \
511 -I$(srcdir)/WebKit/gtk \
512 -I$(top_builddir)/WebKit/gtk \
zecke@webkit.orgc31c5112008-12-07 19:16:17 +0000513 $(global_cflags) \
514 $(GLIB_CFLAGS) \
christian@webkit.org3a74ebf2009-02-23 11:15:30 +0000515 $(GTK_CFLAGS) \
516 $(LIBSOUP_CFLAGS)
zecke@webkit.orgc31c5112008-12-07 19:16:17 +0000517
jmalonzo@webkit.org27bbbab2009-03-20 19:45:05 +0000518webkit_tests_ldadd = \
zecke@webkit.orgc31c5112008-12-07 19:16:17 +0000519 libwebkit-1.0.la \
christian@webkit.org2c1a0db2009-02-19 21:41:25 +0000520 $(GTK_LIBS) \
jmalonzo@webkit.org27bbbab2009-03-20 19:45:05 +0000521 $(GLIB_LIBS) \
522 $(LIBSOUP_LIBS)
523
jmalonzo@webkit.orgb6766c52009-05-18 11:30:25 +0000524webkit_tests_ldflags = \
525 -no-install \
526 -no-fast-install
527
kov@webkit.orgb6934942009-05-29 14:48:33 +0000528TEST_PROGS += Programs/unittests/testhttpbackend \
kov@webkit.org4ece5912009-06-20 13:20:23 +0000529 Programs/unittests/testloading \
kov@webkit.org74a9b762009-06-11 02:48:29 +0000530 Programs/unittests/testnetworkrequest \
kov@webkit.orgb6934942009-05-29 14:48:33 +0000531 Programs/unittests/testwebframe \
jmalonzo@webkit.orga4ae29c2009-03-20 20:23:12 +0000532 Programs/unittests/testwebbackforwardlist \
christian@webkit.org278d4cd2009-04-01 19:48:20 +0000533 Programs/unittests/testwebhistoryitem \
xan@webkit.org5151f5b2009-05-28 18:20:01 +0000534 Programs/unittests/testdownload \
jmalonzo@webkit.org54cd7bc2009-07-03 09:57:39 +0000535 Programs/unittests/testatk \
536 Programs/unittests/testwebsettings
jmalonzo@webkit.org27bbbab2009-03-20 19:45:05 +0000537
538# Add additional tests here
kov@webkit.orgb6934942009-05-29 14:48:33 +0000539Programs_unittests_testhttpbackend_SOURCES = WebKit/gtk/tests/testhttpbackend.c
540Programs_unittests_testhttpbackend_CFLAGS = $(webkit_tests_cflags)
541Programs_unittests_testhttpbackend_LDADD = $(webkit_tests_ldadd)
542Programs_unittests_testhttpbackend_LDFLAGS = $(webkit_tests_ldflags)
543
kov@webkit.org4ece5912009-06-20 13:20:23 +0000544Programs_unittests_testloading_SOURCES = WebKit/gtk/tests/testloading.c
545Programs_unittests_testloading_CFLAGS = $(webkit_tests_cflags)
546Programs_unittests_testloading_LDADD = $(webkit_tests_ldadd)
547Programs_unittests_testloading_LDFLAGS = $(webkit_tests_ldflags)
548
kov@webkit.org74a9b762009-06-11 02:48:29 +0000549Programs_unittests_testnetworkrequest_SOURCES = WebKit/gtk/tests/testnetworkrequest.c
550Programs_unittests_testnetworkrequest_CFLAGS = $(webkit_tests_cflags)
551Programs_unittests_testnetworkrequest_LDADD = $(webkit_tests_ldadd)
552Programs_unittests_testnetworkrequest_LDFLAGS = $(webkit_tests_ldflags)
553
jmalonzo@webkit.org27bbbab2009-03-20 19:45:05 +0000554Programs_unittests_testwebframe_SOURCES = WebKit/gtk/tests/testwebframe.c
555Programs_unittests_testwebframe_CFLAGS = $(webkit_tests_cflags)
556Programs_unittests_testwebframe_LDADD = $(webkit_tests_ldadd)
jmalonzo@webkit.orgb6766c52009-05-18 11:30:25 +0000557Programs_unittests_testwebframe_LDFLAGS = $(webkit_tests_ldflags)
jmalonzo@webkit.org27bbbab2009-03-20 19:45:05 +0000558
559Programs_unittests_testwebbackforwardlist_SOURCES = WebKit/gtk/tests/testwebbackforwardlist.c
560Programs_unittests_testwebbackforwardlist_CFLAGS = $(webkit_tests_cflags)
561Programs_unittests_testwebbackforwardlist_LDADD = $(webkit_tests_ldadd)
jmalonzo@webkit.orgb6766c52009-05-18 11:30:25 +0000562Programs_unittests_testwebbackforwardlist_LDFLAGS = $(webkit_tests_ldflags)
zecke@webkit.orgc31c5112008-12-07 19:16:17 +0000563
jmalonzo@webkit.orga4ae29c2009-03-20 20:23:12 +0000564Programs_unittests_testwebhistoryitem_SOURCES = WebKit/gtk/tests/testwebhistoryitem.c
565Programs_unittests_testwebhistoryitem_CFLAGS = $(webkit_tests_cflags)
566Programs_unittests_testwebhistoryitem_LDADD = $(webkit_tests_ldadd)
jmalonzo@webkit.orgb6766c52009-05-18 11:30:25 +0000567Programs_unittests_testwebhistoryitem_LDFLAGS = $(webkit_tests_ldflags)
jmalonzo@webkit.orga4ae29c2009-03-20 20:23:12 +0000568
christian@webkit.org278d4cd2009-04-01 19:48:20 +0000569Programs_unittests_testdownload_SOURCES = WebKit/gtk/tests/testdownload.c
570Programs_unittests_testdownload_CFLAGS = $(webkit_tests_cflags)
571Programs_unittests_testdownload_LDADD = $(webkit_tests_ldadd)
jmalonzo@webkit.orgb6766c52009-05-18 11:30:25 +0000572Programs_unittests_testdownload_LDFLAGS = $(webkit_tests_ldflags)
jmalonzo@webkit.orga4ae29c2009-03-20 20:23:12 +0000573
xan@webkit.org5151f5b2009-05-28 18:20:01 +0000574Programs_unittests_testatk_SOURCES = WebKit/gtk/tests/testatk.c
575Programs_unittests_testatk_CFLAGS = $(webkit_tests_cflags)
576Programs_unittests_testatk_LDADD = $(webkit_tests_ldadd)
577Programs_unittests_testatk_LDFLAGS = $(webkit_tests_ldflags)
578
jmalonzo@webkit.org54cd7bc2009-07-03 09:57:39 +0000579Programs_unittests_testwebsettings_SOURCES = WebKit/gtk/tests/testwebsettings.c
580Programs_unittests_testwebsettings_CFLAGS = $(webkit_tests_cflags)
581Programs_unittests_testwebsettings_LDADD = $(webkit_tests_ldadd)
582Programs_unittests_testwebsettings_LDFLAGS = $(webkit_tests_ldflags)
583
alp@webkit.orgf93619a2007-12-30 03:33:44 +0000584# Autogenerated sources
alp@webkit.orge1244662008-10-07 18:28:43 +0000585BUILT_SOURCES := \
alp@webkit.orgf93619a2007-12-30 03:33:44 +0000586 $(javascriptcore_built_sources) \
587 $(javascriptcore_built_nosources) \
588 $(webcore_built_sources) \
589 $(webcore_built_nosources) \
590 $(webkitgtk_built_sources) \
591 $(webkitgtk_built_nosources)
592
alp@webkit.org278f1252007-12-27 06:05:21 +0000593# Project-wide clean rules
alp@webkit.orgf93619a2007-12-30 03:33:44 +0000594CLEANFILES += \
alp@webkit.orgc04fee22008-04-19 05:16:00 +0000595 $(webkitgtk_cleanfiles)
alp@webkit.org278f1252007-12-27 06:05:21 +0000596
alp@webkit.orgf93619a2007-12-30 03:33:44 +0000597MAINTAINERCLEANFILES += \
598 $(srcdir)/aconfig.h.in \
jmalonzo@webkit.org15d83302009-03-11 11:57:43 +0000599 $(srcdir)/autotools/config.* \
600 $(srcdir)/autotools/compile \
601 $(srcdir)/autotools/depcomp \
602 $(srcdir)/autotools/install-sh \
603 $(srcdir)/autotools/missing \
604 $(srcdir)/configure \
605 $(srcdir)/GNUmakefile.in \
606 $(srcdir)/INSTALL \
607 $(srcdir)/README \
608 $(top_builddir)/config.*
alp@webkit.orgc04fee22008-04-19 05:16:00 +0000609
alp@webkit.org76e7f9a2008-10-08 00:42:37 +0000610# Older automake versions (1.7) place Plo files in a different place so we need
611# to create the output directory manually.
kov@webkit.org774c23b2009-04-06 19:39:14 +0000612all-local: stamp-po
613 $(mkdir_p) $(top_builddir)/$(DEPDIR)/DerivedSources
alp@webkit.org76e7f9a2008-10-08 00:42:37 +0000614
alp@webkit.orgc04fee22008-04-19 05:16:00 +0000615# remove built sources and program directories
616clean-local:
jmalonzo@webkit.org15d83302009-03-11 11:57:43 +0000617 -rm -rf $(GENPROGRAMS)
618
xan@webkit.org233d51e2009-03-14 20:22:13 +0000619maintainer-clean-local: distclean-local
620
621distclean-local:
alp@webkit.orgc04fee22008-04-19 05:16:00 +0000622 -rm -rf $(GENSOURCES) $(GENPROGRAMS)
kov@webkit.org774c23b2009-04-06 19:39:14 +0000623
624install-data-local: po-install-data-local
625
626installdirs-data-local: po-installdirs-data-local
627
jmalonzo@webkit.org7ffddf152009-04-25 09:19:20 +0000628uninstall-local: po-uninstall-local
jmalonzo@webkit.orgc9b4de42009-05-18 11:30:53 +0000629
630# Run all tests in cwd
631# FIXME: we should run this under xvfb
632test: $(TEST_PROGS)
633 $(GTESTER) --verbose $(TEST_PROGS);
634
635# test-report: run tests in cwd and generate report
636# full-report: run tests in cwd with -m perf and -m slow and generate report
637# perf-report: run tests in cwd with -m perf and generate report
638test-report full-report perf-report: $(TEST_PROGS)
639 @ case $@ in \
640 test-report) test_options="-k";; \
641 full-report) test_options="-k -m=perf";; \
642 perf-report) test_options="-k -m=perf -m=slow";; \
643 esac ; \
644 $(GTESTER) --verbose $$test_options -o test-report.xml $(TEST_PROGS); \
645 $(GTESTER_REPORT) test-report.xml > test-report.html ;
646
647.PHONY: test test-report perf-report full-report
648check-local: test