.
[platform/upstream/coreutils.git] / tests / tail / Makefile.in
1 # Makefile.in generated by automake 1.7.4 from Makefile.am.
2 # @configure_input@
3
4 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
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
17 srcdir = @srcdir@
18 top_srcdir = @top_srcdir@
19 VPATH = @srcdir@
20 pkgdatadir = $(datadir)/@PACKAGE@
21 pkglibdir = $(libdir)/@PACKAGE@
22 pkgincludedir = $(includedir)/@PACKAGE@
23 top_builddir = ../..
24
25 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
26 INSTALL = @INSTALL@
27 install_sh_DATA = $(install_sh) -c -m 644
28 install_sh_PROGRAM = $(install_sh) -c
29 install_sh_SCRIPT = $(install_sh) -c
30 INSTALL_HEADER = $(INSTALL_DATA)
31 transform = $(program_transform_name)
32 NORMAL_INSTALL = :
33 PRE_INSTALL = :
34 POST_INSTALL = :
35 NORMAL_UNINSTALL = :
36 PRE_UNINSTALL = :
37 POST_UNINSTALL = :
38 host_triplet = @host@
39 ACLOCAL = @ACLOCAL@
40 ALLOCA = @ALLOCA@
41 AMDEP_FALSE = @AMDEP_FALSE@
42 AMDEP_TRUE = @AMDEP_TRUE@
43 AMTAR = @AMTAR@
44 AUTOCONF = @AUTOCONF@
45 AUTOHEADER = @AUTOHEADER@
46 AUTOMAKE = @AUTOMAKE@
47 AWK = @AWK@
48 CC = @CC@
49 CCDEPMODE = @CCDEPMODE@
50 CFLAGS = @CFLAGS@
51 CPP = @CPP@
52 CPPFLAGS = @CPPFLAGS@
53 CYGPATH_W = @CYGPATH_W@
54 DEFS = @DEFS@
55 DEPDIR = @DEPDIR@
56 DF_PROG = @DF_PROG@
57 ECHO_C = @ECHO_C@
58 ECHO_N = @ECHO_N@
59 ECHO_T = @ECHO_T@
60 EGREP = @EGREP@
61 EXEEXT = @EXEEXT@
62 FESETROUND_LIBM = @FESETROUND_LIBM@
63 GETLOADAVG_LIBS = @GETLOADAVG_LIBS@
64 GLIBC21 = @GLIBC21@
65 GMSGFMT = @GMSGFMT@
66 GNU_PACKAGE = @GNU_PACKAGE@
67 HELP2MAN = @HELP2MAN@
68 INSTALL_DATA = @INSTALL_DATA@
69 INSTALL_PROGRAM = @INSTALL_PROGRAM@
70 INSTALL_SCRIPT = @INSTALL_SCRIPT@
71 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
72 INTLLIBS = @INTLLIBS@
73 KMEM_GROUP = @KMEM_GROUP@
74 LDFLAGS = @LDFLAGS@
75 LIBICONV = @LIBICONV@
76 LIBINTL = @LIBINTL@
77 LIBOBJS = @LIBOBJS@
78 LIBS = @LIBS@
79 LIB_CLOCK_GETTIME = @LIB_CLOCK_GETTIME@
80 LIB_CRYPT = @LIB_CRYPT@
81 LIB_NANOSLEEP = @LIB_NANOSLEEP@
82 LN_S = @LN_S@
83 LTLIBICONV = @LTLIBICONV@
84 LTLIBINTL = @LTLIBINTL@
85 LTLIBOBJS = @LTLIBOBJS@
86 MAKEINFO = @MAKEINFO@
87 MAN = @MAN@
88 MKINSTALLDIRS = @MKINSTALLDIRS@
89 MSGFMT = @MSGFMT@
90 MSGMERGE = @MSGMERGE@
91 NEED_SETGID = @NEED_SETGID@
92 OBJEXT = @OBJEXT@
93 OPTIONAL_BIN_PROGS = @OPTIONAL_BIN_PROGS@
94 OPTIONAL_BIN_ZCRIPTS = @OPTIONAL_BIN_ZCRIPTS@
95 PACKAGE = @PACKAGE@
96 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
97 PACKAGE_NAME = @PACKAGE_NAME@
98 PACKAGE_STRING = @PACKAGE_STRING@
99 PACKAGE_TARNAME = @PACKAGE_TARNAME@
100 PACKAGE_VERSION = @PACKAGE_VERSION@
101 PATH_SEPARATOR = @PATH_SEPARATOR@
102 PERL = @PERL@
103 POSUB = @POSUB@
104 POW_LIB = @POW_LIB@
105 RANLIB = @RANLIB@
106 SEQ_LIBM = @SEQ_LIBM@
107 SET_MAKE = @SET_MAKE@
108 SHELL = @SHELL@
109 SQRT_LIBM = @SQRT_LIBM@
110 STRIP = @STRIP@
111 U = @U@
112 USE_NLS = @USE_NLS@
113 VERSION = @VERSION@
114 XGETTEXT = @XGETTEXT@
115 YACC = @YACC@
116 ac_ct_CC = @ac_ct_CC@
117 ac_ct_RANLIB = @ac_ct_RANLIB@
118 ac_ct_STRIP = @ac_ct_STRIP@
119 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
120 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
121 am__include = @am__include@
122 am__leading_dot = @am__leading_dot@
123 am__quote = @am__quote@
124 bindir = @bindir@
125 build = @build@
126 build_alias = @build_alias@
127 build_cpu = @build_cpu@
128 build_os = @build_os@
129 build_vendor = @build_vendor@
130 datadir = @datadir@
131 exec_prefix = @exec_prefix@
132 host = @host@
133 host_alias = @host_alias@
134 host_cpu = @host_cpu@
135 host_os = @host_os@
136 host_vendor = @host_vendor@
137 includedir = @includedir@
138 infodir = @infodir@
139 install_sh = @install_sh@
140 libdir = @libdir@
141 libexecdir = @libexecdir@
142 localstatedir = @localstatedir@
143 mandir = @mandir@
144 oldincludedir = @oldincludedir@
145 prefix = @prefix@
146 program_transform_name = @program_transform_name@
147 sbindir = @sbindir@
148 sharedstatedir = @sharedstatedir@
149 sysconfdir = @sysconfdir@
150 target_alias = @target_alias@
151
152 x = tail
153 explicit = 
154 maint_gen = obs-c1.I obs-c1.X obs-c2.I obs-c2.X obs-c3.I obs-c3.X obs-c4.I \
155 obs-c4.X obs-c5.I obs-c5.X obs-l1.I obs-l1.X obs-l2.I obs-l2.X obs-l3.I \
156 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 \
157 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 \
158 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 \
159 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 \
160 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 \
161 n-5.X n-5a.I n-5a.X n-5b.I n-5b.X
162
163 run_gen = obs-c1.O obs-c1.E obs-c2.O obs-c2.E obs-c3.O obs-c3.E obs-c4.O \
164 obs-c4.E obs-c5.O obs-c5.E obs-l1.O obs-l1.E obs-l2.O obs-l2.E obs-l3.O \
165 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 \
166 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 \
167 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 \
168 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 \
169 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 \
170 n-5.E n-5a.O n-5a.E n-5b.O n-5b.E
171
172
173 EXTRA_DIST = Test.pm $x-tests $(explicit) $(maint_gen)
174 noinst_SCRIPTS = $x-tests
175
176 editpl = sed -e 's,@''PERL''@,$(PERL),g' -e 's,@''srcdir''@,$(srcdir),g'
177
178 TESTS = $x-tests
179
180 mk_script = $(srcdir)/../mk-script
181
182 MAINTAINERCLEANFILES = $x-tests $(maint_gen)
183 CLEANFILES = $(run_gen)
184 subdir = tests/tail
185 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
186 mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
187 CONFIG_HEADER = $(top_builddir)/config.h
188 CONFIG_CLEAN_FILES =
189 SCRIPTS = $(noinst_SCRIPTS)
190
191 DIST_SOURCES =
192 DIST_COMMON = Makefile.am Makefile.in
193 all: all-am
194
195 .SUFFIXES:
196 $(srcdir)/Makefile.in:  Makefile.am  $(top_srcdir)/configure.ac $(ACLOCAL_M4)
197         cd $(top_srcdir) && \
198           $(AUTOMAKE) --gnits  tests/tail/Makefile
199 Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
200         cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
201 uninstall-info-am:
202 tags: TAGS
203 TAGS:
204
205 ctags: CTAGS
206 CTAGS:
207
208
209 check-TESTS: $(TESTS)
210         @failed=0; all=0; xfail=0; xpass=0; skip=0; \
211         srcdir=$(srcdir); export srcdir; \
212         list='$(TESTS)'; \
213         if test -n "$$list"; then \
214           for tst in $$list; do \
215             if test -f ./$$tst; then dir=./; \
216             elif test -f $$tst; then dir=; \
217             else dir="$(srcdir)/"; fi; \
218             if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
219               all=`expr $$all + 1`; \
220               case " $(XFAIL_TESTS) " in \
221               *" $$tst "*) \
222                 xpass=`expr $$xpass + 1`; \
223                 failed=`expr $$failed + 1`; \
224                 echo "XPASS: $$tst"; \
225               ;; \
226               *) \
227                 echo "PASS: $$tst"; \
228               ;; \
229               esac; \
230             elif test $$? -ne 77; then \
231               all=`expr $$all + 1`; \
232               case " $(XFAIL_TESTS) " in \
233               *" $$tst "*) \
234                 xfail=`expr $$xfail + 1`; \
235                 echo "XFAIL: $$tst"; \
236               ;; \
237               *) \
238                 failed=`expr $$failed + 1`; \
239                 echo "FAIL: $$tst"; \
240               ;; \
241               esac; \
242             else \
243               skip=`expr $$skip + 1`; \
244               echo "SKIP: $$tst"; \
245             fi; \
246           done; \
247           if test "$$failed" -eq 0; then \
248             if test "$$xfail" -eq 0; then \
249               banner="All $$all tests passed"; \
250             else \
251               banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
252             fi; \
253           else \
254             if test "$$xpass" -eq 0; then \
255               banner="$$failed of $$all tests failed"; \
256             else \
257               banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
258             fi; \
259           fi; \
260           dashes="$$banner"; \
261           skipped=""; \
262           if test "$$skip" -ne 0; then \
263             skipped="($$skip tests were not run)"; \
264             test `echo "$$skipped" | wc -c` -gt `echo "$$banner" | wc -c` && \
265               dashes="$$skipped"; \
266           fi; \
267           report=""; \
268           if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
269             report="Please report to $(PACKAGE_BUGREPORT)"; \
270             test `echo "$$report" | wc -c` -gt `echo "$$banner" | wc -c` && \
271               dashes="$$report"; \
272           fi; \
273           dashes=`echo "$$dashes" | sed s/./=/g`; \
274           echo "$$dashes"; \
275           echo "$$banner"; \
276           test -n "$$skipped" && echo "$$skipped"; \
277           test -n "$$report" && echo "$$report"; \
278           echo "$$dashes"; \
279           test "$$failed" -eq 0; \
280         else :; fi
281 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
282
283 top_distdir = ../..
284 distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
285
286 distdir: $(DISTFILES)
287         @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
288         topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
289         list='$(DISTFILES)'; for file in $$list; do \
290           case $$file in \
291             $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
292             $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
293           esac; \
294           if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
295           dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
296           if test "$$dir" != "$$file" && test "$$dir" != "."; then \
297             dir="/$$dir"; \
298             $(mkinstalldirs) "$(distdir)$$dir"; \
299           else \
300             dir=''; \
301           fi; \
302           if test -d $$d/$$file; then \
303             if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
304               cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
305             fi; \
306             cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
307           else \
308             test -f $(distdir)/$$file \
309             || cp -p $$d/$$file $(distdir)/$$file \
310             || exit 1; \
311           fi; \
312         done
313 check-am: all-am
314         $(MAKE) $(AM_MAKEFLAGS) check-TESTS
315 check: check-am
316 all-am: Makefile $(SCRIPTS)
317
318 installdirs:
319
320 install: install-am
321 install-exec: install-exec-am
322 install-data: install-data-am
323 uninstall: uninstall-am
324
325 install-am: all-am
326         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
327
328 installcheck: installcheck-am
329 install-strip:
330         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
331           INSTALL_STRIP_FLAG=-s \
332           `test -z '$(STRIP)' || \
333             echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
334 mostlyclean-generic:
335
336 clean-generic:
337         -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
338
339 distclean-generic:
340         -rm -f Makefile $(CONFIG_CLEAN_FILES)
341
342 maintainer-clean-generic:
343         @echo "This command is intended for maintainers to use"
344         @echo "it deletes files that may require special tools to rebuild."
345         -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
346 clean: clean-am
347
348 clean-am: clean-generic mostlyclean-am
349
350 distclean: distclean-am
351
352 distclean-am: clean-am distclean-generic
353
354 dvi: dvi-am
355
356 dvi-am:
357
358 info: info-am
359
360 info-am:
361
362 install-data-am:
363
364 install-exec-am:
365
366 install-info: install-info-am
367
368 install-man:
369
370 installcheck-am:
371
372 maintainer-clean: maintainer-clean-am
373
374 maintainer-clean-am: distclean-am maintainer-clean-generic
375
376 mostlyclean: mostlyclean-am
377
378 mostlyclean-am: mostlyclean-generic
379
380 pdf: pdf-am
381
382 pdf-am:
383
384 ps: ps-am
385
386 ps-am:
387
388 uninstall-am: uninstall-info-am
389
390 .PHONY: all all-am check check-TESTS check-am clean clean-generic \
391         distclean distclean-generic distdir dvi dvi-am info info-am \
392         install install-am install-data install-data-am install-exec \
393         install-exec-am install-info install-info-am install-man \
394         install-strip installcheck installcheck-am installdirs \
395         maintainer-clean maintainer-clean-generic mostlyclean \
396         mostlyclean-generic pdf pdf-am ps ps-am uninstall uninstall-am \
397         uninstall-info-am
398
399 $(srcdir)/$x-tests: $(mk_script) Test.pm
400         $(PERL) -I$(srcdir) -w -- $(mk_script) ../../src/$x > $@.n
401         mv $@.n $@
402         chmod 755 $@
403
404 check: $(maint_gen)
405
406 Makefile.am: ../Makefile.am.in Test.pm $(mk_script)
407         rm -f $@ $@t
408         sed -n '1,/^##test-files-begin/p' $< > $@t
409         tool=`echo $(subdir)|sed 's/^tests.//;s/-test//'`; \
410           echo "x = $$tool" >> $@t
411         $(PERL) -I$(srcdir) -w -- $(mk_script) --list >> $@t
412         sed -n '/^##test-files-end/,$$p' $< >> $@t
413         mv $@t $@
414 # Tell versions [3.59,3.63) of GNU make to not export all variables.
415 # Otherwise a system limit (for SysV at least) may be exceeded.
416 .NOEXPORT: