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