.
[platform/upstream/coreutils.git] / tests / tail / Makefile.in
1 # Makefile.in generated by automake 1.6 from Makefile.am.
2 # @configure_input@
3
4 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
5 # Free Software Foundation, Inc.
6 # This Makefile.in is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
9
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 # PARTICULAR PURPOSE.
14
15 @SET_MAKE@
16 SHELL = @SHELL@
17
18 srcdir = @srcdir@
19 top_srcdir = @top_srcdir@
20 VPATH = @srcdir@
21 prefix = @prefix@
22 exec_prefix = @exec_prefix@
23
24 bindir = @bindir@
25 sbindir = @sbindir@
26 libexecdir = @libexecdir@
27 datadir = @datadir@
28 sysconfdir = @sysconfdir@
29 sharedstatedir = @sharedstatedir@
30 localstatedir = @localstatedir@
31 libdir = @libdir@
32 infodir = @infodir@
33 mandir = @mandir@
34 includedir = @includedir@
35 oldincludedir = /usr/include
36 pkgdatadir = $(datadir)/@PACKAGE@
37 pkglibdir = $(libdir)/@PACKAGE@
38 pkgincludedir = $(includedir)/@PACKAGE@
39 top_builddir = ../..
40
41 ACLOCAL = @ACLOCAL@
42 AUTOCONF = @AUTOCONF@
43 AUTOMAKE = @AUTOMAKE@
44 AUTOHEADER = @AUTOHEADER@
45
46 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
47 INSTALL = @INSTALL@
48 INSTALL_PROGRAM = @INSTALL_PROGRAM@
49 INSTALL_DATA = @INSTALL_DATA@
50 install_sh_DATA = $(install_sh) -c -m 644
51 install_sh_PROGRAM = $(install_sh) -c
52 INSTALL_SCRIPT = @INSTALL_SCRIPT@
53 INSTALL_HEADER = $(INSTALL_DATA)
54 transform = @program_transform_name@
55 NORMAL_INSTALL = :
56 PRE_INSTALL = :
57 POST_INSTALL = :
58 NORMAL_UNINSTALL = :
59 PRE_UNINSTALL = :
60 POST_UNINSTALL = :
61 host_alias = @host_alias@
62 host_triplet = @host@
63
64 EXEEXT = @EXEEXT@
65 OBJEXT = @OBJEXT@
66 PATH_SEPARATOR = @PATH_SEPARATOR@
67 AMTAR = @AMTAR@
68 AWK = @AWK@
69 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
70 CATOBJEXT = @CATOBJEXT@
71 CC = @CC@
72 CPP = @CPP@
73 DATADIRNAME = @DATADIRNAME@
74 DEPDIR = @DEPDIR@
75 DF_PROG = @DF_PROG@
76 FESETROUND_LIBM = @FESETROUND_LIBM@
77 GENCAT = @GENCAT@
78 GETLOADAVG_LIBS = @GETLOADAVG_LIBS@
79 GLIBC21 = @GLIBC21@
80 GMSGFMT = @GMSGFMT@
81 GNU_PACKAGE = @GNU_PACKAGE@
82 HAVE_LIB = @HAVE_LIB@
83 HELP2MAN = @HELP2MAN@
84 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
85 INSTOBJEXT = @INSTOBJEXT@
86 INTLBISON = @INTLBISON@
87 INTLLIBS = @INTLLIBS@
88 INTLOBJS = @INTLOBJS@
89 INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
90 KMEM_GROUP = @KMEM_GROUP@
91 LIB = @LIB@
92 LIBICONV = @LIBICONV@
93 LIBINTL = @LIBINTL@
94 LIB_CLOCK_GETTIME = @LIB_CLOCK_GETTIME@
95 LIB_CRYPT = @LIB_CRYPT@
96 LIB_NANOSLEEP = @LIB_NANOSLEEP@
97 LTLIB = @LTLIB@
98 LTLIBICONV = @LTLIBICONV@
99 LTLIBINTL = @LTLIBINTL@
100 MAN = @MAN@
101 MKINSTALLDIRS = @MKINSTALLDIRS@
102 NEED_SETGID = @NEED_SETGID@
103 OPTIONAL_BIN_PROGS = @OPTIONAL_BIN_PROGS@
104 OPTIONAL_BIN_ZCRIPTS = @OPTIONAL_BIN_ZCRIPTS@
105 PACKAGE = @PACKAGE@
106
107 PERL = @PERL@
108 POSUB = @POSUB@
109 RANLIB = @RANLIB@
110 SEQ_LIBM = @SEQ_LIBM@
111 SQRT_LIBM = @SQRT_LIBM@
112 STRIP = @STRIP@
113 U = @U@
114 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
115 USE_NLS = @USE_NLS@
116 VERSION = @VERSION@
117 YACC = @YACC@
118 am__include = @am__include@
119 am__quote = @am__quote@
120 install_sh = @install_sh@
121
122 x = tail
123 explicit = 
124 maint_gen = obs-c1.I obs-c1.X obs-c2.I obs-c2.X obs-c3.I obs-c3.X obs-c4.I \
125 obs-c4.X obs-c5.I obs-c5.X obs-l1.I obs-l1.X obs-l2.I obs-l2.X obs-l3.I \
126 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 \
127 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 \
128 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 \
129 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 \
130 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 \
131 n-5.X n-5a.I n-5a.X n-5b.I n-5b.X
132
133 run_gen = obs-c1.O obs-c1.E obs-c2.O obs-c2.E obs-c3.O obs-c3.E obs-c4.O \
134 obs-c4.E obs-c5.O obs-c5.E obs-l1.O obs-l1.E obs-l2.O obs-l2.E obs-l3.O \
135 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 \
136 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 \
137 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 \
138 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 \
139 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 \
140 n-5.E n-5a.O n-5a.E n-5b.O n-5b.E
141
142
143 EXTRA_DIST = Test.pm $x-tests $(explicit) $(maint_gen)
144 noinst_SCRIPTS = $x-tests
145 editpl = sed -e 's,@''PERL''@,$(PERL),g' -e 's,@''srcdir''@,@srcdir@,g'
146
147 TESTS = $x-tests
148
149 mk_script = $(srcdir)/../mk-script
150
151 MAINTAINERCLEANFILES = $x-tests $(maint_gen)
152 CLEANFILES = $(run_gen)
153 subdir = tests/tail
154 mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
155 CONFIG_HEADER = $(top_builddir)/config.h
156 CONFIG_CLEAN_FILES =
157 SCRIPTS = $(noinst_SCRIPTS)
158
159 DIST_SOURCES =
160 DIST_COMMON = Makefile.am Makefile.in
161 all: all-am
162
163 .SUFFIXES:
164 $(srcdir)/Makefile.in:  Makefile.am  $(top_srcdir)/configure.ac $(ACLOCAL_M4)
165         cd $(top_srcdir) && \
166           $(AUTOMAKE) --gnits  tests/tail/Makefile
167 Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
168         cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
169 uninstall-info-am:
170 tags: TAGS
171 TAGS:
172
173
174 check-TESTS: $(TESTS)
175         @failed=0; all=0; xfail=0; xpass=0; \
176         srcdir=$(srcdir); export srcdir; \
177         list='$(TESTS)'; \
178         if test -n "$$list"; then \
179           for tst in $$list; do \
180             if test -f ./$$tst; then dir=./; \
181             elif test -f $$tst; then dir=; \
182             else dir="$(srcdir)/"; fi; \
183             if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
184               all=`expr $$all + 1`; \
185               case " $(XFAIL_TESTS) " in \
186               *" $$tst "*) \
187                 xpass=`expr $$xpass + 1`; \
188                 failed=`expr $$failed + 1`; \
189                 echo "XPASS: $$tst"; \
190               ;; \
191               *) \
192                 echo "PASS: $$tst"; \
193               ;; \
194               esac; \
195             elif test $$? -ne 77; then \
196               all=`expr $$all + 1`; \
197               case " $(XFAIL_TESTS) " in \
198               *" $$tst "*) \
199                 xfail=`expr $$xfail + 1`; \
200                 echo "XFAIL: $$tst"; \
201               ;; \
202               *) \
203                 failed=`expr $$failed + 1`; \
204                 echo "FAIL: $$tst"; \
205               ;; \
206               esac; \
207             fi; \
208           done; \
209           if test "$$failed" -eq 0; then \
210             if test "$$xfail" -eq 0; then \
211               banner="All $$all tests passed"; \
212             else \
213               banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
214             fi; \
215           else \
216             if test "$$xpass" -eq 0; then \
217               banner="$$failed of $$all tests failed"; \
218             else \
219               banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
220             fi; \
221           fi; \
222           dashes=`echo "$$banner" | sed s/./=/g`; \
223           echo "$$dashes"; \
224           echo "$$banner"; \
225           echo "$$dashes"; \
226           test "$$failed" -eq 0; \
227         else :; fi
228 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
229
230 top_distdir = ../..
231 distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
232
233 distdir: $(DISTFILES)
234         @for file in $(DISTFILES); do \
235           if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
236           dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
237           if test "$$dir" != "$$file" && test "$$dir" != "."; then \
238             dir="/$$dir"; \
239             $(mkinstalldirs) "$(distdir)$$dir"; \
240           else \
241             dir=''; \
242           fi; \
243           if test -d $$d/$$file; then \
244             cp -pR $$d/$$file $(distdir)$$dir \
245             || exit 1; \
246           else \
247             test -f $(distdir)/$$file \
248             || cp -p $$d/$$file $(distdir)/$$file \
249             || exit 1; \
250           fi; \
251         done
252 check-am: all-am
253         $(MAKE) $(AM_MAKEFLAGS) check-TESTS
254 check: check-am
255 all-am: Makefile $(SCRIPTS)
256
257 installdirs:
258
259 install: install-am
260 install-exec: install-exec-am
261 install-data: install-data-am
262 uninstall: uninstall-am
263
264 install-am: all-am
265         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
266
267 installcheck: installcheck-am
268 install-strip:
269         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
270           INSTALL_STRIP_FLAG=-s \
271           `test -z '$(STRIP)' || \
272             echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
273 mostlyclean-generic:
274
275 clean-generic:
276         -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
277
278 distclean-generic:
279         -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
280
281 maintainer-clean-generic:
282         @echo "This command is intended for maintainers to use"
283         @echo "it deletes files that may require special tools to rebuild."
284         -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
285 clean: clean-am
286
287 clean-am: clean-generic mostlyclean-am
288
289 distclean: distclean-am
290
291 distclean-am: clean-am distclean-generic
292
293 dvi: dvi-am
294
295 dvi-am:
296
297 info: info-am
298
299 info-am:
300
301 install-data-am:
302
303 install-exec-am:
304
305 install-info: install-info-am
306
307 install-man:
308
309 installcheck-am:
310
311 maintainer-clean: maintainer-clean-am
312
313 maintainer-clean-am: distclean-am maintainer-clean-generic
314
315 mostlyclean: mostlyclean-am
316
317 mostlyclean-am: mostlyclean-generic
318
319 uninstall-am: uninstall-info-am
320
321 .PHONY: all all-am check check-TESTS check-am clean clean-generic \
322         distclean distclean-generic distdir dvi dvi-am info info-am \
323         install install-am install-data install-data-am install-exec \
324         install-exec-am install-info install-info-am install-man \
325         install-strip installcheck installcheck-am installdirs \
326         maintainer-clean maintainer-clean-generic mostlyclean \
327         mostlyclean-generic uninstall uninstall-am uninstall-info-am
328
329 $(srcdir)/$x-tests: $(mk_script) Test.pm
330         $(PERL) -I$(srcdir) -w -- $(mk_script) ../../src/$x > $@.n
331         mv $@.n $@
332         chmod 755 $@
333
334 check: $(maint_gen)
335
336 Makefile.am: ../Makefile.am.in Test.pm $(mk_script)
337         rm -f $@ $@t
338         sed -n '1,/^##test-files-begin/p' $< > $@t
339         tool=`echo $(subdir)|sed 's/^tests.//;s/-test//'`; \
340           echo "x = $$tool" >> $@t
341         $(PERL) -I$(srcdir) -w -- $(mk_script) --list >> $@t
342         sed -n '/^##test-files-end/,$$p' $< >> $@t
343         mv $@t $@
344 # Tell versions [3.59,3.63) of GNU make to not export all variables.
345 # Otherwise a system limit (for SysV at least) may be exceeded.
346 .NOEXPORT: