Remove declaration of statfs.
[coreutils.git] / tests / Makefile.in
blob916c8dc5dfbcd4622bd1cd4ca37a5b0e5bf3bafe
1 # Makefile.in generated by automake 1.7.2 from Makefile.am.
2 # @configure_input@
4 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
5 # 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@
17 srcdir = @srcdir@
18 top_srcdir = @top_srcdir@
19 VPATH = @srcdir@
20 pkgdatadir = $(datadir)/@PACKAGE@
21 pkglibdir = $(libdir)/@PACKAGE@
22 pkgincludedir = $(includedir)/@PACKAGE@
23 top_builddir = ..
25 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
26 INSTALL = @INSTALL@
27 install_sh_DATA = $(install_sh) -c -m 644
28 install_sh_PROGRAM = $(install_sh) -c
29 install_sh_SCRIPT = $(install_sh) -c
30 INSTALL_HEADER = $(INSTALL_DATA)
31 transform = $(program_transform_name)
32 NORMAL_INSTALL = :
33 PRE_INSTALL = :
34 POST_INSTALL = :
35 NORMAL_UNINSTALL = :
36 PRE_UNINSTALL = :
37 POST_UNINSTALL = :
38 host_triplet = @host@
39 ACLOCAL = @ACLOCAL@
40 ALLOCA = @ALLOCA@
41 AMDEP_FALSE = @AMDEP_FALSE@
42 AMDEP_TRUE = @AMDEP_TRUE@
43 AMTAR = @AMTAR@
44 AUTOCONF = @AUTOCONF@
45 AUTOHEADER = @AUTOHEADER@
46 AUTOMAKE = @AUTOMAKE@
47 AWK = @AWK@
48 CC = @CC@
49 CCDEPMODE = @CCDEPMODE@
50 CFLAGS = @CFLAGS@
51 CPP = @CPP@
52 CPPFLAGS = @CPPFLAGS@
53 CYGPATH_W = @CYGPATH_W@
54 DEFS = @DEFS@
55 DEPDIR = @DEPDIR@
56 DF_PROG = @DF_PROG@
57 ECHO_C = @ECHO_C@
58 ECHO_N = @ECHO_N@
59 ECHO_T = @ECHO_T@
60 EGREP = @EGREP@
61 EXEEXT = @EXEEXT@
62 FESETROUND_LIBM = @FESETROUND_LIBM@
63 GETLOADAVG_LIBS = @GETLOADAVG_LIBS@
64 GLIBC21 = @GLIBC21@
65 GMSGFMT = @GMSGFMT@
66 GNU_PACKAGE = @GNU_PACKAGE@
67 HELP2MAN = @HELP2MAN@
68 INSTALL_DATA = @INSTALL_DATA@
69 INSTALL_PROGRAM = @INSTALL_PROGRAM@
70 INSTALL_SCRIPT = @INSTALL_SCRIPT@
71 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
72 INTLLIBS = @INTLLIBS@
73 KMEM_GROUP = @KMEM_GROUP@
74 LDFLAGS = @LDFLAGS@
75 LIBICONV = @LIBICONV@
76 LIBINTL = @LIBINTL@
77 LIBOBJS = @LIBOBJS@
78 LIBS = @LIBS@
79 LIB_CLOCK_GETTIME = @LIB_CLOCK_GETTIME@
80 LIB_CRYPT = @LIB_CRYPT@
81 LIB_NANOSLEEP = @LIB_NANOSLEEP@
82 LTLIBICONV = @LTLIBICONV@
83 LTLIBINTL = @LTLIBINTL@
84 LTLIBOBJS = @LTLIBOBJS@
85 MAKEINFO = @MAKEINFO@
86 MAN = @MAN@
87 MKINSTALLDIRS = @MKINSTALLDIRS@
88 MSGFMT = @MSGFMT@
89 MSGMERGE = @MSGMERGE@
90 NEED_SETGID = @NEED_SETGID@
91 OBJEXT = @OBJEXT@
92 OPTIONAL_BIN_PROGS = @OPTIONAL_BIN_PROGS@
93 OPTIONAL_BIN_ZCRIPTS = @OPTIONAL_BIN_ZCRIPTS@
94 PACKAGE = @PACKAGE@
95 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
96 PACKAGE_NAME = @PACKAGE_NAME@
97 PACKAGE_STRING = @PACKAGE_STRING@
98 PACKAGE_TARNAME = @PACKAGE_TARNAME@
99 PACKAGE_VERSION = @PACKAGE_VERSION@
100 PATH_SEPARATOR = @PATH_SEPARATOR@
101 PERL = @PERL@
102 POSUB = @POSUB@
103 POW_LIB = @POW_LIB@
104 RANLIB = @RANLIB@
105 SEQ_LIBM = @SEQ_LIBM@
106 SET_MAKE = @SET_MAKE@
107 SHELL = @SHELL@
108 SQRT_LIBM = @SQRT_LIBM@
109 STRIP = @STRIP@
110 U = @U@
111 USE_NLS = @USE_NLS@
112 VERSION = @VERSION@
113 XGETTEXT = @XGETTEXT@
114 YACC = @YACC@
115 ac_ct_CC = @ac_ct_CC@
116 ac_ct_RANLIB = @ac_ct_RANLIB@
117 ac_ct_STRIP = @ac_ct_STRIP@
118 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
119 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
120 am__include = @am__include@
121 am__quote = @am__quote@
122 bindir = @bindir@
123 build = @build@
124 build_alias = @build_alias@
125 build_cpu = @build_cpu@
126 build_os = @build_os@
127 build_vendor = @build_vendor@
128 datadir = @datadir@
129 exec_prefix = @exec_prefix@
130 host = @host@
131 host_alias = @host_alias@
132 host_cpu = @host_cpu@
133 host_os = @host_os@
134 host_vendor = @host_vendor@
135 includedir = @includedir@
136 infodir = @infodir@
137 install_sh = @install_sh@
138 libdir = @libdir@
139 libexecdir = @libexecdir@
140 localstatedir = @localstatedir@
141 mandir = @mandir@
142 oldincludedir = @oldincludedir@
143 prefix = @prefix@
144 program_transform_name = @program_transform_name@
145 sbindir = @sbindir@
146 sharedstatedir = @sharedstatedir@
147 sysconfdir = @sysconfdir@
148 target_alias = @target_alias@
150 TESTS = help-version
151 TESTS_ENVIRONMENT = \
152 all_programs="$(bin_SCRIPTS) $(bin_PROGRAMS)"
155 EXTRA_DIST = \
156 $(TESTS) .env-warn Fetish.pm Makefile.am.in README envvar-check \
157 expensive group-names input-tty lang-default mk-script priv-check \
158 rwx-to-mode sample-test setgid-check
161 SUBDIRS = \
162 basename chgrp chmod chown cp cut date dd dircolors du expr factor \
163 fmt head install join ln ls ls-2 md5sum misc mkdir mv od pr rm rmdir \
164 seq sha1sum shred sort stty sum tac tail tail-2 test touch tr tsort \
165 unexpand uniq wc
167 subdir = tests
168 mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
169 CONFIG_HEADER = $(top_builddir)/config.h
170 CONFIG_CLEAN_FILES =
171 DIST_SOURCES =
173 RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
174 ps-recursive install-info-recursive uninstall-info-recursive \
175 all-recursive install-data-recursive install-exec-recursive \
176 installdirs-recursive install-recursive uninstall-recursive \
177 check-recursive installcheck-recursive
178 DIST_COMMON = README Makefile.am Makefile.in
179 DIST_SUBDIRS = $(SUBDIRS)
180 all: all-recursive
182 .SUFFIXES:
183 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
184 cd $(top_srcdir) && \
185 $(AUTOMAKE) --gnits tests/Makefile
186 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
187 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
188 uninstall-info-am:
190 # This directory's subdirectories are mostly independent; you can cd
191 # into them and run `make' without going through this Makefile.
192 # To change the values of `make' variables: instead of editing Makefiles,
193 # (1) if the variable is set in `config.status', edit `config.status'
194 # (which will cause the Makefiles to be regenerated when you run `make');
195 # (2) otherwise, pass the desired values on the `make' command line.
196 $(RECURSIVE_TARGETS):
197 @set fnord $$MAKEFLAGS; amf=$$2; \
198 dot_seen=no; \
199 target=`echo $@ | sed s/-recursive//`; \
200 list='$(SUBDIRS)'; for subdir in $$list; do \
201 echo "Making $$target in $$subdir"; \
202 if test "$$subdir" = "."; then \
203 dot_seen=yes; \
204 local_target="$$target-am"; \
205 else \
206 local_target="$$target"; \
207 fi; \
208 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
209 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
210 done; \
211 if test "$$dot_seen" = "no"; then \
212 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
213 fi; test -z "$$fail"
215 mostlyclean-recursive clean-recursive distclean-recursive \
216 maintainer-clean-recursive:
217 @set fnord $$MAKEFLAGS; amf=$$2; \
218 dot_seen=no; \
219 case "$@" in \
220 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
221 *) list='$(SUBDIRS)' ;; \
222 esac; \
223 rev=''; for subdir in $$list; do \
224 if test "$$subdir" = "."; then :; else \
225 rev="$$subdir $$rev"; \
226 fi; \
227 done; \
228 rev="$$rev ."; \
229 target=`echo $@ | sed s/-recursive//`; \
230 for subdir in $$rev; do \
231 echo "Making $$target in $$subdir"; \
232 if test "$$subdir" = "."; then \
233 local_target="$$target-am"; \
234 else \
235 local_target="$$target"; \
236 fi; \
237 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
238 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
239 done && test -z "$$fail"
240 tags-recursive:
241 list='$(SUBDIRS)'; for subdir in $$list; do \
242 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
243 done
244 ctags-recursive:
245 list='$(SUBDIRS)'; for subdir in $$list; do \
246 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
247 done
249 ETAGS = etags
250 ETAGSFLAGS =
252 CTAGS = ctags
253 CTAGSFLAGS =
255 tags: TAGS
257 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
258 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
259 unique=`for i in $$list; do \
260 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
261 done | \
262 $(AWK) ' { files[$$0] = 1; } \
263 END { for (i in files) print i; }'`; \
264 mkid -fID $$unique
266 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
267 $(TAGS_FILES) $(LISP)
268 tags=; \
269 here=`pwd`; \
270 list='$(SUBDIRS)'; for subdir in $$list; do \
271 if test "$$subdir" = .; then :; else \
272 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
273 fi; \
274 done; \
275 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
276 unique=`for i in $$list; do \
277 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
278 done | \
279 $(AWK) ' { files[$$0] = 1; } \
280 END { for (i in files) print i; }'`; \
281 test -z "$(ETAGS_ARGS)$$tags$$unique" \
282 || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
283 $$tags $$unique
285 ctags: CTAGS
286 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
287 $(TAGS_FILES) $(LISP)
288 tags=; \
289 here=`pwd`; \
290 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
291 unique=`for i in $$list; do \
292 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
293 done | \
294 $(AWK) ' { files[$$0] = 1; } \
295 END { for (i in files) print i; }'`; \
296 test -z "$(CTAGS_ARGS)$$tags$$unique" \
297 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
298 $$tags $$unique
300 GTAGS:
301 here=`$(am__cd) $(top_builddir) && pwd` \
302 && cd $(top_srcdir) \
303 && gtags -i $(GTAGS_ARGS) $$here
305 distclean-tags:
306 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
308 check-TESTS: $(TESTS)
309 @failed=0; all=0; xfail=0; xpass=0; skip=0; \
310 srcdir=$(srcdir); export srcdir; \
311 list='$(TESTS)'; \
312 if test -n "$$list"; then \
313 for tst in $$list; do \
314 if test -f ./$$tst; then dir=./; \
315 elif test -f $$tst; then dir=; \
316 else dir="$(srcdir)/"; fi; \
317 if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
318 all=`expr $$all + 1`; \
319 case " $(XFAIL_TESTS) " in \
320 *" $$tst "*) \
321 xpass=`expr $$xpass + 1`; \
322 failed=`expr $$failed + 1`; \
323 echo "XPASS: $$tst"; \
324 ;; \
325 *) \
326 echo "PASS: $$tst"; \
327 ;; \
328 esac; \
329 elif test $$? -ne 77; then \
330 all=`expr $$all + 1`; \
331 case " $(XFAIL_TESTS) " in \
332 *" $$tst "*) \
333 xfail=`expr $$xfail + 1`; \
334 echo "XFAIL: $$tst"; \
335 ;; \
336 *) \
337 failed=`expr $$failed + 1`; \
338 echo "FAIL: $$tst"; \
339 ;; \
340 esac; \
341 else \
342 skip=`expr $$skip + 1`; \
343 echo "SKIP: $$tst"; \
344 fi; \
345 done; \
346 if test "$$failed" -eq 0; then \
347 if test "$$xfail" -eq 0; then \
348 banner="All $$all tests passed"; \
349 else \
350 banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
351 fi; \
352 else \
353 if test "$$xpass" -eq 0; then \
354 banner="$$failed of $$all tests failed"; \
355 else \
356 banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
357 fi; \
358 fi; \
359 dashes="$$banner"; \
360 skipped=""; \
361 if test "$$skip" -ne 0; then \
362 skipped="($$skip tests were not run)"; \
363 test `echo "$$skipped" | wc -c` -gt `echo "$$banner" | wc -c` && \
364 dashes="$$skipped"; \
365 fi; \
366 report=""; \
367 if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
368 report="Please report to $(PACKAGE_BUGREPORT)"; \
369 test `echo "$$report" | wc -c` -gt `echo "$$banner" | wc -c` && \
370 dashes="$$report"; \
371 fi; \
372 dashes=`echo "$$dashes" | sed s/./=/g`; \
373 echo "$$dashes"; \
374 echo "$$banner"; \
375 test -n "$$skipped" && echo "$$skipped"; \
376 test -n "$$report" && echo "$$report"; \
377 echo "$$dashes"; \
378 test "$$failed" -eq 0; \
379 else :; fi
380 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
382 top_distdir = ..
383 distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
385 distdir: $(DISTFILES)
386 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
387 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
388 list='$(DISTFILES)'; for file in $$list; do \
389 case $$file in \
390 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
391 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
392 esac; \
393 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
394 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
395 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
396 dir="/$$dir"; \
397 $(mkinstalldirs) "$(distdir)$$dir"; \
398 else \
399 dir=''; \
400 fi; \
401 if test -d $$d/$$file; then \
402 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
403 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
404 fi; \
405 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
406 else \
407 test -f $(distdir)/$$file \
408 || cp -p $$d/$$file $(distdir)/$$file \
409 || exit 1; \
410 fi; \
411 done
412 list='$(SUBDIRS)'; for subdir in $$list; do \
413 if test "$$subdir" = .; then :; else \
414 test -d $(distdir)/$$subdir \
415 || mkdir $(distdir)/$$subdir \
416 || exit 1; \
417 (cd $$subdir && \
418 $(MAKE) $(AM_MAKEFLAGS) \
419 top_distdir="$(top_distdir)" \
420 distdir=../$(distdir)/$$subdir \
421 distdir) \
422 || exit 1; \
423 fi; \
424 done
425 check-am: all-am
426 $(MAKE) $(AM_MAKEFLAGS) check-TESTS
427 check: check-recursive
428 all-am: Makefile
429 installdirs: installdirs-recursive
430 installdirs-am:
432 install: install-recursive
433 install-exec: install-exec-recursive
434 install-data: install-data-recursive
435 uninstall: uninstall-recursive
437 install-am: all-am
438 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
440 installcheck: installcheck-recursive
441 install-strip:
442 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
443 INSTALL_STRIP_FLAG=-s \
444 `test -z '$(STRIP)' || \
445 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
446 mostlyclean-generic:
448 clean-generic:
450 distclean-generic:
451 -rm -f Makefile $(CONFIG_CLEAN_FILES)
453 maintainer-clean-generic:
454 @echo "This command is intended for maintainers to use"
455 @echo "it deletes files that may require special tools to rebuild."
456 clean: clean-recursive
458 clean-am: clean-generic mostlyclean-am
460 distclean: distclean-recursive
462 distclean-am: clean-am distclean-generic distclean-tags
464 dvi: dvi-recursive
466 dvi-am:
468 info: info-recursive
470 info-am:
472 install-data-am:
474 install-exec-am:
476 install-info: install-info-recursive
478 install-man:
480 installcheck-am:
482 maintainer-clean: maintainer-clean-recursive
484 maintainer-clean-am: distclean-am maintainer-clean-generic
486 mostlyclean: mostlyclean-recursive
488 mostlyclean-am: mostlyclean-generic
490 pdf: pdf-recursive
492 pdf-am:
494 ps: ps-recursive
496 ps-am:
498 uninstall-am: uninstall-info-am
500 uninstall-info: uninstall-info-recursive
502 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-TESTS \
503 check-am clean clean-generic clean-recursive ctags \
504 ctags-recursive distclean distclean-generic distclean-recursive \
505 distclean-tags distdir dvi dvi-am dvi-recursive info info-am \
506 info-recursive install install-am install-data install-data-am \
507 install-data-recursive install-exec install-exec-am \
508 install-exec-recursive install-info install-info-am \
509 install-info-recursive install-man install-recursive \
510 install-strip installcheck installcheck-am installdirs \
511 installdirs-am installdirs-recursive maintainer-clean \
512 maintainer-clean-generic maintainer-clean-recursive mostlyclean \
513 mostlyclean-generic mostlyclean-recursive pdf pdf-am \
514 pdf-recursive ps ps-am ps-recursive tags tags-recursive \
515 uninstall uninstall-am uninstall-info-am \
516 uninstall-info-recursive uninstall-recursive
519 check-root:
520 cd chown && $(MAKE) check TESTS=basic
521 cd cp && $(MAKE) check TESTS=special-bits
522 cd touch && $(MAKE) check TESTS=fifo
523 cd mv && $(MAKE) check TESTS=mv-special-1
525 check-recursive: envvar-check root-hint
527 # Warn when `make check' is run with POSIXLY_CORRECT or CDPATH set.
528 .PHONY: envvar-check
529 envvar-check:
530 test "$${POSIXLY_CORRECT+set}" = set \
531 && sed s/%%/POSIXLY_CORRECT/ $(srcdir)/.env-warn || :
532 test "$${CDPATH+set}" = set \
533 && sed s/%%/CDPATH/ $(srcdir)/.env-warn || :
535 # Advertise `check-root' target.
536 root-hint:
537 @echo '********************************************'
538 @echo "NOTICE: Some tests will or might need to be"
539 @echo " run as root. Do \`make check-root'"
540 @echo " as \`root' to run just these tests."
541 @echo '********************************************'
542 # Tell versions [3.59,3.63) of GNU make to not export all variables.
543 # Otherwise a system limit (for SysV at least) may be exceeded.
544 .NOEXPORT: