]>
Commit | Line | Data |
---|---|---|
7012fdd5 | 1 | # Makefile.in generated by automake 1.15 from Makefile.am. |
814bc89d FCE |
2 | # @configure_input@ |
3 | ||
7012fdd5 | 4 | # Copyright (C) 1994-2014 Free Software Foundation, Inc. |
8eef2738 | 5 | |
814bc89d FCE |
6 | # This Makefile.in is free software; the Free Software Foundation |
7 | # gives unlimited permission to copy and/or distribute it, | |
8 | # with or without modifications, as long as this notice is preserved. | |
9 | ||
10 | # This program is distributed in the hope that it will be useful, | |
11 | # but WITHOUT ANY WARRANTY, to the extent permitted by law; without | |
12 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A | |
13 | # PARTICULAR PURPOSE. | |
14 | ||
15 | @SET_MAKE@ | |
16 | ||
5ba96b90 | 17 | # Makefile.am --- automake input file for systemtap testsuite |
814bc89d | 18 | VPATH = @srcdir@ |
7012fdd5 FCE |
19 | am__is_gnu_make = { \ |
20 | if test -z '$(MAKELEVEL)'; then \ | |
21 | false; \ | |
22 | elif test -n '$(MAKE_HOST)'; then \ | |
23 | true; \ | |
24 | elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ | |
25 | true; \ | |
26 | else \ | |
27 | false; \ | |
28 | fi; \ | |
29 | } | |
d9e6d90b WC |
30 | am__make_running_with_option = \ |
31 | case $${target_option-} in \ | |
32 | ?) ;; \ | |
33 | *) echo "am__make_running_with_option: internal error: invalid" \ | |
34 | "target option '$${target_option-}' specified" >&2; \ | |
35 | exit 1;; \ | |
36 | esac; \ | |
37 | has_opt=no; \ | |
38 | sane_makeflags=$$MAKEFLAGS; \ | |
39 | if $(am__is_gnu_make); then \ | |
40 | sane_makeflags=$$MFLAGS; \ | |
41 | else \ | |
fe3f0466 JS |
42 | case $$MAKEFLAGS in \ |
43 | *\\[\ \ ]*) \ | |
d9e6d90b WC |
44 | bs=\\; \ |
45 | sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | |
46 | | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ | |
47 | esac; \ | |
48 | fi; \ | |
49 | skip_next=no; \ | |
50 | strip_trailopt () \ | |
51 | { \ | |
52 | flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ | |
53 | }; \ | |
54 | for flg in $$sane_makeflags; do \ | |
55 | test $$skip_next = yes && { skip_next=no; continue; }; \ | |
56 | case $$flg in \ | |
57 | *=*|--*) continue;; \ | |
58 | -*I) strip_trailopt 'I'; skip_next=yes;; \ | |
59 | -*I?*) strip_trailopt 'I';; \ | |
60 | -*O) strip_trailopt 'O'; skip_next=yes;; \ | |
61 | -*O?*) strip_trailopt 'O';; \ | |
62 | -*l) strip_trailopt 'l'; skip_next=yes;; \ | |
63 | -*l?*) strip_trailopt 'l';; \ | |
64 | -[dEDm]) skip_next=yes;; \ | |
65 | -[JT]) skip_next=yes;; \ | |
66 | esac; \ | |
67 | case $$flg in \ | |
68 | *$$target_option*) has_opt=yes; break;; \ | |
fe3f0466 | 69 | esac; \ |
d9e6d90b WC |
70 | done; \ |
71 | test $$has_opt = yes | |
72 | am__make_dryrun = (target_option=n; $(am__make_running_with_option)) | |
73 | am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) | |
814bc89d | 74 | pkgdatadir = $(datadir)/@PACKAGE@ |
31f9baea | 75 | pkgincludedir = $(includedir)/@PACKAGE@ |
0710d850 DS |
76 | pkglibdir = $(libdir)/@PACKAGE@ |
77 | pkglibexecdir = $(libexecdir)/@PACKAGE@ | |
814bc89d | 78 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd |
814bc89d FCE |
79 | install_sh_DATA = $(install_sh) -c -m 644 |
80 | install_sh_PROGRAM = $(install_sh) -c | |
81 | install_sh_SCRIPT = $(install_sh) -c | |
82 | INSTALL_HEADER = $(INSTALL_DATA) | |
83 | transform = $(program_transform_name) | |
84 | NORMAL_INSTALL = : | |
85 | PRE_INSTALL = : | |
86 | POST_INSTALL = : | |
87 | NORMAL_UNINSTALL = : | |
88 | PRE_UNINSTALL = : | |
89 | POST_UNINSTALL = : | |
27aba29a | 90 | subdir = . |
814bc89d FCE |
91 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
92 | am__aclocal_m4_deps = $(top_srcdir)/configure.ac | |
93 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | |
94 | $(ACLOCAL_M4) | |
7012fdd5 FCE |
95 | DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \ |
96 | $(am__configure_deps) | |
27aba29a JS |
97 | am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ |
98 | configure.lineno config.status.lineno | |
814bc89d | 99 | mkinstalldirs = $(install_sh) -d |
814bc89d | 100 | CONFIG_CLEAN_FILES = |
0710d850 | 101 | CONFIG_CLEAN_VPATH_FILES = |
d9e6d90b WC |
102 | AM_V_P = $(am__v_P_@AM_V@) |
103 | am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) | |
104 | am__v_P_0 = false | |
105 | am__v_P_1 = : | |
106 | AM_V_GEN = $(am__v_GEN_@AM_V@) | |
107 | am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) | |
108 | am__v_GEN_0 = @echo " GEN " $@; | |
109 | am__v_GEN_1 = | |
110 | AM_V_at = $(am__v_at_@AM_V@) | |
111 | am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) | |
112 | am__v_at_0 = @ | |
113 | am__v_at_1 = | |
814bc89d | 114 | SOURCES = |
fe3f0466 JS |
115 | am__can_run_installinfo = \ |
116 | case $$AM_UPDATE_INFO_DIR in \ | |
117 | n|no|NO) false;; \ | |
118 | *) (install-info --version) >/dev/null 2>&1;; \ | |
119 | esac | |
d9e6d90b | 120 | am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) |
814bc89d | 121 | DEJATOOL = $(PACKAGE) |
814bc89d | 122 | ACLOCAL = @ACLOCAL@ |
814bc89d | 123 | AMTAR = @AMTAR@ |
d9e6d90b | 124 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ |
814bc89d FCE |
125 | AUTOCONF = @AUTOCONF@ |
126 | AUTOHEADER = @AUTOHEADER@ | |
127 | AUTOMAKE = @AUTOMAKE@ | |
128 | AWK = @AWK@ | |
814bc89d | 129 | CYGPATH_W = @CYGPATH_W@ |
814bc89d | 130 | DEFS = @DEFS@ |
814bc89d FCE |
131 | ECHO_C = @ECHO_C@ |
132 | ECHO_N = @ECHO_N@ | |
133 | ECHO_T = @ECHO_T@ | |
7fbd9d09 | 134 | INSTALL = @INSTALL@ |
814bc89d FCE |
135 | INSTALL_DATA = @INSTALL_DATA@ |
136 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | |
137 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | |
138 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | |
814bc89d FCE |
139 | LIBOBJS = @LIBOBJS@ |
140 | LIBS = @LIBS@ | |
814bc89d FCE |
141 | LTLIBOBJS = @LTLIBOBJS@ |
142 | MAINT = @MAINT@ | |
814bc89d | 143 | MAKEINFO = @MAKEINFO@ |
7fbd9d09 | 144 | MKDIR_P = @MKDIR_P@ |
814bc89d FCE |
145 | PACKAGE = @PACKAGE@ |
146 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | |
147 | PACKAGE_NAME = @PACKAGE_NAME@ | |
148 | PACKAGE_STRING = @PACKAGE_STRING@ | |
149 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | |
e12e958f | 150 | PACKAGE_URL = @PACKAGE_URL@ |
814bc89d FCE |
151 | PACKAGE_VERSION = @PACKAGE_VERSION@ |
152 | PATH_SEPARATOR = @PATH_SEPARATOR@ | |
814bc89d FCE |
153 | SET_MAKE = @SET_MAKE@ |
154 | SHELL = @SHELL@ | |
155 | STRIP = @STRIP@ | |
814bc89d | 156 | VERSION = @VERSION@ |
7fbd9d09 FCE |
157 | abs_builddir = @abs_builddir@ |
158 | abs_srcdir = @abs_srcdir@ | |
159 | abs_top_builddir = @abs_top_builddir@ | |
160 | abs_top_srcdir = @abs_top_srcdir@ | |
814bc89d | 161 | am__leading_dot = @am__leading_dot@ |
814bc89d FCE |
162 | am__tar = @am__tar@ |
163 | am__untar = @am__untar@ | |
164 | bindir = @bindir@ | |
165 | build_alias = @build_alias@ | |
7fbd9d09 | 166 | builddir = @builddir@ |
814bc89d | 167 | datadir = @datadir@ |
7fbd9d09 | 168 | datarootdir = @datarootdir@ |
27aba29a | 169 | dejazilla = @dejazilla@ |
7fbd9d09 FCE |
170 | docdir = @docdir@ |
171 | dvidir = @dvidir@ | |
2c279bc4 | 172 | enable_testapps = @enable_testapps@ |
814bc89d FCE |
173 | exec_prefix = @exec_prefix@ |
174 | host_alias = @host_alias@ | |
7fbd9d09 | 175 | htmldir = @htmldir@ |
814bc89d FCE |
176 | includedir = @includedir@ |
177 | infodir = @infodir@ | |
178 | install_sh = @install_sh@ | |
179 | libdir = @libdir@ | |
180 | libexecdir = @libexecdir@ | |
7fbd9d09 | 181 | localedir = @localedir@ |
814bc89d FCE |
182 | localstatedir = @localstatedir@ |
183 | mandir = @mandir@ | |
184 | mkdir_p = @mkdir_p@ | |
185 | oldincludedir = @oldincludedir@ | |
7fbd9d09 | 186 | pdfdir = @pdfdir@ |
814bc89d FCE |
187 | prefix = @prefix@ |
188 | program_transform_name = @program_transform_name@ | |
7fbd9d09 | 189 | psdir = @psdir@ |
814bc89d FCE |
190 | sbindir = @sbindir@ |
191 | sharedstatedir = @sharedstatedir@ | |
7fbd9d09 | 192 | srcdir = @srcdir@ |
814bc89d FCE |
193 | sysconfdir = @sysconfdir@ |
194 | target_alias = @target_alias@ | |
0710d850 | 195 | top_build_prefix = @top_build_prefix@ |
7fbd9d09 FCE |
196 | top_builddir = @top_builddir@ |
197 | top_srcdir = @top_srcdir@ | |
7012fdd5 | 198 | AUTOMAKE_OPTIONS = dejagnu no-dist subdir-objects |
50d0c992 | 199 | DEJAZILLA = @dejazilla@ |
2c279bc4 | 200 | TESTAPPS = @enable_testapps@ |
d5658775 | 201 | TOOL_OPTS = |
4040e9ea | 202 | |
8093ef39 MC |
203 | # TESTS exists for the user to pass on the command line to easily |
204 | # say "Only run these tests." With check or installcheck it's not necessary, but | |
205 | # with installcheck-parallel there's no other way to (easily) specify a subset | |
206 | # of tests. To specify all tests in a subdirectory, use TESTS=systemtap.subdir/*.exp. | |
207 | # E.g., make check TESTS="gdb.server/*.exp gdb.threads/*.exp". | |
208 | expanded_tests := $(patsubst $(srcdir)/%,%,$(wildcard $(addprefix $(srcdir)/,$(TESTS)))) | |
209 | ||
210 | # Following are all tests we want to run within the installcheck-parallel target. | |
211 | # Those are either specified via the TESTS env var, or all the available tests. | |
212 | all_tests := $(or $(expanded_tests),$(shell cd $(srcdir) && find systemtap.* -name '*.exp' -print)) | |
213 | ||
214 | # Tests that need to run serially. This namely applies to systemtap.server tests. | |
215 | # They start a new systemtap server and only expect one local server to run. | |
216 | all_serial_tests := $(shell cd $(srcdir) && find systemtap.server -name '*.exp' -print) | |
217 | serial_tests := $(filter $(all_tests),$(all_serial_tests)) | |
218 | ||
219 | # There are a few tests known to be slow. We run them right from the beginning | |
220 | # to try to lessen the overall time taken by the test suite -- if one of these | |
221 | # tests happens to be run late, it will cause the overall time to increase. | |
222 | all_slow_tests = systemtap.examples/check.exp systemtap.pass1-4/buildok.exp \ | |
223 | systemtap.base/listing_mode.exp systemtap.syscall/nd_syscall.exp \ | |
224 | systemtap.unprivileged/unprivileged_myproc.exp systemtap.syscall/syscall.exp \ | |
225 | systemtap.base/sdt_misc.exp systemtap.pass1-4/parseok.exp \ | |
226 | systemtap.base/listing_mode_sanity.exp systemtap.pass1-4/parse-semok.exp \ | |
227 | systemtap.pass1-4/semok.exp systemtap.unprivileged/unprivileged_probes.exp \ | |
228 | systemtap.pass1-4/buildok-interactive.exp \ | |
229 | systemtap.onthefly/uprobes_onthefly.exp \ | |
230 | systemtap.onthefly/kprobes_onthefly.exp systemtap.base/sdt.exp \ | |
231 | systemtap.onthefly/hrtimer_onthefly.exp \ | |
232 | systemtap.onthefly/tracepoint_onthefly.exp systemtap.exelib/exelib.exp \ | |
233 | systemtap.pass1-4/semko.exp systemtap.pass1-4/parseko.exp \ | |
234 | systemtap.base/rlimit.exp systemtap.base/tracepoints.exp \ | |
235 | systemtap.base/systemtap-service.exp systemtap.maps/map_hash.exp \ | |
236 | systemtap.base/stmt_rel.exp systemtap.base/library.exp | |
237 | ||
238 | slow_tests = $(filter $(all_tests),$(all_slow_tests)) | |
239 | regular_tests := $(filter-out $(serial_tests) $(slow_tests) ,$(all_tests)) | |
240 | REGULAR_TEST_TARGETS := $(addprefix installcheck/,$(slow_tests) $(regular_tests)) | |
241 | ||
4040e9ea | 242 | # $(srcdir)/These values point the test suite to the install tree, and |
5ba96b90 FCE |
243 | # are overridden by "make check" from full source/build tree |
244 | SYSTEMTAP_RUNTIME = $(DESTDIR)$(pkgdatadir)/runtime | |
245 | SYSTEMTAP_TAPSET = $(DESTDIR)$(pkgdatadir)/tapset | |
246 | LD_LIBRARY_PATH = $(DESTDIR)$(libdir)/systemtap | |
674427d3 | 247 | CRASH_LIBDIR = $(DESTDIR)$(libdir)/systemtap |
d5658775 | 248 | SYSTEMTAP_PATH = $(DESTDIR)$(bindir) |
818ba2bc | 249 | SYSTEMTAP_INCLUDES = $(DESTDIR)$(includedir) |
8093ef39 | 250 | RUNTESTDEFAULTFLAGS = --tool $$tool --tool_opts \'$(TOOL_OPTS)\' --srcdir $(shell readlink -f $(srcdir)) |
50d0c992 | 251 | EXPECT = expect |
6bd8b8dd | 252 | RUNTEST = env XDG_DATA_DIRS= SYSTEMTAP_SYNC=1 LANG=C SYSTEMTAP_TESTREMOTES=$(TESTREMOTES) SYSTEMTAP_TESTAPPS=$(TESTAPPS) SYSTEMTAP_RUNTIME=$(SYSTEMTAP_RUNTIME) SYSTEMTAP_TAPSET=$(SYSTEMTAP_TAPSET) LD_LIBRARY_PATH=$(LD_LIBRARY_PATH) CRASH_LIBDIR=$(CRASH_LIBDIR) PATH=$(SYSTEMTAP_PATH):$$PATH SYSTEMTAP_PATH=$(SYSTEMTAP_PATH) SYSTEMTAP_INCLUDES=$(SYSTEMTAP_INCLUDES) PKGLIBDIR=$(pkglibexecdir) $(srcdir)/execrc runtest |
814bc89d FCE |
253 | all: all-am |
254 | ||
255 | .SUFFIXES: | |
c66be968 | 256 | am--refresh: Makefile |
27aba29a | 257 | @: |
814bc89d FCE |
258 | $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) |
259 | @for dep in $?; do \ | |
260 | case '$(am__configure_deps)' in \ | |
261 | *$$dep*) \ | |
0710d850 DS |
262 | echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \ |
263 | $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \ | |
814bc89d FCE |
264 | && exit 0; \ |
265 | exit 1;; \ | |
266 | esac; \ | |
267 | done; \ | |
0710d850 DS |
268 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ |
269 | $(am__cd) $(top_srcdir) && \ | |
270 | $(AUTOMAKE) --foreign Makefile | |
814bc89d FCE |
271 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
272 | @case '$?' in \ | |
273 | *config.status*) \ | |
27aba29a JS |
274 | echo ' $(SHELL) ./config.status'; \ |
275 | $(SHELL) ./config.status;; \ | |
814bc89d | 276 | *) \ |
27aba29a JS |
277 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ |
278 | cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ | |
814bc89d FCE |
279 | esac; |
280 | ||
281 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) | |
27aba29a | 282 | $(SHELL) ./config.status --recheck |
814bc89d FCE |
283 | |
284 | $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) | |
0710d850 | 285 | $(am__cd) $(srcdir) && $(AUTOCONF) |
814bc89d | 286 | $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) |
0710d850 DS |
287 | $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) |
288 | $(am__aclocal_m4_deps): | |
d9e6d90b | 289 | tags TAGS: |
814bc89d | 290 | |
d9e6d90b | 291 | ctags CTAGS: |
814bc89d | 292 | |
8eef2738 LB |
293 | cscope cscopelist: |
294 | ||
814bc89d FCE |
295 | |
296 | check-DEJAGNU: site.exp | |
c66be968 | 297 | srcdir='$(srcdir)'; export srcdir; \ |
814bc89d | 298 | EXPECT=$(EXPECT); export EXPECT; \ |
d9e6d90b | 299 | if $(SHELL) -c "$(RUNTEST) --version" > /dev/null 2>&1; then \ |
7fbd9d09 | 300 | exit_status=0; l='$(DEJATOOL)'; for tool in $$l; do \ |
d9e6d90b | 301 | if $(RUNTEST) $(AM_RUNTESTFLAGS) $(RUNTESTDEFAULTFLAGS) $(RUNTESTFLAGS); \ |
7fbd9d09 | 302 | then :; else exit_status=1; fi; \ |
814bc89d | 303 | done; \ |
d9e6d90b | 304 | else echo "WARNING: could not find '$(RUNTEST)'" 1>&2; :;\ |
7fbd9d09 FCE |
305 | fi; \ |
306 | exit $$exit_status | |
c66be968 | 307 | site.exp: Makefile $(EXTRA_DEJAGNU_SITE_CONFIG) |
8eef2738 | 308 | @echo 'Making a new site.exp file ...' |
814bc89d FCE |
309 | @echo '## these variables are automatically generated by make ##' >site.tmp |
310 | @echo '# Do not edit here. If you wish to override these values' >>site.tmp | |
311 | @echo '# edit the last section' >>site.tmp | |
c66be968 | 312 | @echo 'set srcdir "$(srcdir)"' >>site.tmp |
814bc89d | 313 | @echo "set objdir `pwd`" >>site.tmp |
c66be968 JS |
314 | @list='$(EXTRA_DEJAGNU_SITE_CONFIG)'; for f in $$list; do \ |
315 | echo "## Begin content included from file $$f. Do not modify. ##" \ | |
316 | && cat `test -f "$$f" || echo '$(srcdir)/'`$$f \ | |
317 | && echo "## End content included from file $$f. ##" \ | |
318 | || exit 1; \ | |
319 | done >> site.tmp | |
320 | @echo "## End of auto-generated content; you can edit from here. ##" >> site.tmp | |
321 | @if test -f site.exp; then \ | |
322 | sed -e '1,/^## End of auto-generated content.*##/d' site.exp >> site.tmp; \ | |
323 | fi | |
814bc89d FCE |
324 | @-rm -f site.bak |
325 | @test ! -f site.exp || mv site.exp site.bak | |
326 | @mv site.tmp site.exp | |
327 | ||
328 | distclean-DEJAGNU: | |
329 | -rm -f site.exp site.bak | |
330 | -l='$(DEJATOOL)'; for tool in $$l; do \ | |
331 | rm -f $$tool.sum $$tool.log; \ | |
332 | done | |
814bc89d | 333 | check-am: all-am |
50d0c992 | 334 | $(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU check-local |
814bc89d FCE |
335 | check: check-am |
336 | all-am: Makefile all-local | |
337 | installdirs: | |
338 | install: install-am | |
339 | install-exec: install-exec-am | |
340 | install-data: install-data-am | |
341 | uninstall: uninstall-am | |
342 | ||
343 | install-am: all-am | |
344 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | |
814bc89d | 345 | install-strip: |
c66be968 JS |
346 | if test -z '$(STRIP)'; then \ |
347 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | |
348 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | |
349 | install; \ | |
350 | else \ | |
351 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | |
352 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | |
353 | "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ | |
354 | fi | |
814bc89d FCE |
355 | mostlyclean-generic: |
356 | ||
357 | clean-generic: | |
358 | ||
359 | distclean-generic: | |
360 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | |
0710d850 | 361 | -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) |
814bc89d FCE |
362 | |
363 | maintainer-clean-generic: | |
364 | @echo "This command is intended for maintainers to use" | |
365 | @echo "it deletes files that may require special tools to rebuild." | |
366 | clean: clean-am | |
367 | ||
368 | clean-am: clean-generic clean-local mostlyclean-am | |
369 | ||
370 | distclean: distclean-am | |
27aba29a | 371 | -rm -f $(am__CONFIG_DISTCLEAN_FILES) |
814bc89d FCE |
372 | -rm -f Makefile |
373 | distclean-am: clean-am distclean-DEJAGNU distclean-generic | |
374 | ||
375 | dvi: dvi-am | |
376 | ||
377 | dvi-am: | |
378 | ||
379 | html: html-am | |
380 | ||
0710d850 DS |
381 | html-am: |
382 | ||
814bc89d FCE |
383 | info: info-am |
384 | ||
385 | info-am: | |
386 | ||
387 | install-data-am: | |
388 | ||
7fbd9d09 FCE |
389 | install-dvi: install-dvi-am |
390 | ||
0710d850 DS |
391 | install-dvi-am: |
392 | ||
814bc89d FCE |
393 | install-exec-am: |
394 | ||
7fbd9d09 FCE |
395 | install-html: install-html-am |
396 | ||
0710d850 DS |
397 | install-html-am: |
398 | ||
814bc89d FCE |
399 | install-info: install-info-am |
400 | ||
0710d850 DS |
401 | install-info-am: |
402 | ||
814bc89d FCE |
403 | install-man: |
404 | ||
7fbd9d09 FCE |
405 | install-pdf: install-pdf-am |
406 | ||
0710d850 DS |
407 | install-pdf-am: |
408 | ||
7fbd9d09 FCE |
409 | install-ps: install-ps-am |
410 | ||
0710d850 DS |
411 | install-ps-am: |
412 | ||
50d0c992 | 413 | installcheck-am: |
814bc89d FCE |
414 | |
415 | maintainer-clean: maintainer-clean-am | |
27aba29a JS |
416 | -rm -f $(am__CONFIG_DISTCLEAN_FILES) |
417 | -rm -rf $(top_srcdir)/autom4te.cache | |
814bc89d FCE |
418 | -rm -f Makefile |
419 | maintainer-clean-am: distclean-am maintainer-clean-generic | |
420 | ||
421 | mostlyclean: mostlyclean-am | |
422 | ||
423 | mostlyclean-am: mostlyclean-generic | |
424 | ||
425 | pdf: pdf-am | |
426 | ||
427 | pdf-am: | |
428 | ||
429 | ps: ps-am | |
430 | ||
431 | ps-am: | |
432 | ||
7fbd9d09 FCE |
433 | uninstall-am: |
434 | ||
0710d850 | 435 | .MAKE: check-am install-am install-strip |
814bc89d | 436 | |
27aba29a | 437 | .PHONY: all all-am all-local am--refresh check check-DEJAGNU check-am \ |
d9e6d90b WC |
438 | check-local clean clean-generic clean-local cscopelist-am \ |
439 | ctags-am distclean distclean-DEJAGNU distclean-generic dvi \ | |
440 | dvi-am html html-am info info-am install install-am \ | |
441 | install-data install-data-am install-dvi install-dvi-am \ | |
442 | install-exec install-exec-am install-html install-html-am \ | |
443 | install-info install-info-am install-man install-pdf \ | |
444 | install-pdf-am install-ps install-ps-am install-strip \ | |
445 | installcheck installcheck-am installdirs maintainer-clean \ | |
446 | maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ | |
447 | pdf-am ps ps-am tags-am uninstall uninstall-am | |
814bc89d | 448 | |
7012fdd5 FCE |
449 | .PRECIOUS: Makefile |
450 | ||
814bc89d | 451 | |
814bc89d | 452 | all-local: |
5ba96b90 | 453 | @echo Run \"make check\" or \"make installcheck\". |
50d0c992 | 454 | @if test -n "$(DEJAZILLA)"; then echo Test results will be emailed to $(DEJAZILLA); fi |
814bc89d FCE |
455 | |
456 | clean-local: | |
f105e61a | 457 | -rm -f ./stap site.exp systemtap.sum systemtap.log |
2285f446 | 458 | -rm -rf .systemtap* .cache_test* 2>/dev/null |
26b3faf9 FCE |
459 | -rm -f ./stap_*.ko |
460 | -rm -f flightrec* | |
461 | -rm -f *.so | |
462 | -rm -f uprobe_* | |
8093ef39 | 463 | -rm -rf artifacts |
814bc89d | 464 | |
50d0c992 | 465 | # automake's dejagnu library already runs check-DEJAGNU before check-local |
d06394ea FCE |
466 | # That's why we need to add "execrc" to $(RUNTEST) - to ensure that this |
467 | # subtarget gets run even if runtest per se exits with a failure. | |
50d0c992 FCE |
468 | check-local: |
469 | if test -n "$(DEJAZILLA)"; then mail $(DEJAZILLA) < systemtap.sum; fi | |
470 | ||
471 | # but installcheck does not follow an implicit check-DEJAGNU, go figure | |
2285f446 | 472 | installcheck: site.exp |
2567a525 | 473 | -rmmod uprobes 2>/dev/null |
23361495 | 474 | -$(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU RUNTESTFLAGS="$(RUNTESTFLAGS) --tool_opts \'install $(TOOL_OPTS)\'" |
50d0c992 | 475 | if test -n "$(DEJAZILLA)"; then mail $(DEJAZILLA) < systemtap.sum; fi |
0710d850 | 476 | |
8093ef39 MC |
477 | # In the parallel mode, the dg-extract-results.sh generates common .sum and .log |
478 | # files for all the tests, plus separate logs per testcase are kept in the artifacts | |
479 | # directory. Serial tests (see below) log to artifacts/__serialtests. | |
480 | installcheck-parallel: site.exp | |
481 | -rmmod uprobes 2>/dev/null | |
482 | rm -rf artifacts | |
483 | mkdir -p artifacts/__serialtests | |
484 | MAKEFLAGS= runtest systemtap.base/environment_sanity.exp | |
485 | -$(MAKE) -k do-installcheck-parallel; \ | |
486 | result=$$?; \ | |
487 | $(SHELL) $(srcdir)/dg-extract-results.sh \ | |
488 | `find artifacts -name systemtap.sum -print` > systemtap.sum; \ | |
489 | $(SHELL) $(srcdir)/dg-extract-results.sh -L \ | |
490 | `find artifacts -name systemtap.log -print` > systemtap.log; \ | |
491 | exit $$result | |
492 | ||
493 | do-installcheck-parallel: installcheck-serial-tests $(REGULAR_TEST_TARGETS) | |
494 | @: | |
495 | ||
496 | installcheck-serial-tests: site.exp | |
497 | test -z $(serial_tests) || MAKEFLAGS= $(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU RUNTESTFLAGS="--outdir=artifacts/__serialtests $(serial_tests) $(RUNTESTFLAGS) --tool_opts \'install $(TOOL_OPTS)\'" STAP_PARALLEL=yes | |
498 | ||
499 | installcheck/%.exp: site.exp | |
500 | mkdir -p artifacts/$* | |
501 | -MAKEFLAGS= $(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU RUNTESTFLAGS="--outdir=artifacts/$* $*.exp $(RUNTESTFLAGS) --tool_opts \'install $(TOOL_OPTS)\'" STAP_PARALLEL=yes | |
502 | ||
814bc89d FCE |
503 | # Tell versions [3.59,3.63) of GNU make to not export all variables. |
504 | # Otherwise a system limit (for SysV at least) may be exceeded. | |
505 | .NOEXPORT: |