*** empty log message ***
[coreutils.git] / tests / wc / Makefile.in
bloba5eff42da0b514a7fd675409c2d6ea286187eeaf
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 AMDEP = @AMDEP@
63 AMTAR = @AMTAR@
64 CATALOGS = @CATALOGS@
65 CATOBJEXT = @CATOBJEXT@
66 CC = @CC@
67 CPP = @CPP@
68 CXX = @CXX@
69 CXXCPP = @CXXCPP@
70 DATADIRNAME = @DATADIRNAME@
71 DEPDIR = @DEPDIR@
72 GENCAT = @GENCAT@
73 GETCONF = @GETCONF@
74 GMOFILES = @GMOFILES@
75 GMSGFMT = @GMSGFMT@
76 GNU_PACKAGE = @GNU_PACKAGE@
77 GT_NO = @GT_NO@
78 GT_YES = @GT_YES@
79 INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@
80 INSTOBJEXT = @INSTOBJEXT@
81 INTLDEPS = @INTLDEPS@
82 INTLLIBS = @INTLLIBS@
83 INTLOBJS = @INTLOBJS@
84 LIBOBJS = @LIBOBJS@
85 MAKEINFO = @MAKEINFO@
86 MKINSTALLDIRS = @MKINSTALLDIRS@
87 MSGFMT = @MSGFMT@
88 PACKAGE = @PACKAGE@
89 PERL = @PERL@
90 POFILES = @POFILES@
91 POSUB = @POSUB@
92 POW_LIBM = @POW_LIBM@
93 RANLIB = @RANLIB@
94 U = @U@
95 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
96 USE_NLS = @USE_NLS@
97 VERSION = @VERSION@
98 YACC = @YACC@
99 l = @l@
102 x = wc
103 explicit =
104 maint_gen = a0.I a0.X a1.I a1.X a2.I a2.X a3.I a3.X a4.I a4.X a5.I a5.X a6.I \
105 a6.X a7.I a7.X a8.I a8.X a9.I a9.X b0.I b0.X b1.I b1.X c0.I c0.X c1.I c1.X \
106 c2.I c2.X
108 run_gen = a0.O a0.E a1.O a1.E a2.O a2.E a3.O a3.E a4.O a4.E a5.O a5.E a6.O \
109 a6.E a7.O a7.E a8.O a8.E a9.O a9.E b0.O b0.E b1.O b1.E c0.O c0.E c1.O c1.E \
110 c2.O c2.E
113 EXTRA_DIST = Test.pm $x-tests $(explicit) $(maint_gen)
114 noinst_SCRIPTS = $x-tests
116 PERL = @PERL@
117 editpl = sed -e 's,@''PERL''@,$(PERL),g' -e 's,@''srcdir''@,@srcdir@,g'
119 TESTS = $x-tests
121 mk_script = $(srcdir)/../mk-script
123 MAINTAINERCLEANFILES = $x-tests $(maint_gen)
124 CLEANFILES = $(run_gen)
125 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
126 CONFIG_HEADER = ../../config.h
127 CONFIG_CLEAN_FILES =
128 SCRIPTS = $(noinst_SCRIPTS)
130 DIST_SOURCES =
131 DIST_COMMON = Makefile.am Makefile.in
134 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
136 GZIP_ENV = --best
137 all: all-redirect
138 .SUFFIXES:
139 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
140 cd $(top_srcdir) && $(AUTOMAKE) --gnu tests/wc/Makefile
142 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
143 cd $(top_builddir) \
144 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
146 tags: TAGS
147 TAGS:
150 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
152 subdir = tests/wc
154 distdir: $(DISTFILES)
155 @for file in $(DISTFILES); do \
156 d=$(srcdir); \
157 if test -d $$d/$$file; then \
158 cp -pr $$d/$$file $(distdir)/$$file; \
159 else \
160 test -f $(distdir)/$$file \
161 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
162 || cp -p $$d/$$file $(distdir)/$$file || :; \
163 fi; \
164 done
165 check-TESTS: $(TESTS)
166 @failed=0; all=0; xfail=0; xpass=0; \
167 srcdir=$(srcdir); export srcdir; \
168 for tst in $(TESTS); do \
169 if test -f ./$$tst; then dir=./; \
170 elif test -f $$tst; then dir=; \
171 else dir="$(srcdir)/"; fi; \
172 if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
173 all=`expr $$all + 1`; \
174 case " $(XFAIL_TESTS) " in \
175 *" $$tst "*) \
176 xpass=`expr $$xpass + 1`; \
177 failed=`expr $$failed + 1`; \
178 echo "XPASS: $$tst"; \
179 ;; \
180 *) \
181 echo "PASS: $$tst"; \
182 ;; \
183 esac; \
184 elif test $$? -ne 77; then \
185 all=`expr $$all + 1`; \
186 case " $(XFAIL_TESTS) " in \
187 *" $$tst "*) \
188 xfail=`expr $$xfail + 1`; \
189 echo "XFAIL: $$tst"; \
190 ;; \
191 *) \
192 failed=`expr $$failed + 1`; \
193 echo "FAIL: $$tst"; \
194 ;; \
195 esac; \
196 fi; \
197 done; \
198 if test "$$failed" -eq 0; then \
199 if test "$$xfail" -eq 0; then \
200 banner="All $$all tests passed"; \
201 else \
202 banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
203 fi; \
204 else \
205 if test "$$xpass" -eq 0; then \
206 banner="$$failed of $$all tests failed"; \
207 else \
208 banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
209 fi; \
210 fi; \
211 dashes=`echo "$$banner" | sed s/./=/g`; \
212 echo "$$dashes"; \
213 echo "$$banner"; \
214 echo "$$dashes"; \
215 test "$$failed" -eq 0
216 info-am:
217 info: info-am
218 dvi-am:
219 dvi: dvi-am
220 check-am: all-am
221 $(MAKE) $(AM_MAKEFLAGS) check-TESTS
222 check: check-am
223 installcheck-am:
224 installcheck: installcheck-am
225 install-exec-am:
226 install-exec: install-exec-am
228 install-data-am:
229 install-data: install-data-am
231 install-am: all-am
232 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
233 install: install-am
234 uninstall-am:
235 uninstall: uninstall-am
236 all-am: Makefile $(SCRIPTS)
237 all-redirect: all-am
238 install-strip:
239 $(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
240 installdirs:
243 mostlyclean-generic:
245 clean-generic:
246 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
248 distclean-generic:
249 -rm -f Makefile $(CONFIG_CLEAN_FILES)
250 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
252 maintainer-clean-generic:
253 -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
254 mostlyclean-am: mostlyclean-generic
256 mostlyclean: mostlyclean-am
258 clean-am: clean-generic mostlyclean-am
260 clean: clean-am
262 distclean-am: distclean-generic clean-am
264 distclean: distclean-am
266 maintainer-clean-am: maintainer-clean-generic distclean-am
267 @echo "This command is intended for maintainers to use;"
268 @echo "it deletes files that may require special tools to rebuild."
270 maintainer-clean: maintainer-clean-am
272 .PHONY: tags distdir check-TESTS info-am info dvi-am dvi check check-am \
273 installcheck-am installcheck install-exec-am install-exec \
274 install-data-am install-data install-am install uninstall-am uninstall \
275 all-redirect all-am all install-strip installdirs mostlyclean-generic \
276 distclean-generic clean-generic maintainer-clean-generic clean \
277 mostlyclean distclean maintainer-clean
279 $(srcdir)/$x-tests: $(mk_script) Test.pm
280 $(PERL) -I. -w -- $(mk_script) ../../src/$x > $@.n
281 mv $@.n $@
282 chmod 755 $@
284 check: $(maint_gen)
286 Makefile.am: ../Makefile.am.in Test.pm $(mk_script)
287 rm -f $@ $@t
288 sed -n '1,/^##test-files-begin/p' $< > $@t
289 tool=`echo $(subdir)|sed 's/^tests.//;s/-test//'`; \
290 echo "x = $$tool" >> $@t
291 $(PERL) -I. -w -- $(mk_script) --list >> $@t
292 sed -n '/^##test-files-end/,$$p' $< >> $@t
293 mv $@t $@
295 # Tell versions [3.59,3.63) of GNU make to not export all variables.
296 # Otherwise a system limit (for SysV at least) may be exceeded.
297 .NOEXPORT: