.
[coreutils.git] / tests / tac / Makefile.in
blob8ba9b7439dc03ee01bef8a940339dc964102368c
1 # Makefile.in generated automatically by automake 1.2 from Makefile.am
3 # Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
4 # This Makefile.in is free software; the Free Software Foundation
5 # gives unlimited permission to copy, distribute and modify it.
8 SHELL = /bin/sh
10 srcdir = @srcdir@
11 top_srcdir = @top_srcdir@
12 VPATH = @srcdir@
13 prefix = @prefix@
14 exec_prefix = @exec_prefix@
16 bindir = @bindir@
17 sbindir = @sbindir@
18 libexecdir = @libexecdir@
19 datadir = @datadir@
20 sysconfdir = @sysconfdir@
21 sharedstatedir = @sharedstatedir@
22 localstatedir = @localstatedir@
23 libdir = @libdir@
24 infodir = @infodir@
25 mandir = @mandir@
26 includedir = @includedir@
27 oldincludedir = /usr/include
29 pkgdatadir = $(datadir)/@PACKAGE@
30 pkglibdir = $(libdir)/@PACKAGE@
31 pkgincludedir = $(includedir)/@PACKAGE@
33 top_builddir = ../..
35 ACLOCAL = @ACLOCAL@
36 AUTOCONF = @AUTOCONF@
37 AUTOMAKE = @AUTOMAKE@
38 AUTOHEADER = @AUTOHEADER@
40 INSTALL = @INSTALL@
41 INSTALL_PROGRAM = @INSTALL_PROGRAM@
42 INSTALL_DATA = @INSTALL_DATA@
43 INSTALL_SCRIPT = @INSTALL_SCRIPT@
44 transform = @program_transform_name@
46 NORMAL_INSTALL = true
47 PRE_INSTALL = true
48 POST_INSTALL = true
49 NORMAL_UNINSTALL = true
50 PRE_UNINSTALL = true
51 POST_UNINSTALL = true
52 CATALOGS = @CATALOGS@
53 CATOBJEXT = @CATOBJEXT@
54 CC = @CC@
55 CPP = @CPP@
56 DATADIRNAME = @DATADIRNAME@
57 GENCAT = @GENCAT@
58 GMOFILES = @GMOFILES@
59 GMSGFMT = @GMSGFMT@
60 GT_NO = @GT_NO@
61 GT_YES = @GT_YES@
62 INSTOBJEXT = @INSTOBJEXT@
63 INTLDEPS = @INTLDEPS@
64 INTLLIBS = @INTLLIBS@
65 INTLOBJS = @INTLOBJS@
66 LIBOBJS = @LIBOBJS@
67 MAINT = @MAINT@
68 MAKEINFO = @MAKEINFO@
69 MKINSTALLDIRS = @MKINSTALLDIRS@
70 MSGFMT = @MSGFMT@
71 PACKAGE = @PACKAGE@
72 POFILES = @POFILES@
73 POSUB = @POSUB@
74 POW_LIBM = @POW_LIBM@
75 RANLIB = @RANLIB@
76 U = @U@
77 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
78 USE_NLS = @USE_NLS@
79 VERSION = @VERSION@
80 l = @l@
82 x = tac
83 explicit =
84 maint_gen = basic-0.I basic-0.X basic-a.I basic-a.X basic-b.I basic-b.X \
85 basic-c.I basic-c.X basic-d.I basic-d.X basic-e.I basic-e.X basic-f.I \
86 basic-f.X basic-g.I basic-g.X basic-h.I basic-h.X basic-i.I basic-i.X \
87 basic-j.I basic-j.X basic-k.I basic-k.X b2-e.I b2-e.X b2-f.I b2-f.X b2-g.I \
88 b2-g.X b2-h.I b2-h.X b2-i.I b2-i.X b2-j.I b2-j.X b2-k.I b2-k.X
89 run_gen = basic-0.O basic-0.E basic-a.O basic-a.E basic-b.O basic-b.E \
90 basic-c.O basic-c.E basic-d.O basic-d.E basic-e.O basic-e.E basic-f.O \
91 basic-f.E basic-g.O basic-g.E basic-h.O basic-h.E basic-i.O basic-i.E \
92 basic-j.O basic-j.E basic-k.O basic-k.E b2-e.O b2-e.E b2-f.O b2-f.E b2-g.O \
93 b2-g.E b2-h.O b2-h.E b2-i.O b2-i.E b2-j.O b2-j.E b2-k.O b2-k.E
95 EXTRA_DIST = mk-script.pl Test.pm $x-tests $(explicit) $(maint_gen)
96 noinst_SCRIPTS = $x-tests
98 PERL = @PERL@
99 editpl = sed -e 's,@''PERL''@,$(PERL),g' -e 's,@''srcdir''@,@srcdir@,g'
101 TESTS = $x-tests
103 SUFFIXES = .pl
105 MAINTAINERCLEANFILES = $x-tests $(maint_gen)
106 CLEANFILES = $(run_gen)
107 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
108 CONFIG_HEADER = ../../config.h
109 CONFIG_CLEAN_FILES =
110 SCRIPTS = $(noinst_SCRIPTS)
112 DIST_COMMON = Makefile.am Makefile.in
115 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
117 TAR = tar
118 GZIP = --best
119 default: all
121 .SUFFIXES:
122 .SUFFIXES: .pl
123 $(srcdir)/Makefile.in: @MAINT@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
124 cd $(top_srcdir) && $(AUTOMAKE) --gnits tests/tac/Makefile
126 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
127 cd $(top_builddir) \
128 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
130 tags: TAGS
131 TAGS:
134 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
136 subdir = tests/tac
138 distdir: $(DISTFILES)
139 here=`cd $(top_builddir) && pwd`; \
140 top_distdir=`cd $(top_distdir) && pwd`; \
141 cd $(top_srcdir) \
142 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnits tests/tac/Makefile
143 @for file in $(DISTFILES); do \
144 d=$(srcdir); \
145 test -f $(distdir)/$$file \
146 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
147 || cp -p $$d/$$file $(distdir)/$$file; \
148 done
149 check-TESTS: $(TESTS)
150 @failed=0; all=0; \
151 srcdir=$(srcdir); export srcdir; \
152 for tst in $(TESTS); do \
153 if test -f $$tst; then dir=.; \
154 else dir="$(srcdir)"; fi; \
155 if $(TESTS_ENVIRONMENT) $$dir/$$tst; then \
156 all=`expr $$all + 1`; \
157 echo "PASS: $$tst"; \
158 elif test $$? -ne 77; then \
159 all=`expr $$all + 1`; \
160 failed=`expr $$failed + 1`; \
161 echo "FAIL: $$tst"; \
162 fi; \
163 done; \
164 if test "$$failed" -eq 0; then \
165 banner="All $$all tests passed"; \
166 else \
167 banner="$$failed of $$all tests failed"; \
168 fi; \
169 dashes=`echo "$$banner" | sed s/./=/g`; \
170 echo "$$dashes"; \
171 echo "$$banner"; \
172 echo "$$dashes"; \
173 test "$$failed" -eq 0
174 info:
175 dvi:
176 check: all
177 $(MAKE) check-TESTS
178 installcheck:
179 install-exec:
180 @$(NORMAL_INSTALL)
182 install-data:
183 @$(NORMAL_INSTALL)
185 install: install-exec install-data all
188 uninstall:
190 all: Makefile $(SCRIPTS)
192 install-strip:
193 $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
194 installdirs:
197 mostlyclean-generic:
198 test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
200 clean-generic:
201 test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
203 distclean-generic:
204 rm -f Makefile $(DISTCLEANFILES)
205 rm -f config.cache config.log stamp-h stamp-h[0-9]*
206 test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
208 maintainer-clean-generic:
209 test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
210 test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
211 mostlyclean: mostlyclean-generic
213 clean: clean-generic mostlyclean
215 distclean: distclean-generic clean
216 rm -f config.status
218 maintainer-clean: maintainer-clean-generic distclean
219 @echo "This command is intended for maintainers to use;"
220 @echo "it deletes files that may require special tools to rebuild."
222 .PHONY: default tags distdir check-TESTS info dvi installcheck \
223 install-exec install-data install uninstall all installdirs \
224 mostlyclean-generic distclean-generic clean-generic \
225 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
228 $(srcdir)/$x-tests: @MAINT@mk-script Test.pm
229 ./mk-script ../../src/$x > $@.n
230 mv $@.n $@
231 chmod 755 $@
233 mk-script: ../../config.status
235 .pl:
236 rm -f $@ $@.tmp
237 $(editpl) $< > $@.tmp
238 chmod +x-w $@.tmp
239 mv $@.tmp $@
241 @MAINT@Makefile.am: ../Makefile.am.in Test.pm mk-script
242 @MAINT@ rm -f $@ $@t
243 @MAINT@ sed -n '1,/^##test-files-begin/p' $< > $@t
244 @MAINT@ tool=`echo $(subdir)|sed 's/^tests.//;s/-test//'`; \
245 @MAINT@ echo "x = $$tool" >> $@t
246 @MAINT@ ./mk-script --list >> $@t
247 @MAINT@ sed -n '/^##test-files-end/,$$p' $< >> $@t
248 @MAINT@ mv $@t $@
250 # Tell versions [3.59,3.63) of GNU make to not export all variables.
251 # Otherwise a system limit (for SysV at least) may be exceeded.
252 .NOEXPORT: