.
[coreutils.git] / tests / tail / Makefile.in
blob726d53594baa1d4f52837ac9d4615155bf64b481
1 # Makefile.in generated automatically by automake 1.3 from Makefile.am
3 # Copyright (C) 1994, 1995, 1996, 1997, 1998 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.
7 # This program is distributed in the hope that it will be useful,
8 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
9 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
10 # PARTICULAR PURPOSE.
13 SHELL = /bin/sh
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 DISTDIR =
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 transform = @program_transform_name@
53 NORMAL_INSTALL = :
54 PRE_INSTALL = :
55 POST_INSTALL = :
56 NORMAL_UNINSTALL = :
57 PRE_UNINSTALL = :
58 POST_UNINSTALL = :
59 CATALOGS = @CATALOGS@
60 CATOBJEXT = @CATOBJEXT@
61 CC = @CC@
62 CPP = @CPP@
63 DATADIRNAME = @DATADIRNAME@
64 GENCAT = @GENCAT@
65 GMOFILES = @GMOFILES@
66 GMSGFMT = @GMSGFMT@
67 GT_NO = @GT_NO@
68 GT_YES = @GT_YES@
69 INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@
70 INSTOBJEXT = @INSTOBJEXT@
71 INTLDEPS = @INTLDEPS@
72 INTLLIBS = @INTLLIBS@
73 INTLOBJS = @INTLOBJS@
74 LIBOBJS = @LIBOBJS@
75 MAKEINFO = @MAKEINFO@
76 MKINSTALLDIRS = @MKINSTALLDIRS@
77 MSGFMT = @MSGFMT@
78 PACKAGE = @PACKAGE@
79 POFILES = @POFILES@
80 POSUB = @POSUB@
81 POW_LIBM = @POW_LIBM@
82 RANLIB = @RANLIB@
83 U = @U@
84 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
85 USE_NLS = @USE_NLS@
86 VERSION = @VERSION@
87 l = @l@
89 x = tail
90 explicit =
91 maint_gen = obs-c1.I obs-c1.X obs-c2.I obs-c2.X obs-c3.I obs-c3.X obs-c4.I \
92 obs-c4.X obs-c5.I obs-c5.X obs-l1.I obs-l1.X obs-l2.I obs-l2.X obs-l3.I \
93 obs-l3.X obs-l4.I obs-l4.X obs-l5.I obs-l5.X obs-1.I obs-1.X obs-2.I obs-2.X \
94 obs-3.I obs-3.X obs-4.I obs-4.X obs-5.I obs-5.X obsx-1.I obsx-1.X obsx-2.I \
95 obsx-2.X obs-l.I obs-l.X err-1.I err-1.X err-2.I err-2.X err-3.I err-3.X \
96 err-4.I err-4.X err-5.I err-5.X err-6.I err-6.X minus-1.I minus-1.X minus-2.I \
97 minus-2.X n-1.I n-1.X n-2.I n-2.X n-3.I n-3.X n-4.I n-4.X n-4a.I n-4a.X n-5.I \
98 n-5.X n-5a.I n-5a.X n-5b.I n-5b.X
99 run_gen = obs-c1.O obs-c1.E obs-c2.O obs-c2.E obs-c3.O obs-c3.E obs-c4.O \
100 obs-c4.E obs-c5.O obs-c5.E obs-l1.O obs-l1.E obs-l2.O obs-l2.E obs-l3.O \
101 obs-l3.E obs-l4.O obs-l4.E obs-l5.O obs-l5.E obs-1.O obs-1.E obs-2.O obs-2.E \
102 obs-3.O obs-3.E obs-4.O obs-4.E obs-5.O obs-5.E obsx-1.O obsx-1.E obsx-2.O \
103 obsx-2.E obs-l.O obs-l.E err-1.O err-1.E err-2.O err-2.E err-3.O err-3.E \
104 err-4.O err-4.E err-5.O err-5.E err-6.O err-6.E minus-1.O minus-1.E minus-2.O \
105 minus-2.E n-1.O n-1.E n-2.O n-2.E n-3.O n-3.E n-4.O n-4.E n-4a.O n-4a.E n-5.O \
106 n-5.E n-5a.O n-5a.E n-5b.O n-5b.E
108 EXTRA_DIST = Test.pm $x-tests $(explicit) $(maint_gen)
109 noinst_SCRIPTS = $x-tests
111 PERL = @PERL@
112 editpl = sed -e 's,@''PERL''@,$(PERL),g' -e 's,@''srcdir''@,@srcdir@,g'
114 TESTS = $x-tests
116 mk_script = $(srcdir)/../mk-script
118 MAINTAINERCLEANFILES = $x-tests $(maint_gen)
119 CLEANFILES = $(run_gen)
120 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
121 CONFIG_HEADER = ../../config.h
122 CONFIG_CLEAN_FILES =
123 SCRIPTS = $(noinst_SCRIPTS)
125 DIST_COMMON = Makefile.am Makefile.in
128 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
130 TAR = tar
131 GZIP = --best
132 all: Makefile $(SCRIPTS)
134 .SUFFIXES:
135 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
136 cd $(top_srcdir) && $(AUTOMAKE) --gnits tests/tail/Makefile
138 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
139 cd $(top_builddir) \
140 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
142 tags: TAGS
143 TAGS:
146 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
148 subdir = tests/tail
150 distdir: $(DISTFILES)
151 here=`cd $(top_builddir) && pwd`; \
152 top_distdir=`cd $(top_distdir) && pwd`; \
153 distdir=`cd $(distdir) && pwd`; \
154 cd $(top_srcdir) \
155 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnits tests/tail/Makefile
156 @for file in $(DISTFILES); do \
157 d=$(srcdir); \
158 test -f $(distdir)/$$file \
159 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
160 || cp -p $$d/$$file $(distdir)/$$file; \
161 done
162 check-TESTS: $(TESTS)
163 @failed=0; all=0; \
164 srcdir=$(srcdir); export srcdir; \
165 for tst in $(TESTS); do \
166 if test -f $$tst; then dir=.; \
167 else dir="$(srcdir)"; fi; \
168 if $(TESTS_ENVIRONMENT) $$dir/$$tst; then \
169 all=`expr $$all + 1`; \
170 echo "PASS: $$tst"; \
171 elif test $$? -ne 77; then \
172 all=`expr $$all + 1`; \
173 failed=`expr $$failed + 1`; \
174 echo "FAIL: $$tst"; \
175 fi; \
176 done; \
177 if test "$$failed" -eq 0; then \
178 banner="All $$all tests passed"; \
179 else \
180 banner="$$failed of $$all tests failed"; \
181 fi; \
182 dashes=`echo "$$banner" | sed s/./=/g`; \
183 echo "$$dashes"; \
184 echo "$$banner"; \
185 echo "$$dashes"; \
186 test "$$failed" -eq 0
187 info:
188 dvi:
189 check: all
190 $(MAKE) check-TESTS
191 installcheck:
192 install-exec:
193 @$(NORMAL_INSTALL)
195 install-data:
196 @$(NORMAL_INSTALL)
198 install: install-exec install-data all
201 uninstall:
203 install-strip:
204 $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
205 installdirs:
208 mostlyclean-generic:
209 -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
211 clean-generic:
212 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
214 distclean-generic:
215 -rm -f Makefile $(DISTCLEANFILES)
216 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
217 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
219 maintainer-clean-generic:
220 -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
221 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
222 mostlyclean: mostlyclean-generic
224 clean: clean-generic mostlyclean
226 distclean: distclean-generic clean
227 -rm -f config.status
229 maintainer-clean: maintainer-clean-generic distclean
230 @echo "This command is intended for maintainers to use;"
231 @echo "it deletes files that may require special tools to rebuild."
233 .PHONY: tags distdir check-TESTS info dvi installcheck install-exec \
234 install-data install uninstall all installdirs mostlyclean-generic \
235 distclean-generic clean-generic maintainer-clean-generic clean \
236 mostlyclean distclean maintainer-clean
238 $(srcdir)/$x-tests: $(mk_script) Test.pm
239 $(PERL) -I. -w -- $(mk_script) ../../src/$x > $@.n
240 mv $@.n $@
241 chmod 755 $@
243 check: $(maint_gen)
245 Makefile.am: ../Makefile.am.in Test.pm $(mk_script)
246 rm -f $@ $@t
247 sed -n '1,/^##test-files-begin/p' $< > $@t
248 tool=`echo $(subdir)|sed 's/^tests.//;s/-test//'`; \
249 echo "x = $$tool" >> $@t
250 $(PERL) -I. -w -- $(mk_script) --list >> $@t
251 sed -n '/^##test-files-end/,$$p' $< >> $@t
252 mv $@t $@
254 # Tell versions [3.59,3.63) of GNU make to not export all variables.
255 # Otherwise a system limit (for SysV at least) may be exceeded.
256 .NOEXPORT: