(same_file): New function
[coreutils.git] / tests / tail / Makefile.in
blob06884f545bdadc0b2552aebbe86119b6d78357c5
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.
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.
14 SHELL = /bin/sh
16 srcdir = @srcdir@
17 top_srcdir = @top_srcdir@
18 VPATH = @srcdir@
19 prefix = @prefix@
20 exec_prefix = @exec_prefix@
22 bindir = @bindir@
23 sbindir = @sbindir@
24 libexecdir = @libexecdir@
25 datadir = @datadir@
26 sysconfdir = @sysconfdir@
27 sharedstatedir = @sharedstatedir@
28 localstatedir = @localstatedir@
29 libdir = @libdir@
30 infodir = @infodir@
31 mandir = @mandir@
32 includedir = @includedir@
33 oldincludedir = /usr/include
35 DISTDIR =
37 pkgdatadir = $(datadir)/@PACKAGE@
38 pkglibdir = $(libdir)/@PACKAGE@
39 pkgincludedir = $(includedir)/@PACKAGE@
41 top_builddir = ../..
43 ACLOCAL = @ACLOCAL@
44 AUTOCONF = @AUTOCONF@
45 AUTOMAKE = @AUTOMAKE@
46 AUTOHEADER = @AUTOHEADER@
48 INSTALL = @INSTALL@
49 INSTALL_PROGRAM = @INSTALL_PROGRAM@
50 INSTALL_DATA = @INSTALL_DATA@
51 INSTALL_SCRIPT = @INSTALL_SCRIPT@
52 transform = @program_transform_name@
54 NORMAL_INSTALL = :
55 PRE_INSTALL = :
56 POST_INSTALL = :
57 NORMAL_UNINSTALL = :
58 PRE_UNINSTALL = :
59 POST_UNINSTALL = :
60 CATALOGS = @CATALOGS@
61 CATOBJEXT = @CATOBJEXT@
62 CC = @CC@
63 CPP = @CPP@
64 DATADIRNAME = @DATADIRNAME@
65 GENCAT = @GENCAT@
66 GMOFILES = @GMOFILES@
67 GMSGFMT = @GMSGFMT@
68 GT_NO = @GT_NO@
69 GT_YES = @GT_YES@
70 INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@
71 INSTOBJEXT = @INSTOBJEXT@
72 INTLDEPS = @INTLDEPS@
73 INTLLIBS = @INTLLIBS@
74 INTLOBJS = @INTLOBJS@
75 LIBOBJS = @LIBOBJS@
76 MAKEINFO = @MAKEINFO@
77 MKINSTALLDIRS = @MKINSTALLDIRS@
78 MSGFMT = @MSGFMT@
79 PACKAGE = @PACKAGE@
80 POFILES = @POFILES@
81 POSUB = @POSUB@
82 POW_LIBM = @POW_LIBM@
83 RANLIB = @RANLIB@
84 U = @U@
85 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
86 USE_NLS = @USE_NLS@
87 VERSION = @VERSION@
88 l = @l@
90 x = tail
91 explicit =
92 maint_gen = obs-c1.I obs-c1.X obs-c2.I obs-c2.X obs-c3.I obs-c3.X obs-c4.I \
93 obs-c4.X obs-c5.I obs-c5.X obs-l1.I obs-l1.X obs-l2.I obs-l2.X obs-l3.I \
94 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 \
95 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 \
96 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 \
97 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 \
98 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 \
99 n-5.X n-5a.I n-5a.X n-5b.I n-5b.X
100 run_gen = obs-c1.O obs-c1.E obs-c2.O obs-c2.E obs-c3.O obs-c3.E obs-c4.O \
101 obs-c4.E obs-c5.O obs-c5.E obs-l1.O obs-l1.E obs-l2.O obs-l2.E obs-l3.O \
102 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 \
103 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 \
104 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 \
105 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 \
106 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 \
107 n-5.E n-5a.O n-5a.E n-5b.O n-5b.E
109 EXTRA_DIST = Test.pm $x-tests $(explicit) $(maint_gen)
110 noinst_SCRIPTS = $x-tests
112 PERL = @PERL@
113 editpl = sed -e 's,@''PERL''@,$(PERL),g' -e 's,@''srcdir''@,@srcdir@,g'
115 TESTS = $x-tests
117 mk_script = $(srcdir)/../mk-script
119 MAINTAINERCLEANFILES = $x-tests $(maint_gen)
120 CLEANFILES = $(run_gen)
121 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
122 CONFIG_HEADER = ../../config.h
123 CONFIG_CLEAN_FILES =
124 SCRIPTS = $(noinst_SCRIPTS)
126 DIST_COMMON = Makefile.am Makefile.in
129 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
131 TAR = tar
132 GZIP = --best
133 all: Makefile $(SCRIPTS)
135 .SUFFIXES:
136 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
137 cd $(top_srcdir) && $(AUTOMAKE) --gnits tests/tail/Makefile
139 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
140 cd $(top_builddir) \
141 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
143 tags: TAGS
144 TAGS:
147 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
149 subdir = tests/tail
151 distdir: $(DISTFILES)
152 here=`cd $(top_builddir) && pwd`; \
153 top_distdir=`cd $(top_distdir) && pwd`; \
154 distdir=`cd $(distdir) && pwd`; \
155 cd $(top_srcdir) \
156 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnits tests/tail/Makefile
157 @for file in $(DISTFILES); do \
158 d=$(srcdir); \
159 test -f $(distdir)/$$file \
160 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
161 || cp -p $$d/$$file $(distdir)/$$file; \
162 done
163 check-TESTS: $(TESTS)
164 @failed=0; all=0; \
165 srcdir=$(srcdir); export srcdir; \
166 for tst in $(TESTS); do \
167 if test -f $$tst; then dir=.; \
168 else dir="$(srcdir)"; fi; \
169 if $(TESTS_ENVIRONMENT) $$dir/$$tst; then \
170 all=`expr $$all + 1`; \
171 echo "PASS: $$tst"; \
172 elif test $$? -ne 77; then \
173 all=`expr $$all + 1`; \
174 failed=`expr $$failed + 1`; \
175 echo "FAIL: $$tst"; \
176 fi; \
177 done; \
178 if test "$$failed" -eq 0; then \
179 banner="All $$all tests passed"; \
180 else \
181 banner="$$failed of $$all tests failed"; \
182 fi; \
183 dashes=`echo "$$banner" | sed s/./=/g`; \
184 echo "$$dashes"; \
185 echo "$$banner"; \
186 echo "$$dashes"; \
187 test "$$failed" -eq 0
188 info:
189 dvi:
190 check: all
191 $(MAKE) check-TESTS
192 installcheck:
193 install-exec:
194 @$(NORMAL_INSTALL)
196 install-data:
197 @$(NORMAL_INSTALL)
199 install: install-exec install-data all
202 uninstall:
204 install-strip:
205 $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
206 installdirs:
209 mostlyclean-generic:
210 -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
212 clean-generic:
213 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
215 distclean-generic:
216 -rm -f Makefile $(DISTCLEANFILES)
217 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
218 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
220 maintainer-clean-generic:
221 -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
222 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
223 mostlyclean: mostlyclean-generic
225 clean: clean-generic mostlyclean
227 distclean: distclean-generic clean
228 -rm -f config.status
230 maintainer-clean: maintainer-clean-generic distclean
231 @echo "This command is intended for maintainers to use;"
232 @echo "it deletes files that may require special tools to rebuild."
234 .PHONY: tags distdir check-TESTS info dvi installcheck install-exec \
235 install-data install uninstall all installdirs mostlyclean-generic \
236 distclean-generic clean-generic maintainer-clean-generic clean \
237 mostlyclean distclean maintainer-clean
239 $(srcdir)/$x-tests: $(mk_script) Test.pm
240 $(PERL) -I. -w -- $(mk_script) ../../src/$x > $@.n
241 mv $@.n $@
242 chmod 755 $@
244 check: $(maint_gen)
246 Makefile.am: ../Makefile.am.in Test.pm $(mk_script)
247 rm -f $@ $@t
248 sed -n '1,/^##test-files-begin/p' $< > $@t
249 tool=`echo $(subdir)|sed 's/^tests.//;s/-test//'`; \
250 echo "x = $$tool" >> $@t
251 $(PERL) -I. -w -- $(mk_script) --list >> $@t
252 sed -n '/^##test-files-end/,$$p' $< >> $@t
253 mv $@t $@
255 # Tell versions [3.59,3.63) of GNU make to not export all variables.
256 # Otherwise a system limit (for SysV at least) may be exceeded.
257 .NOEXPORT: