.
[coreutils.git] / tests / test / Makefile.in
blobe2c85b8ea6dd4fe50b267afd3b41635cb055e426
1 # Makefile.in generated by automake 1.7.3 from Makefile.am.
2 # @configure_input@
4 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
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@
102 PERL = @PERL@
103 POSUB = @POSUB@
104 POW_LIB = @POW_LIB@
105 RANLIB = @RANLIB@
106 SEQ_LIBM = @SEQ_LIBM@
107 SET_MAKE = @SET_MAKE@
108 SHELL = @SHELL@
109 SQRT_LIBM = @SQRT_LIBM@
110 STRIP = @STRIP@
111 U = @U@
112 USE_NLS = @USE_NLS@
113 VERSION = @VERSION@
114 XGETTEXT = @XGETTEXT@
115 YACC = @YACC@
116 ac_ct_CC = @ac_ct_CC@
117 ac_ct_RANLIB = @ac_ct_RANLIB@
118 ac_ct_STRIP = @ac_ct_STRIP@
119 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
120 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
121 am__include = @am__include@
122 am__leading_dot = @am__leading_dot@
123 am__quote = @am__quote@
124 bindir = @bindir@
125 build = @build@
126 build_alias = @build_alias@
127 build_cpu = @build_cpu@
128 build_os = @build_os@
129 build_vendor = @build_vendor@
130 datadir = @datadir@
131 exec_prefix = @exec_prefix@
132 host = @host@
133 host_alias = @host_alias@
134 host_cpu = @host_cpu@
135 host_os = @host_os@
136 host_vendor = @host_vendor@
137 includedir = @includedir@
138 infodir = @infodir@
139 install_sh = @install_sh@
140 libdir = @libdir@
141 libexecdir = @libexecdir@
142 localstatedir = @localstatedir@
143 mandir = @mandir@
144 oldincludedir = @oldincludedir@
145 prefix = @prefix@
146 program_transform_name = @program_transform_name@
147 sbindir = @sbindir@
148 sharedstatedir = @sharedstatedir@
149 sysconfdir = @sysconfdir@
150 target_alias = @target_alias@
152 x = test
153 explicit =
154 maint_gen = ne-1.X ne-2.X ne-3.X ne-4.X ne-5.X le-1.X le-2.X le-3.X le-4.X \
155 ge-1.X ge-2.X ge-3.X ge-4.X N-1b.X NN-1b.X N-1c.X NN-1c.X N-1d.X NN-1d.X \
156 N-streq-1.X NN-streq-1.X N-streq-2.X NN-streq-2.X N-strne-1.X NN-strne-1.X \
157 N-strne-2.X NN-strne-2.X N-and-1.X NN-and-1.X N-and-2.X NN-and-2.X N-and-3.X \
158 NN-and-3.X N-and-4.X NN-and-4.X N-or-1.X NN-or-1.X N-or-2.X NN-or-2.X \
159 N-or-3.X NN-or-3.X N-or-4.X NN-or-4.X N-eq-1.X NN-eq-1.X N-eq-2.X NN-eq-2.X \
160 N-eq-3.X NN-eq-3.X N-eq-4.X NN-eq-4.X N-eq-5.X NN-eq-5.X N-gt-1.X NN-gt-1.X \
161 N-gt-2.X NN-gt-2.X N-gt-3.X NN-gt-3.X N-gt-4.X NN-gt-4.X N-lt-1.X NN-lt-1.X \
162 N-lt-2.X NN-lt-2.X N-lt-3.X NN-lt-3.X N-lt-4.X NN-lt-4.X N-t2.X NN-t2.X 1a.X \
163 1b.X 1c.X 1d.X streq-1.X streq-2.X strne-1.X strne-2.X and-1.X and-2.X \
164 and-3.X and-4.X or-1.X or-2.X or-3.X or-4.X eq-1.X eq-2.X eq-3.X eq-4.X \
165 eq-5.X gt-1.X gt-2.X gt-3.X gt-4.X lt-1.X lt-2.X lt-3.X lt-4.X inv-1.X t1.X \
166 t2.X
168 run_gen = ne-1.O ne-1.E ne-2.O ne-2.E ne-3.O ne-3.E ne-4.O ne-4.E ne-5.O \
169 ne-5.E le-1.O le-1.E le-2.O le-2.E le-3.O le-3.E le-4.O le-4.E ge-1.O ge-1.E \
170 ge-2.O ge-2.E ge-3.O ge-3.E ge-4.O ge-4.E N-1b.O N-1b.E NN-1b.O NN-1b.E \
171 N-1c.O N-1c.E NN-1c.O NN-1c.E N-1d.O N-1d.E NN-1d.O NN-1d.E N-streq-1.O \
172 N-streq-1.E NN-streq-1.O NN-streq-1.E N-streq-2.O N-streq-2.E NN-streq-2.O \
173 NN-streq-2.E N-strne-1.O N-strne-1.E NN-strne-1.O NN-strne-1.E N-strne-2.O \
174 N-strne-2.E NN-strne-2.O NN-strne-2.E N-and-1.O N-and-1.E NN-and-1.O \
175 NN-and-1.E N-and-2.O N-and-2.E NN-and-2.O NN-and-2.E N-and-3.O N-and-3.E \
176 NN-and-3.O NN-and-3.E N-and-4.O N-and-4.E NN-and-4.O NN-and-4.E N-or-1.O \
177 N-or-1.E NN-or-1.O NN-or-1.E N-or-2.O N-or-2.E NN-or-2.O NN-or-2.E N-or-3.O \
178 N-or-3.E NN-or-3.O NN-or-3.E N-or-4.O N-or-4.E NN-or-4.O NN-or-4.E N-eq-1.O \
179 N-eq-1.E NN-eq-1.O NN-eq-1.E N-eq-2.O N-eq-2.E NN-eq-2.O NN-eq-2.E N-eq-3.O \
180 N-eq-3.E NN-eq-3.O NN-eq-3.E N-eq-4.O N-eq-4.E NN-eq-4.O NN-eq-4.E N-eq-5.O \
181 N-eq-5.E NN-eq-5.O NN-eq-5.E N-gt-1.O N-gt-1.E NN-gt-1.O NN-gt-1.E N-gt-2.O \
182 N-gt-2.E NN-gt-2.O NN-gt-2.E N-gt-3.O N-gt-3.E NN-gt-3.O NN-gt-3.E N-gt-4.O \
183 N-gt-4.E NN-gt-4.O NN-gt-4.E N-lt-1.O N-lt-1.E NN-lt-1.O NN-lt-1.E N-lt-2.O \
184 N-lt-2.E NN-lt-2.O NN-lt-2.E N-lt-3.O N-lt-3.E NN-lt-3.O NN-lt-3.E N-lt-4.O \
185 N-lt-4.E NN-lt-4.O NN-lt-4.E N-t2.O N-t2.E NN-t2.O NN-t2.E 1a.O 1a.E 1b.O \
186 1b.E 1c.O 1c.E 1d.O 1d.E streq-1.O streq-1.E streq-2.O streq-2.E strne-1.O \
187 strne-1.E strne-2.O strne-2.E and-1.O and-1.E and-2.O and-2.E and-3.O and-3.E \
188 and-4.O and-4.E or-1.O or-1.E or-2.O or-2.E or-3.O or-3.E or-4.O or-4.E \
189 eq-1.O eq-1.E eq-2.O eq-2.E eq-3.O eq-3.E eq-4.O eq-4.E eq-5.O eq-5.E gt-1.O \
190 gt-1.E gt-2.O gt-2.E gt-3.O gt-3.E gt-4.O gt-4.E lt-1.O lt-1.E lt-2.O lt-2.E \
191 lt-3.O lt-3.E lt-4.O lt-4.E inv-1.O inv-1.E t1.O t1.E t2.O t2.E
194 EXTRA_DIST = Test.pm $x-tests $(explicit) $(maint_gen)
195 noinst_SCRIPTS = $x-tests
196 editpl = sed -e 's,@''PERL''@,$(PERL),g' -e 's,@''srcdir''@,@srcdir@,g'
198 TESTS = $x-tests
200 mk_script = $(srcdir)/../mk-script
202 MAINTAINERCLEANFILES = $x-tests $(maint_gen)
203 CLEANFILES = $(run_gen)
204 subdir = tests/test
205 mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
206 CONFIG_HEADER = $(top_builddir)/config.h
207 CONFIG_CLEAN_FILES =
208 SCRIPTS = $(noinst_SCRIPTS)
210 DIST_SOURCES =
211 DIST_COMMON = Makefile.am Makefile.in
212 all: all-am
214 .SUFFIXES:
215 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
216 cd $(top_srcdir) && \
217 $(AUTOMAKE) --gnits tests/test/Makefile
218 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
219 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
220 uninstall-info-am:
221 tags: TAGS
222 TAGS:
224 ctags: CTAGS
225 CTAGS:
228 check-TESTS: $(TESTS)
229 @failed=0; all=0; xfail=0; xpass=0; skip=0; \
230 srcdir=$(srcdir); export srcdir; \
231 list='$(TESTS)'; \
232 if test -n "$$list"; then \
233 for tst in $$list; do \
234 if test -f ./$$tst; then dir=./; \
235 elif test -f $$tst; then dir=; \
236 else dir="$(srcdir)/"; fi; \
237 if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
238 all=`expr $$all + 1`; \
239 case " $(XFAIL_TESTS) " in \
240 *" $$tst "*) \
241 xpass=`expr $$xpass + 1`; \
242 failed=`expr $$failed + 1`; \
243 echo "XPASS: $$tst"; \
244 ;; \
245 *) \
246 echo "PASS: $$tst"; \
247 ;; \
248 esac; \
249 elif test $$? -ne 77; then \
250 all=`expr $$all + 1`; \
251 case " $(XFAIL_TESTS) " in \
252 *" $$tst "*) \
253 xfail=`expr $$xfail + 1`; \
254 echo "XFAIL: $$tst"; \
255 ;; \
256 *) \
257 failed=`expr $$failed + 1`; \
258 echo "FAIL: $$tst"; \
259 ;; \
260 esac; \
261 else \
262 skip=`expr $$skip + 1`; \
263 echo "SKIP: $$tst"; \
264 fi; \
265 done; \
266 if test "$$failed" -eq 0; then \
267 if test "$$xfail" -eq 0; then \
268 banner="All $$all tests passed"; \
269 else \
270 banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
271 fi; \
272 else \
273 if test "$$xpass" -eq 0; then \
274 banner="$$failed of $$all tests failed"; \
275 else \
276 banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
277 fi; \
278 fi; \
279 dashes="$$banner"; \
280 skipped=""; \
281 if test "$$skip" -ne 0; then \
282 skipped="($$skip tests were not run)"; \
283 test `echo "$$skipped" | wc -c` -gt `echo "$$banner" | wc -c` && \
284 dashes="$$skipped"; \
285 fi; \
286 report=""; \
287 if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
288 report="Please report to $(PACKAGE_BUGREPORT)"; \
289 test `echo "$$report" | wc -c` -gt `echo "$$banner" | wc -c` && \
290 dashes="$$report"; \
291 fi; \
292 dashes=`echo "$$dashes" | sed s/./=/g`; \
293 echo "$$dashes"; \
294 echo "$$banner"; \
295 test -n "$$skipped" && echo "$$skipped"; \
296 test -n "$$report" && echo "$$report"; \
297 echo "$$dashes"; \
298 test "$$failed" -eq 0; \
299 else :; fi
300 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
302 top_distdir = ../..
303 distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
305 distdir: $(DISTFILES)
306 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
307 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
308 list='$(DISTFILES)'; for file in $$list; do \
309 case $$file in \
310 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
311 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
312 esac; \
313 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
314 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
315 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
316 dir="/$$dir"; \
317 $(mkinstalldirs) "$(distdir)$$dir"; \
318 else \
319 dir=''; \
320 fi; \
321 if test -d $$d/$$file; then \
322 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
323 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
324 fi; \
325 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
326 else \
327 test -f $(distdir)/$$file \
328 || cp -p $$d/$$file $(distdir)/$$file \
329 || exit 1; \
330 fi; \
331 done
332 check-am: all-am
333 $(MAKE) $(AM_MAKEFLAGS) check-TESTS
334 check: check-am
335 all-am: Makefile $(SCRIPTS)
337 installdirs:
339 install: install-am
340 install-exec: install-exec-am
341 install-data: install-data-am
342 uninstall: uninstall-am
344 install-am: all-am
345 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
347 installcheck: installcheck-am
348 install-strip:
349 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
350 INSTALL_STRIP_FLAG=-s \
351 `test -z '$(STRIP)' || \
352 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
353 mostlyclean-generic:
355 clean-generic:
356 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
358 distclean-generic:
359 -rm -f Makefile $(CONFIG_CLEAN_FILES)
361 maintainer-clean-generic:
362 @echo "This command is intended for maintainers to use"
363 @echo "it deletes files that may require special tools to rebuild."
364 -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
365 clean: clean-am
367 clean-am: clean-generic mostlyclean-am
369 distclean: distclean-am
371 distclean-am: clean-am distclean-generic
373 dvi: dvi-am
375 dvi-am:
377 info: info-am
379 info-am:
381 install-data-am:
383 install-exec-am:
385 install-info: install-info-am
387 install-man:
389 installcheck-am:
391 maintainer-clean: maintainer-clean-am
393 maintainer-clean-am: distclean-am maintainer-clean-generic
395 mostlyclean: mostlyclean-am
397 mostlyclean-am: mostlyclean-generic
399 pdf: pdf-am
401 pdf-am:
403 ps: ps-am
405 ps-am:
407 uninstall-am: uninstall-info-am
409 .PHONY: all all-am check check-TESTS check-am clean clean-generic \
410 distclean distclean-generic distdir dvi dvi-am info info-am \
411 install install-am install-data install-data-am install-exec \
412 install-exec-am install-info install-info-am install-man \
413 install-strip installcheck installcheck-am installdirs \
414 maintainer-clean maintainer-clean-generic mostlyclean \
415 mostlyclean-generic pdf pdf-am ps ps-am uninstall uninstall-am \
416 uninstall-info-am
418 $(srcdir)/$x-tests: $(mk_script) Test.pm
419 $(PERL) -I$(srcdir) -w -- $(mk_script) ../../src/$x > $@.n
420 mv $@.n $@
421 chmod 755 $@
423 check: $(maint_gen)
425 Makefile.am: ../Makefile.am.in Test.pm $(mk_script)
426 rm -f $@ $@t
427 sed -n '1,/^##test-files-begin/p' $< > $@t
428 tool=`echo $(subdir)|sed 's/^tests.//;s/-test//'`; \
429 echo "x = $$tool" >> $@t
430 $(PERL) -I$(srcdir) -w -- $(mk_script) --list >> $@t
431 sed -n '/^##test-files-end/,$$p' $< >> $@t
432 mv $@t $@
433 # Tell versions [3.59,3.63) of GNU make to not export all variables.
434 # Otherwise a system limit (for SysV at least) may be exceeded.
435 .NOEXPORT: