*** empty log message ***
[coreutils.git] / tests / Makefile.in
blobc77d10cc43942d0d484d7100d1e78ffca4d0b3af
1 # Makefile.in generated by automake 1.8.3 from Makefile.am.
2 # @configure_input@
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004 Free Software Foundation, Inc.
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.
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.
15 @SET_MAKE@
16 srcdir = @srcdir@
17 top_srcdir = @top_srcdir@
18 VPATH = @srcdir@
19 pkgdatadir = $(datadir)/@PACKAGE@
20 pkglibdir = $(libdir)/@PACKAGE@
21 pkgincludedir = $(includedir)/@PACKAGE@
22 top_builddir = ..
23 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
24 INSTALL = @INSTALL@
25 install_sh_DATA = $(install_sh) -c -m 644
26 install_sh_PROGRAM = $(install_sh) -c
27 install_sh_SCRIPT = $(install_sh) -c
28 INSTALL_HEADER = $(INSTALL_DATA)
29 transform = $(program_transform_name)
30 NORMAL_INSTALL = :
31 PRE_INSTALL = :
32 POST_INSTALL = :
33 NORMAL_UNINSTALL = :
34 PRE_UNINSTALL = :
35 POST_UNINSTALL = :
36 host_triplet = @host@
37 subdir = tests
38 DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in
39 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
40 am__aclocal_m4_deps = $(top_srcdir)/m4/acl.m4 $(top_srcdir)/m4/afs.m4 \
41 $(top_srcdir)/m4/alloca.m4 $(top_srcdir)/m4/assert.m4 \
42 $(top_srcdir)/m4/atexit.m4 $(top_srcdir)/m4/backupfile.m4 \
43 $(top_srcdir)/m4/bison.m4 $(top_srcdir)/m4/boottime.m4 \
44 $(top_srcdir)/m4/canon-host.m4 \
45 $(top_srcdir)/m4/canonicalize.m4 \
46 $(top_srcdir)/m4/check-decl.m4 $(top_srcdir)/m4/chown.m4 \
47 $(top_srcdir)/m4/clock_time.m4 $(top_srcdir)/m4/closeout.m4 \
48 $(top_srcdir)/m4/codeset.m4 $(top_srcdir)/m4/d-ino.m4 \
49 $(top_srcdir)/m4/d-type.m4 $(top_srcdir)/m4/dirfd.m4 \
50 $(top_srcdir)/m4/dirname.m4 $(top_srcdir)/m4/dos.m4 \
51 $(top_srcdir)/m4/dup2.m4 $(top_srcdir)/m4/error.m4 \
52 $(top_srcdir)/m4/euidaccess.m4 $(top_srcdir)/m4/exclude.m4 \
53 $(top_srcdir)/m4/exitfail.m4 $(top_srcdir)/m4/extensions.m4 \
54 $(top_srcdir)/m4/file-type.m4 $(top_srcdir)/m4/fileblocks.m4 \
55 $(top_srcdir)/m4/filemode.m4 $(top_srcdir)/m4/fnmatch.m4 \
56 $(top_srcdir)/m4/fpending.m4 $(top_srcdir)/m4/free.m4 \
57 $(top_srcdir)/m4/fstypename.m4 $(top_srcdir)/m4/fsusage.m4 \
58 $(top_srcdir)/m4/ftruncate.m4 \
59 $(top_srcdir)/m4/getcwd-path-max.m4 $(top_srcdir)/m4/getcwd.m4 \
60 $(top_srcdir)/m4/getdate.m4 $(top_srcdir)/m4/getgroups.m4 \
61 $(top_srcdir)/m4/gethostname.m4 $(top_srcdir)/m4/getline.m4 \
62 $(top_srcdir)/m4/getndelim2.m4 $(top_srcdir)/m4/getopt.m4 \
63 $(top_srcdir)/m4/getpagesize.m4 $(top_srcdir)/m4/getpass.m4 \
64 $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/gettimeofday.m4 \
65 $(top_srcdir)/m4/getugroups.m4 \
66 $(top_srcdir)/m4/getusershell.m4 $(top_srcdir)/m4/glibc21.m4 \
67 $(top_srcdir)/m4/group-member.m4 \
68 $(top_srcdir)/m4/hard-locale.m4 $(top_srcdir)/m4/hash.m4 \
69 $(top_srcdir)/m4/host-os.m4 $(top_srcdir)/m4/human.m4 \
70 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/idcache.m4 \
71 $(top_srcdir)/m4/intmax_t.m4 $(top_srcdir)/m4/inttypes-pri.m4 \
72 $(top_srcdir)/m4/inttypes.m4 $(top_srcdir)/m4/inttypes_h.m4 \
73 $(top_srcdir)/m4/jm-macros.m4 $(top_srcdir)/m4/jm-winsz1.m4 \
74 $(top_srcdir)/m4/jm-winsz2.m4 $(top_srcdir)/m4/lchown.m4 \
75 $(top_srcdir)/m4/lib-check.m4 $(top_srcdir)/m4/lib-ld.m4 \
76 $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \
77 $(top_srcdir)/m4/link-follow.m4 \
78 $(top_srcdir)/m4/long-options.m4 \
79 $(top_srcdir)/m4/longdouble.m4 $(top_srcdir)/m4/longlong.m4 \
80 $(top_srcdir)/m4/ls-mntd-fs.m4 $(top_srcdir)/m4/lstat.m4 \
81 $(top_srcdir)/m4/makepath.m4 $(top_srcdir)/m4/malloc.m4 \
82 $(top_srcdir)/m4/mbrtowc.m4 $(top_srcdir)/m4/mbswidth.m4 \
83 $(top_srcdir)/m4/md5.m4 $(top_srcdir)/m4/memchr.m4 \
84 $(top_srcdir)/m4/memcmp.m4 $(top_srcdir)/m4/memcoll.m4 \
85 $(top_srcdir)/m4/memcpy.m4 $(top_srcdir)/m4/memmove.m4 \
86 $(top_srcdir)/m4/memrchr.m4 $(top_srcdir)/m4/memset.m4 \
87 $(top_srcdir)/m4/mkdir-slash.m4 $(top_srcdir)/m4/mkstemp.m4 \
88 $(top_srcdir)/m4/mktime.m4 $(top_srcdir)/m4/modechange.m4 \
89 $(top_srcdir)/m4/mountlist.m4 $(top_srcdir)/m4/nanosleep.m4 \
90 $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/obstack.m4 \
91 $(top_srcdir)/m4/onceonly.m4 $(top_srcdir)/m4/path-concat.m4 \
92 $(top_srcdir)/m4/pathmax.m4 $(top_srcdir)/m4/perl.m4 \
93 $(top_srcdir)/m4/physmem.m4 $(top_srcdir)/m4/po.m4 \
94 $(top_srcdir)/m4/posixtm.m4 $(top_srcdir)/m4/posixver.m4 \
95 $(top_srcdir)/m4/prereq.m4 $(top_srcdir)/m4/progtest.m4 \
96 $(top_srcdir)/m4/putenv.m4 $(top_srcdir)/m4/quote.m4 \
97 $(top_srcdir)/m4/quotearg.m4 $(top_srcdir)/m4/readdir.m4 \
98 $(top_srcdir)/m4/readlink.m4 $(top_srcdir)/m4/readtokens.m4 \
99 $(top_srcdir)/m4/readutmp.m4 $(top_srcdir)/m4/realloc.m4 \
100 $(top_srcdir)/m4/regex.m4 $(top_srcdir)/m4/rename.m4 \
101 $(top_srcdir)/m4/restrict.m4 $(top_srcdir)/m4/rmdir-errno.m4 \
102 $(top_srcdir)/m4/rmdir.m4 $(top_srcdir)/m4/rpmatch.m4 \
103 $(top_srcdir)/m4/safe-read.m4 $(top_srcdir)/m4/safe-write.m4 \
104 $(top_srcdir)/m4/same.m4 $(top_srcdir)/m4/save-cwd.m4 \
105 $(top_srcdir)/m4/savedir.m4 $(top_srcdir)/m4/settime.m4 \
106 $(top_srcdir)/m4/sha.m4 $(top_srcdir)/m4/sig2str.m4 \
107 $(top_srcdir)/m4/signed.m4 $(top_srcdir)/m4/ssize_t.m4 \
108 $(top_srcdir)/m4/st_dm_mode.m4 $(top_srcdir)/m4/st_mtim.m4 \
109 $(top_srcdir)/m4/stat.m4 $(top_srcdir)/m4/stdbool.m4 \
110 $(top_srcdir)/m4/stdint_h.m4 $(top_srcdir)/m4/stdio-safer.m4 \
111 $(top_srcdir)/m4/stpcpy.m4 $(top_srcdir)/m4/strcase.m4 \
112 $(top_srcdir)/m4/strcspn.m4 $(top_srcdir)/m4/strdup.m4 \
113 $(top_srcdir)/m4/strftime.m4 $(top_srcdir)/m4/strndup.m4 \
114 $(top_srcdir)/m4/strnlen.m4 $(top_srcdir)/m4/strpbrk.m4 \
115 $(top_srcdir)/m4/strstr.m4 $(top_srcdir)/m4/strtod.m4 \
116 $(top_srcdir)/m4/strtoimax.m4 $(top_srcdir)/m4/strtol.m4 \
117 $(top_srcdir)/m4/strtoll.m4 $(top_srcdir)/m4/strtoul.m4 \
118 $(top_srcdir)/m4/strtoull.m4 $(top_srcdir)/m4/strtoumax.m4 \
119 $(top_srcdir)/m4/strverscmp.m4 $(top_srcdir)/m4/timespec.m4 \
120 $(top_srcdir)/m4/tm_gmtoff.m4 $(top_srcdir)/m4/tzset.m4 \
121 $(top_srcdir)/m4/uintmax_t.m4 $(top_srcdir)/m4/ulonglong.m4 \
122 $(top_srcdir)/m4/unicodeio.m4 $(top_srcdir)/m4/unistd-safer.m4 \
123 $(top_srcdir)/m4/unlink-busy.m4 \
124 $(top_srcdir)/m4/unlocked-io.m4 $(top_srcdir)/m4/uptime.m4 \
125 $(top_srcdir)/m4/userspec.m4 $(top_srcdir)/m4/utimbuf.m4 \
126 $(top_srcdir)/m4/utime.m4 $(top_srcdir)/m4/utimens.m4 \
127 $(top_srcdir)/m4/utimes-null.m4 $(top_srcdir)/m4/utimes.m4 \
128 $(top_srcdir)/m4/vasnprintf.m4 $(top_srcdir)/m4/vasprintf.m4 \
129 $(top_srcdir)/m4/wchar_t.m4 $(top_srcdir)/m4/wint_t.m4 \
130 $(top_srcdir)/m4/xalloc.m4 $(top_srcdir)/m4/xgetcwd.m4 \
131 $(top_srcdir)/m4/xreadlink.m4 $(top_srcdir)/m4/xstrtod.m4 \
132 $(top_srcdir)/m4/xstrtoimax.m4 $(top_srcdir)/m4/xstrtol.m4 \
133 $(top_srcdir)/m4/xstrtoumax.m4 $(top_srcdir)/m4/yesno.m4 \
134 $(top_srcdir)/configure.ac
135 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
136 $(ACLOCAL_M4)
137 mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
138 CONFIG_HEADER = $(top_builddir)/config.h
139 CONFIG_CLEAN_FILES =
140 SOURCES =
141 DIST_SOURCES =
142 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
143 html-recursive info-recursive install-data-recursive \
144 install-exec-recursive install-info-recursive \
145 install-recursive installcheck-recursive installdirs-recursive \
146 pdf-recursive ps-recursive uninstall-info-recursive \
147 uninstall-recursive
148 ETAGS = etags
149 CTAGS = ctags
150 DIST_SUBDIRS = $(SUBDIRS)
151 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
152 ACLOCAL = @ACLOCAL@
153 ALLOCA = @ALLOCA@
154 ALLOCA_H = @ALLOCA_H@
155 AMDEP_FALSE = @AMDEP_FALSE@
156 AMDEP_TRUE = @AMDEP_TRUE@
157 AMTAR = @AMTAR@
158 AUTOCONF = @AUTOCONF@
159 AUTOHEADER = @AUTOHEADER@
160 AUTOMAKE = @AUTOMAKE@
161 AWK = @AWK@
162 CC = @CC@
163 CCDEPMODE = @CCDEPMODE@
164 CFLAGS = @CFLAGS@
165 CPP = @CPP@
166 CPPFLAGS = @CPPFLAGS@
167 CYGPATH_W = @CYGPATH_W@
168 DEFAULT_POSIX2_VERSION = @DEFAULT_POSIX2_VERSION@
169 DEFS = @DEFS@
170 DEPDIR = @DEPDIR@
171 DF_PROG = @DF_PROG@
172 ECHO_C = @ECHO_C@
173 ECHO_N = @ECHO_N@
174 ECHO_T = @ECHO_T@
175 EGREP = @EGREP@
176 EXEEXT = @EXEEXT@
177 FESETROUND_LIBM = @FESETROUND_LIBM@
178 FNMATCH_H = @FNMATCH_H@
179 GETLOADAVG_LIBS = @GETLOADAVG_LIBS@
180 GLIBC21 = @GLIBC21@
181 GMSGFMT = @GMSGFMT@
182 GNU_PACKAGE = @GNU_PACKAGE@
183 HAVE__BOOL = @HAVE__BOOL@
184 HELP2MAN = @HELP2MAN@
185 INSTALL_DATA = @INSTALL_DATA@
186 INSTALL_PROGRAM = @INSTALL_PROGRAM@
187 INSTALL_SCRIPT = @INSTALL_SCRIPT@
188 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
189 INTLLIBS = @INTLLIBS@
190 KMEM_GROUP = @KMEM_GROUP@
191 LDFLAGS = @LDFLAGS@
192 LIBICONV = @LIBICONV@
193 LIBINTL = @LIBINTL@
194 LIBOBJS = @LIBOBJS@
195 LIBS = @LIBS@
196 LIB_CLOCK_GETTIME = @LIB_CLOCK_GETTIME@
197 LIB_CRYPT = @LIB_CRYPT@
198 LIB_NANOSLEEP = @LIB_NANOSLEEP@
199 LN_S = @LN_S@
200 LTLIBICONV = @LTLIBICONV@
201 LTLIBINTL = @LTLIBINTL@
202 LTLIBOBJS = @LTLIBOBJS@
203 MAKEINFO = @MAKEINFO@
204 MAN = @MAN@
205 MKINSTALLDIRS = @MKINSTALLDIRS@
206 MSGFMT = @MSGFMT@
207 MSGMERGE = @MSGMERGE@
208 NEED_SETGID = @NEED_SETGID@
209 OBJEXT = @OBJEXT@
210 OPTIONAL_BIN_PROGS = @OPTIONAL_BIN_PROGS@
211 PACKAGE = @PACKAGE@
212 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
213 PACKAGE_NAME = @PACKAGE_NAME@
214 PACKAGE_STRING = @PACKAGE_STRING@
215 PACKAGE_TARNAME = @PACKAGE_TARNAME@
216 PACKAGE_VERSION = @PACKAGE_VERSION@
217 PATH_SEPARATOR = @PATH_SEPARATOR@
218 PERL = @PERL@
219 POSUB = @POSUB@
220 POW_LIB = @POW_LIB@
221 RANLIB = @RANLIB@
222 SEQ_LIBM = @SEQ_LIBM@
223 SET_MAKE = @SET_MAKE@
224 SHELL = @SHELL@
225 SQRT_LIBM = @SQRT_LIBM@
226 STDBOOL_H = @STDBOOL_H@
227 STRIP = @STRIP@
228 U = @U@
229 USE_NLS = @USE_NLS@
230 VERSION = @VERSION@
231 XGETTEXT = @XGETTEXT@
232 YACC = @YACC@
233 ac_ct_CC = @ac_ct_CC@
234 ac_ct_RANLIB = @ac_ct_RANLIB@
235 ac_ct_STRIP = @ac_ct_STRIP@
236 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
237 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
238 am__include = @am__include@
239 am__leading_dot = @am__leading_dot@
240 am__quote = @am__quote@
241 bindir = @bindir@
242 build = @build@
243 build_alias = @build_alias@
244 build_cpu = @build_cpu@
245 build_os = @build_os@
246 build_vendor = @build_vendor@
247 datadir = @datadir@
248 exec_prefix = @exec_prefix@
249 host = @host@
250 host_alias = @host_alias@
251 host_cpu = @host_cpu@
252 host_os = @host_os@
253 host_vendor = @host_vendor@
254 includedir = @includedir@
255 infodir = @infodir@
256 install_sh = @install_sh@
257 libdir = @libdir@
258 libexecdir = @libexecdir@
259 localstatedir = @localstatedir@
260 mandir = @mandir@
261 mkdir_p = @mkdir_p@
262 oldincludedir = @oldincludedir@
263 prefix = @prefix@
264 program_transform_name = @program_transform_name@
265 sbindir = @sbindir@
266 sharedstatedir = @sharedstatedir@
267 sysconfdir = @sysconfdir@
268 target_alias = @target_alias@
270 # Sort in traditional ASCII order, regardless of the current locale;
271 # otherwise we may get into trouble with distinct strings that the
272 # current locale considers to be equal.
273 ASSORT = LC_ALL=C sort
274 all_programs = \
275 echo 'spy:;@echo $$(all_programs)' \
276 | MAKEFLAGS= $(MAKE) -s -C ../src -f Makefile -f - spy \
277 | ../src/tr -s ' ' '\n' | $(ASSORT) -u
279 TESTS = help-version
280 TESTS_ENVIRONMENT = \
281 all_programs="`$(all_programs)`" \
282 PACKAGE_BUGREPORT=$(PACKAGE_BUGREPORT) \
283 PATH="`pwd`/../src$(PATH_SEPARATOR)$$PATH"
285 EXTRA_DIST = \
286 $(TESTS) .env-warn Fetish.pm Makefile.am.in README envvar-check \
287 expensive group-names input-tty lang-default mk-script priv-check \
288 rwx-to-mode sample-test setgid-check
290 SUBDIRS = \
291 basename chgrp chmod chown cp cut date dd dircolors du expr factor \
292 fmt head install join ln ls ls-2 md5sum misc mkdir mv od pr rm rmdir \
293 seq sha1sum shred sort stty sum tac tail tail-2 test touch tr tsort \
294 unexpand uniq wc
296 all: all-recursive
298 .SUFFIXES:
299 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
300 @for dep in $?; do \
301 case '$(am__configure_deps)' in \
302 *$$dep*) \
303 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
304 && exit 0; \
305 exit 1;; \
306 esac; \
307 done; \
308 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnits tests/Makefile'; \
309 cd $(top_srcdir) && \
310 $(AUTOMAKE) --gnits tests/Makefile
311 .PRECIOUS: Makefile
312 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
313 @case '$?' in \
314 *config.status*) \
315 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
316 *) \
317 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
318 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
319 esac;
321 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
322 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
324 $(top_srcdir)/configure: $(am__configure_deps)
325 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
326 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
327 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
328 uninstall-info-am:
330 # This directory's subdirectories are mostly independent; you can cd
331 # into them and run `make' without going through this Makefile.
332 # To change the values of `make' variables: instead of editing Makefiles,
333 # (1) if the variable is set in `config.status', edit `config.status'
334 # (which will cause the Makefiles to be regenerated when you run `make');
335 # (2) otherwise, pass the desired values on the `make' command line.
336 $(RECURSIVE_TARGETS):
337 @set fnord $$MAKEFLAGS; amf=$$2; \
338 dot_seen=no; \
339 target=`echo $@ | sed s/-recursive//`; \
340 list='$(SUBDIRS)'; for subdir in $$list; do \
341 echo "Making $$target in $$subdir"; \
342 if test "$$subdir" = "."; then \
343 dot_seen=yes; \
344 local_target="$$target-am"; \
345 else \
346 local_target="$$target"; \
347 fi; \
348 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
349 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
350 done; \
351 if test "$$dot_seen" = "no"; then \
352 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
353 fi; test -z "$$fail"
355 mostlyclean-recursive clean-recursive distclean-recursive \
356 maintainer-clean-recursive:
357 @set fnord $$MAKEFLAGS; amf=$$2; \
358 dot_seen=no; \
359 case "$@" in \
360 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
361 *) list='$(SUBDIRS)' ;; \
362 esac; \
363 rev=''; for subdir in $$list; do \
364 if test "$$subdir" = "."; then :; else \
365 rev="$$subdir $$rev"; \
366 fi; \
367 done; \
368 rev="$$rev ."; \
369 target=`echo $@ | sed s/-recursive//`; \
370 for subdir in $$rev; do \
371 echo "Making $$target in $$subdir"; \
372 if test "$$subdir" = "."; then \
373 local_target="$$target-am"; \
374 else \
375 local_target="$$target"; \
376 fi; \
377 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
378 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
379 done && test -z "$$fail"
380 tags-recursive:
381 list='$(SUBDIRS)'; for subdir in $$list; do \
382 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
383 done
384 ctags-recursive:
385 list='$(SUBDIRS)'; for subdir in $$list; do \
386 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
387 done
389 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
390 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
391 unique=`for i in $$list; do \
392 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
393 done | \
394 $(AWK) ' { files[$$0] = 1; } \
395 END { for (i in files) print i; }'`; \
396 mkid -fID $$unique
397 tags: TAGS
399 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
400 $(TAGS_FILES) $(LISP)
401 tags=; \
402 here=`pwd`; \
403 if (etags --etags-include --version) >/dev/null 2>&1; then \
404 include_option=--etags-include; \
405 else \
406 include_option=--include; \
407 fi; \
408 list='$(SUBDIRS)'; for subdir in $$list; do \
409 if test "$$subdir" = .; then :; else \
410 test -f $$subdir/TAGS && \
411 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
412 fi; \
413 done; \
414 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
415 unique=`for i in $$list; do \
416 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
417 done | \
418 $(AWK) ' { files[$$0] = 1; } \
419 END { for (i in files) print i; }'`; \
420 test -z "$(ETAGS_ARGS)$$tags$$unique" \
421 || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
422 $$tags $$unique
423 ctags: CTAGS
424 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
425 $(TAGS_FILES) $(LISP)
426 tags=; \
427 here=`pwd`; \
428 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
429 unique=`for i in $$list; do \
430 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
431 done | \
432 $(AWK) ' { files[$$0] = 1; } \
433 END { for (i in files) print i; }'`; \
434 test -z "$(CTAGS_ARGS)$$tags$$unique" \
435 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
436 $$tags $$unique
438 GTAGS:
439 here=`$(am__cd) $(top_builddir) && pwd` \
440 && cd $(top_srcdir) \
441 && gtags -i $(GTAGS_ARGS) $$here
443 distclean-tags:
444 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
446 check-TESTS: $(TESTS)
447 @failed=0; all=0; xfail=0; xpass=0; skip=0; \
448 srcdir=$(srcdir); export srcdir; \
449 list='$(TESTS)'; \
450 if test -n "$$list"; then \
451 for tst in $$list; do \
452 if test -f ./$$tst; then dir=./; \
453 elif test -f $$tst; then dir=; \
454 else dir="$(srcdir)/"; fi; \
455 if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
456 all=`expr $$all + 1`; \
457 case " $(XFAIL_TESTS) " in \
458 *" $$tst "*) \
459 xpass=`expr $$xpass + 1`; \
460 failed=`expr $$failed + 1`; \
461 echo "XPASS: $$tst"; \
462 ;; \
463 *) \
464 echo "PASS: $$tst"; \
465 ;; \
466 esac; \
467 elif test $$? -ne 77; then \
468 all=`expr $$all + 1`; \
469 case " $(XFAIL_TESTS) " in \
470 *" $$tst "*) \
471 xfail=`expr $$xfail + 1`; \
472 echo "XFAIL: $$tst"; \
473 ;; \
474 *) \
475 failed=`expr $$failed + 1`; \
476 echo "FAIL: $$tst"; \
477 ;; \
478 esac; \
479 else \
480 skip=`expr $$skip + 1`; \
481 echo "SKIP: $$tst"; \
482 fi; \
483 done; \
484 if test "$$failed" -eq 0; then \
485 if test "$$xfail" -eq 0; then \
486 banner="All $$all tests passed"; \
487 else \
488 banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
489 fi; \
490 else \
491 if test "$$xpass" -eq 0; then \
492 banner="$$failed of $$all tests failed"; \
493 else \
494 banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
495 fi; \
496 fi; \
497 dashes="$$banner"; \
498 skipped=""; \
499 if test "$$skip" -ne 0; then \
500 skipped="($$skip tests were not run)"; \
501 test `echo "$$skipped" | wc -c` -gt `echo "$$banner" | wc -c` && \
502 dashes="$$skipped"; \
503 fi; \
504 report=""; \
505 if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
506 report="Please report to $(PACKAGE_BUGREPORT)"; \
507 test `echo "$$report" | wc -c` -gt `echo "$$banner" | wc -c` && \
508 dashes="$$report"; \
509 fi; \
510 dashes=`echo "$$dashes" | sed s/./=/g`; \
511 echo "$$dashes"; \
512 echo "$$banner"; \
513 test -n "$$skipped" && echo "$$skipped"; \
514 test -n "$$report" && echo "$$report"; \
515 echo "$$dashes"; \
516 test "$$failed" -eq 0; \
517 else :; fi
519 distdir: $(DISTFILES)
520 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
521 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
522 list='$(DISTFILES)'; for file in $$list; do \
523 case $$file in \
524 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
525 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
526 esac; \
527 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
528 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
529 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
530 dir="/$$dir"; \
531 $(mkdir_p) "$(distdir)$$dir"; \
532 else \
533 dir=''; \
534 fi; \
535 if test -d $$d/$$file; then \
536 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
537 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
538 fi; \
539 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
540 else \
541 test -f $(distdir)/$$file \
542 || cp -p $$d/$$file $(distdir)/$$file \
543 || exit 1; \
544 fi; \
545 done
546 list='$(SUBDIRS)'; for subdir in $$list; do \
547 if test "$$subdir" = .; then :; else \
548 test -d "$(distdir)/$$subdir" \
549 || mkdir "$(distdir)/$$subdir" \
550 || exit 1; \
551 (cd $$subdir && \
552 $(MAKE) $(AM_MAKEFLAGS) \
553 top_distdir="../$(top_distdir)" \
554 distdir="../$(distdir)/$$subdir" \
555 distdir) \
556 || exit 1; \
557 fi; \
558 done
559 check-am: all-am
560 $(MAKE) $(AM_MAKEFLAGS) check-TESTS
561 check: check-recursive
562 all-am: Makefile
563 installdirs: installdirs-recursive
564 installdirs-am:
565 install: install-recursive
566 install-exec: install-exec-recursive
567 install-data: install-data-recursive
568 uninstall: uninstall-recursive
570 install-am: all-am
571 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
573 installcheck: installcheck-recursive
574 install-strip:
575 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
576 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
577 `test -z '$(STRIP)' || \
578 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
579 mostlyclean-generic:
581 clean-generic:
583 distclean-generic:
584 -rm -f $(CONFIG_CLEAN_FILES)
586 maintainer-clean-generic:
587 @echo "This command is intended for maintainers to use"
588 @echo "it deletes files that may require special tools to rebuild."
589 clean: clean-recursive
591 clean-am: clean-generic mostlyclean-am
593 distclean: distclean-recursive
594 -rm -f Makefile
595 distclean-am: clean-am distclean-generic distclean-tags
597 dvi: dvi-recursive
599 dvi-am:
601 html: html-recursive
603 info: info-recursive
605 info-am:
607 install-data-am:
609 install-exec-am:
611 install-info: install-info-recursive
613 install-man:
615 installcheck-am:
617 maintainer-clean: maintainer-clean-recursive
618 -rm -f Makefile
619 maintainer-clean-am: distclean-am maintainer-clean-generic
621 mostlyclean: mostlyclean-recursive
623 mostlyclean-am: mostlyclean-generic
625 pdf: pdf-recursive
627 pdf-am:
629 ps: ps-recursive
631 ps-am:
633 uninstall-am: uninstall-info-am
635 uninstall-info: uninstall-info-recursive
637 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-TESTS \
638 check-am clean clean-generic clean-recursive ctags \
639 ctags-recursive distclean distclean-generic \
640 distclean-recursive distclean-tags distdir dvi dvi-am html \
641 html-am info info-am install install-am install-data \
642 install-data-am install-exec install-exec-am install-info \
643 install-info-am install-man install-strip installcheck \
644 installcheck-am installdirs installdirs-am maintainer-clean \
645 maintainer-clean-generic maintainer-clean-recursive \
646 mostlyclean mostlyclean-generic mostlyclean-recursive pdf \
647 pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \
648 uninstall-info-am
651 check-root:
652 cd chown && $(MAKE) check TESTS=basic
653 cd cp && $(MAKE) check TESTS=special-bits
654 cd mv && $(MAKE) check TESTS=mv-special-1
655 cd rm && $(MAKE) check TESTS=fail-2eperm
657 check-recursive: evar-check root-hint
659 # Warn when `make check' is run with POSIXLY_CORRECT or CDPATH set.
660 .PHONY: evar-check
661 evar-check:
662 ../src/printenv POSIXLY_CORRECT >/dev/null \
663 && sed s/%%/POSIXLY_CORRECT/ $(srcdir)/.env-warn || :
664 test "$${CDPATH+set}" = set \
665 && sed s/%%/CDPATH/ $(srcdir)/.env-warn || :
667 # Advertise `check-root' target.
668 root-hint:
669 @echo '***********************************************************'
670 @echo "NOTICE: Some tests may be run only as root."
671 @echo " Do \`make check-root' as \`root' to run these tests."
672 @echo '***********************************************************'
673 # Tell versions [3.59,3.63) of GNU make to not export all variables.
674 # Otherwise a system limit (for SysV at least) may be exceeded.
675 .NOEXPORT: