.
[coreutils.git] / tests / test / Makefile.in
blob9e74464ed578136a31a39d2aa40cad68639f83ba
1 # Makefile.in generated automatically by automake 1.4a from Makefile.am
3 # Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
4 # This Makefile.in is free software; the Free Software Foundation
5 # gives unlimited permission to copy and/or distribute it,
6 # with or without modifications, as long as this notice is preserved.
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11 # PARTICULAR PURPOSE.
13 SHELL = @SHELL@
15 srcdir = @srcdir@
16 top_srcdir = @top_srcdir@
17 VPATH = @srcdir@
18 prefix = @prefix@
19 exec_prefix = @exec_prefix@
21 bindir = @bindir@
22 sbindir = @sbindir@
23 libexecdir = @libexecdir@
24 datadir = @datadir@
25 sysconfdir = @sysconfdir@
26 sharedstatedir = @sharedstatedir@
27 localstatedir = @localstatedir@
28 libdir = @libdir@
29 infodir = @infodir@
30 mandir = @mandir@
31 includedir = @includedir@
32 oldincludedir = /usr/include
34 DESTDIR =
36 pkgdatadir = $(datadir)/@PACKAGE@
37 pkglibdir = $(libdir)/@PACKAGE@
38 pkgincludedir = $(includedir)/@PACKAGE@
40 top_builddir = ../..
42 ACLOCAL = @ACLOCAL@
43 AUTOCONF = @AUTOCONF@
44 AUTOMAKE = @AUTOMAKE@
45 AUTOHEADER = @AUTOHEADER@
47 INSTALL = @INSTALL@
48 INSTALL_PROGRAM = @INSTALL_PROGRAM@
49 INSTALL_DATA = @INSTALL_DATA@
50 INSTALL_SCRIPT = @INSTALL_SCRIPT@
51 INSTALL_STRIP_FLAG =
52 transform = @program_transform_name@
54 NORMAL_INSTALL = :
55 PRE_INSTALL = :
56 POST_INSTALL = :
57 NORMAL_UNINSTALL = :
58 PRE_UNINSTALL = :
59 POST_UNINSTALL = :
60 host_alias = @host_alias@
61 host_triplet = @host@
62 AMTAR = @AMTAR@
63 AMTARFLAGS = @AMTARFLAGS@
64 CATALOGS = @CATALOGS@
65 CATOBJEXT = @CATOBJEXT@
66 CC = @CC@
67 CPP = @CPP@
68 DATADIRNAME = @DATADIRNAME@
69 GENCAT = @GENCAT@
70 GETCONF = @GETCONF@
71 GETLOADAVG_LIBS = @GETLOADAVG_LIBS@
72 GMOFILES = @GMOFILES@
73 GMSGFMT = @GMSGFMT@
74 GNU_PACKAGE = @GNU_PACKAGE@
75 GT_NO = @GT_NO@
76 GT_YES = @GT_YES@
77 INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@
78 INSTOBJEXT = @INSTOBJEXT@
79 INTLDEPS = @INTLDEPS@
80 INTLLIBS = @INTLLIBS@
81 INTLOBJS = @INTLOBJS@
82 KMEM_GROUP = @KMEM_GROUP@
83 LIBOBJS = @LIBOBJS@
84 LIB_CRYPT = @LIB_CRYPT@
85 MAKEINFO = @MAKEINFO@
86 MAN = @MAN@
87 MKINSTALLDIRS = @MKINSTALLDIRS@
88 MSGFMT = @MSGFMT@
89 NEED_SETGID = @NEED_SETGID@
90 OPTIONAL_BIN_PROGS = @OPTIONAL_BIN_PROGS@
91 OPTIONAL_BIN_ZCRIPTS = @OPTIONAL_BIN_ZCRIPTS@
92 PACKAGE = @PACKAGE@
93 PERL = @PERL@
94 POFILES = @POFILES@
95 POSUB = @POSUB@
96 POW_LIBM = @POW_LIBM@
97 RANLIB = @RANLIB@
98 SEQ_LIBM = @SEQ_LIBM@
99 SQRT_LIBM = @SQRT_LIBM@
100 U = @U@
101 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
102 USE_NLS = @USE_NLS@
103 VERSION = @VERSION@
104 YACC = @YACC@
105 l = @l@
108 x = test
109 explicit =
110 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 \
111 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 \
112 N-streq-1.X NN-streq-1.X N-streq-2.X NN-streq-2.X N-strne-1.X NN-strne-1.X \
113 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 \
114 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 \
115 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 \
116 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 \
117 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 \
118 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 \
119 1b.X 1c.X 1d.X streq-1.X streq-2.X strne-1.X strne-2.X and-1.X and-2.X \
120 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 \
121 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 \
122 t2.X
124 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 \
125 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 \
126 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 \
127 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 \
128 N-streq-1.E NN-streq-1.O NN-streq-1.E N-streq-2.O N-streq-2.E NN-streq-2.O \
129 NN-streq-2.E N-strne-1.O N-strne-1.E NN-strne-1.O NN-strne-1.E N-strne-2.O \
130 N-strne-2.E NN-strne-2.O NN-strne-2.E N-and-1.O N-and-1.E NN-and-1.O \
131 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 \
132 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 \
133 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 \
134 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 \
135 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 \
136 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 \
137 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 \
138 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 \
139 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 \
140 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 \
141 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 \
142 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 \
143 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 \
144 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 \
145 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 \
146 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 \
147 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
150 EXTRA_DIST = Test.pm $x-tests $(explicit) $(maint_gen)
151 noinst_SCRIPTS = $x-tests
153 PERL = @PERL@
154 editpl = sed -e 's,@''PERL''@,$(PERL),g' -e 's,@''srcdir''@,@srcdir@,g'
156 TESTS = $x-tests
158 mk_script = $(srcdir)/../mk-script
160 MAINTAINERCLEANFILES = $x-tests $(maint_gen)
161 CLEANFILES = $(run_gen)
162 subdir = tests/test
163 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
164 CONFIG_HEADER = ../../config.h
165 CONFIG_CLEAN_FILES =
166 SCRIPTS = $(noinst_SCRIPTS)
168 DIST_SOURCES =
169 DIST_COMMON = Makefile.am Makefile.in
172 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
174 GZIP_ENV = --best
175 all: all-redirect
176 .SUFFIXES:
177 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
178 cd $(top_srcdir) && $(AUTOMAKE) --gnits tests/test/Makefile
180 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
181 cd $(top_builddir) \
182 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
184 tags: TAGS
185 TAGS:
188 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
190 distdir: $(DISTFILES)
191 here=`cd $(top_builddir) && pwd`; \
192 top_distdir=`cd $(top_distdir) && pwd`; \
193 distdir=`cd $(distdir) && pwd`; \
194 cd $(top_srcdir) \
195 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnits tests/test/Makefile
196 @for file in $(DISTFILES); do \
197 d=$(srcdir); \
198 if test -d $$d/$$file; then \
199 cp -pr $$d/$$file $(distdir)/$$file; \
200 else \
201 test -f $(distdir)/$$file \
202 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
203 || cp -p $$d/$$file $(distdir)/$$file || :; \
204 fi; \
205 done
207 check-TESTS: $(TESTS)
208 @failed=0; all=0; xfail=0; xpass=0; \
209 srcdir=$(srcdir); export srcdir; \
210 for tst in $(TESTS); do \
211 if test -f ./$$tst; then dir=./; \
212 elif test -f $$tst; then dir=; \
213 else dir="$(srcdir)/"; fi; \
214 if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
215 all=`expr $$all + 1`; \
216 case " $(XFAIL_TESTS) " in \
217 *" $$tst "*) \
218 xpass=`expr $$xpass + 1`; \
219 failed=`expr $$failed + 1`; \
220 echo "XPASS: $$tst"; \
221 ;; \
222 *) \
223 echo "PASS: $$tst"; \
224 ;; \
225 esac; \
226 elif test $$? -ne 77; then \
227 all=`expr $$all + 1`; \
228 case " $(XFAIL_TESTS) " in \
229 *" $$tst "*) \
230 xfail=`expr $$xfail + 1`; \
231 echo "XFAIL: $$tst"; \
232 ;; \
233 *) \
234 failed=`expr $$failed + 1`; \
235 echo "FAIL: $$tst"; \
236 ;; \
237 esac; \
238 fi; \
239 done; \
240 if test "$$failed" -eq 0; then \
241 if test "$$xfail" -eq 0; then \
242 banner="All $$all tests passed"; \
243 else \
244 banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
245 fi; \
246 else \
247 if test "$$xpass" -eq 0; then \
248 banner="$$failed of $$all tests failed"; \
249 else \
250 banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
251 fi; \
252 fi; \
253 dashes=`echo "$$banner" | sed s/./=/g`; \
254 echo "$$dashes"; \
255 echo "$$banner"; \
256 echo "$$dashes"; \
257 test "$$failed" -eq 0
258 info-am:
259 info: info-am
260 dvi-am:
261 dvi: dvi-am
262 check-am: all-am
263 $(MAKE) $(AM_MAKEFLAGS) check-TESTS
264 check: check-am
265 installcheck-am:
266 installcheck: installcheck-am
267 install-exec-am:
268 install-exec: install-exec-am
270 install-data-am:
271 install-data: install-data-am
273 install-am: all-am
274 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
275 install: install-am
276 uninstall-am:
277 uninstall: uninstall-am
278 all-am: Makefile $(SCRIPTS)
279 all-redirect: all-am
280 install-strip:
281 $(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
282 installdirs:
285 mostlyclean-generic:
287 clean-generic:
288 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
290 distclean-generic:
291 -rm -f Makefile $(CONFIG_CLEAN_FILES)
292 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
294 maintainer-clean-generic:
295 -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
296 mostlyclean-am: mostlyclean-generic
298 mostlyclean: mostlyclean-am
300 clean-am: clean-generic mostlyclean-am
302 clean: clean-am
304 distclean-am: distclean-generic clean-am
306 distclean: distclean-am
308 maintainer-clean-am: maintainer-clean-generic distclean-am
309 @echo "This command is intended for maintainers to use;"
310 @echo "it deletes files that may require special tools to rebuild."
312 maintainer-clean: maintainer-clean-am
314 .PHONY: tags distdir check-TESTS info-am info dvi-am dvi check check-am \
315 installcheck-am installcheck install-exec-am install-exec \
316 install-data-am install-data install-am install uninstall-am uninstall \
317 all-redirect all-am all install-strip installdirs mostlyclean-generic \
318 distclean-generic clean-generic maintainer-clean-generic clean \
319 mostlyclean distclean maintainer-clean
321 $(srcdir)/$x-tests: $(mk_script) Test.pm
322 $(PERL) -I. -w -- $(mk_script) ../../src/$x > $@.n
323 mv $@.n $@
324 chmod 755 $@
326 check: $(maint_gen)
328 Makefile.am: ../Makefile.am.in Test.pm $(mk_script)
329 rm -f $@ $@t
330 sed -n '1,/^##test-files-begin/p' $< > $@t
331 tool=`echo $(subdir)|sed 's/^tests.//;s/-test//'`; \
332 echo "x = $$tool" >> $@t
333 $(PERL) -I. -w -- $(mk_script) --list >> $@t
334 sed -n '/^##test-files-end/,$$p' $< >> $@t
335 mv $@t $@
337 # Tell versions [3.59,3.63) of GNU make to not export all variables.
338 # Otherwise a system limit (for SysV at least) may be exceeded.
339 .NOEXPORT: