.
[coreutils.git] / tests / cut / Makefile.in
blob174f8473e08119cdf72e204f2ae63af6fe2d477a
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 = cut
90 explicit =
91 maint_gen = 1.I 1.X 2.I 2.X 3.I 3.X 4.I 4.X 5.I 5.X 6.I 6.X 7.I 7.X 8.I 8.X \
92 9.I 9.X a.I a.X b.I b.X c.I c.X d.I d.X e.I e.X f.I f.X g.I g.X h.I h.X i.I \
93 i.X j.I j.X k.I k.X l.I l.X m.I m.X n.I n.X o.I o.X p.I p.X q.I q.X r.I r.X \
94 s.I s.X t.I t.X u.I u.X v.I v.X w.I w.X x.I x.X y.I y.X z.I z.X empty-fl.I \
95 empty-fl.X missing-fl.I missing-fl.X empty-bl.I empty-bl.X missing-bl.I \
96 missing-bl.X empty-f1.I empty-f1.X empty-f2.I empty-f2.X o-delim.I o-delim.X \
97 nul-idelim.I nul-idelim.X nul-odelim.I nul-odelim.X multichar-od.I \
98 multichar-od.X
99 run_gen = 1.O 1.E 2.O 2.E 3.O 3.E 4.O 4.E 5.O 5.E 6.O 6.E 7.O 7.E 8.O 8.E 9.O \
100 9.E a.O a.E b.O b.E c.O c.E d.O d.E e.O e.E f.O f.E g.O g.E h.O h.E i.O i.E \
101 j.O j.E k.O k.E l.O l.E m.O m.E n.O n.E o.O o.E p.O p.E q.O q.E r.O r.E s.O \
102 s.E t.O t.E u.O u.E v.O v.E w.O w.E x.O x.E y.O y.E z.O z.E empty-fl.O \
103 empty-fl.E missing-fl.O missing-fl.E empty-bl.O empty-bl.E missing-bl.O \
104 missing-bl.E empty-f1.O empty-f1.E empty-f2.O empty-f2.E o-delim.O o-delim.E \
105 nul-idelim.O nul-idelim.E nul-odelim.O nul-odelim.E multichar-od.O \
106 multichar-od.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/cut/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/cut
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/cut/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: