.
[coreutils.git] / tests / sort / Makefile.in
blob0599bc32e7741254b6c11977eebbdcf07c8ae016
1 # Makefile.in generated automatically by automake 1.2 from Makefile.am
3 # Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
4 # This Makefile.in is free software; the Free Software Foundation
5 # gives unlimited permission to copy, distribute and modify it.
8 SHELL = /bin/sh
10 srcdir = @srcdir@
11 top_srcdir = @top_srcdir@
12 VPATH = @srcdir@
13 prefix = @prefix@
14 exec_prefix = @exec_prefix@
16 bindir = @bindir@
17 sbindir = @sbindir@
18 libexecdir = @libexecdir@
19 datadir = @datadir@
20 sysconfdir = @sysconfdir@
21 sharedstatedir = @sharedstatedir@
22 localstatedir = @localstatedir@
23 libdir = @libdir@
24 infodir = @infodir@
25 mandir = @mandir@
26 includedir = @includedir@
27 oldincludedir = /usr/include
29 pkgdatadir = $(datadir)/@PACKAGE@
30 pkglibdir = $(libdir)/@PACKAGE@
31 pkgincludedir = $(includedir)/@PACKAGE@
33 top_builddir = ../..
35 ACLOCAL = @ACLOCAL@
36 AUTOCONF = @AUTOCONF@
37 AUTOMAKE = @AUTOMAKE@
38 AUTOHEADER = @AUTOHEADER@
40 INSTALL = @INSTALL@
41 INSTALL_PROGRAM = @INSTALL_PROGRAM@
42 INSTALL_DATA = @INSTALL_DATA@
43 INSTALL_SCRIPT = @INSTALL_SCRIPT@
44 transform = @program_transform_name@
46 NORMAL_INSTALL = true
47 PRE_INSTALL = true
48 POST_INSTALL = true
49 NORMAL_UNINSTALL = true
50 PRE_UNINSTALL = true
51 POST_UNINSTALL = true
52 CATALOGS = @CATALOGS@
53 CATOBJEXT = @CATOBJEXT@
54 CC = @CC@
55 CPP = @CPP@
56 DATADIRNAME = @DATADIRNAME@
57 GENCAT = @GENCAT@
58 GMOFILES = @GMOFILES@
59 GMSGFMT = @GMSGFMT@
60 GT_NO = @GT_NO@
61 GT_YES = @GT_YES@
62 INSTOBJEXT = @INSTOBJEXT@
63 INTLDEPS = @INTLDEPS@
64 INTLLIBS = @INTLLIBS@
65 INTLOBJS = @INTLOBJS@
66 LIBOBJS = @LIBOBJS@
67 MAINT = @MAINT@
68 MAKEINFO = @MAKEINFO@
69 MKINSTALLDIRS = @MKINSTALLDIRS@
70 MSGFMT = @MSGFMT@
71 PACKAGE = @PACKAGE@
72 POFILES = @POFILES@
73 POSUB = @POSUB@
74 POW_LIBM = @POW_LIBM@
75 RANLIB = @RANLIB@
76 U = @U@
77 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
78 USE_NLS = @USE_NLS@
79 VERSION = @VERSION@
80 l = @l@
82 x = sort
83 explicit =
84 maint_gen = 01a.I 01a.X 02a.I 02a.X 02b.I 02b.X 02c.I 02c.X 02d.I 02d.X 02e.I \
85 02e.X 02f.I 02f.X 03a.I 03a.X 03b.I 03b.X 03c.I 03c.X 03d.I 03d.X 03e.I 03e.X \
86 03f.I 03f.X 03g.I 03g.X 03h.I 03h.X 03i.I 03i.X 04a.I 04a.X 04b.I 04b.X 04c.I \
87 04c.X 04d.I 04d.X 04e.I 04e.X 05a.I 05a.X 05b.I 05b.X 05c.I 05c.X 05d.I 05d.X \
88 05e.I 05e.X 05f.I 05f.X 06a.I 06a.X 06b.I 06b.X 06c.I 06c.X 06d.I 06d.X 06e.I \
89 06e.X 06f.I 06f.X 07a.I 07a.X 07b.I 07b.X 07c.I 07c.X 07d.I 07d.X 08a.I 08a.X \
90 08b.I 08b.X 09a.I 09a.X 09b.I 09b.X 09c.I 09c.X 09d.I 09d.X 10a.I 10a.X 10b.I \
91 10b.X 10c.I 10c.X 10d.I 10d.X 10a0.I 10a0.X 10a1.I 10a1.X 10a2.I 10a2.X 10e.I \
92 10e.X 10f.I 10f.X 10g.I 10g.X 11a.I 11a.X 11b.I 11b.X 11c.I 11c.X 11d.I 11d.X \
93 12a.I 12a.X 12b.I 12b.X 12c.I 12c.X 12d.I 12d.X 13a.I 13a.X 13b.I 13b.X 14a.I \
94 14a.X 14b.I 14b.X 15a.I 15a.X 15b.I 15b.X 15c.I 15c.X 15d.I 15d.X 15e.I 15e.X \
95 16a.I 16a.X 17.I 17.X 18a.I 18a.X 18b.I 18b.X 18c.I 18c.X 18d.I 18d.X 18e.I \
96 18e.X
97 run_gen = 01a.O 01a.E 02a.O 02a.E 02b.O 02b.E 02c.O 02c.E 02d.O 02d.E 02e.O \
98 02e.E 02f.O 02f.E 03a.O 03a.E 03b.O 03b.E 03c.O 03c.E 03d.O 03d.E 03e.O 03e.E \
99 03f.O 03f.E 03g.O 03g.E 03h.O 03h.E 03i.O 03i.E 04a.O 04a.E 04b.O 04b.E 04c.O \
100 04c.E 04d.O 04d.E 04e.O 04e.E 05a.O 05a.E 05b.O 05b.E 05c.O 05c.E 05d.O 05d.E \
101 05e.O 05e.E 05f.O 05f.E 06a.O 06a.E 06b.O 06b.E 06c.O 06c.E 06d.O 06d.E 06e.O \
102 06e.E 06f.O 06f.E 07a.O 07a.E 07b.O 07b.E 07c.O 07c.E 07d.O 07d.E 08a.O 08a.E \
103 08b.O 08b.E 09a.O 09a.E 09b.O 09b.E 09c.O 09c.E 09d.O 09d.E 10a.O 10a.E 10b.O \
104 10b.E 10c.O 10c.E 10d.O 10d.E 10a0.O 10a0.E 10a1.O 10a1.E 10a2.O 10a2.E 10e.O \
105 10e.E 10f.O 10f.E 10g.O 10g.E 11a.O 11a.E 11b.O 11b.E 11c.O 11c.E 11d.O 11d.E \
106 12a.O 12a.E 12b.O 12b.E 12c.O 12c.E 12d.O 12d.E 13a.O 13a.E 13b.O 13b.E 14a.O \
107 14a.E 14b.O 14b.E 15a.O 15a.E 15b.O 15b.E 15c.O 15c.E 15d.O 15d.E 15e.O 15e.E \
108 16a.O 16a.E 17.O 17.E 18a.O 18a.E 18b.O 18b.E 18c.O 18c.E 18d.O 18d.E 18e.O \
109 18e.E
111 EXTRA_DIST = mk-script.pl Test.pm $x-tests $(explicit) $(maint_gen)
112 noinst_SCRIPTS = $x-tests
114 PERL = @PERL@
115 editpl = sed -e 's,@''PERL''@,$(PERL),g' -e 's,@''srcdir''@,@srcdir@,g'
117 TESTS = $x-tests
119 SUFFIXES = .pl
121 MAINTAINERCLEANFILES = $x-tests $(maint_gen)
122 CLEANFILES = $(run_gen)
123 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
124 CONFIG_HEADER = ../../config.h
125 CONFIG_CLEAN_FILES =
126 SCRIPTS = $(noinst_SCRIPTS)
128 DIST_COMMON = Makefile.am Makefile.in TODO
131 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
133 TAR = tar
134 GZIP = --best
135 default: all
137 .SUFFIXES:
138 .SUFFIXES: .pl
139 $(srcdir)/Makefile.in: @MAINT@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
140 cd $(top_srcdir) && $(AUTOMAKE) --gnits tests/sort-test/Makefile
142 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
143 cd $(top_builddir) \
144 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
146 tags: TAGS
147 TAGS:
150 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
152 subdir = tests/sort-test
154 distdir: $(DISTFILES)
155 here=`cd $(top_builddir) && pwd`; \
156 top_distdir=`cd $(top_distdir) && pwd`; \
157 cd $(top_srcdir) \
158 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnits tests/sort-test/Makefile
159 @for file in $(DISTFILES); do \
160 d=$(srcdir); \
161 test -f $(distdir)/$$file \
162 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
163 || cp -p $$d/$$file $(distdir)/$$file; \
164 done
165 check-TESTS: $(TESTS)
166 @failed=0; all=0; \
167 srcdir=$(srcdir); export srcdir; \
168 for tst in $(TESTS); do \
169 if test -f $$tst; then dir=.; \
170 else dir="$(srcdir)"; fi; \
171 if $(TESTS_ENVIRONMENT) $$dir/$$tst; then \
172 all=`expr $$all + 1`; \
173 echo "PASS: $$tst"; \
174 elif test $$? -ne 77; then \
175 all=`expr $$all + 1`; \
176 failed=`expr $$failed + 1`; \
177 echo "FAIL: $$tst"; \
178 fi; \
179 done; \
180 if test "$$failed" -eq 0; then \
181 banner="All $$all tests passed"; \
182 else \
183 banner="$$failed of $$all tests failed"; \
184 fi; \
185 dashes=`echo "$$banner" | sed s/./=/g`; \
186 echo "$$dashes"; \
187 echo "$$banner"; \
188 echo "$$dashes"; \
189 test "$$failed" -eq 0
190 info:
191 dvi:
192 check: all
193 $(MAKE) check-TESTS
194 installcheck:
195 install-exec:
196 @$(NORMAL_INSTALL)
198 install-data:
199 @$(NORMAL_INSTALL)
201 install: install-exec install-data all
204 uninstall:
206 all: Makefile $(SCRIPTS)
208 install-strip:
209 $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
210 installdirs:
213 mostlyclean-generic:
214 test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
216 clean-generic:
217 test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
219 distclean-generic:
220 rm -f Makefile $(DISTCLEANFILES)
221 rm -f config.cache config.log stamp-h stamp-h[0-9]*
222 test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
224 maintainer-clean-generic:
225 test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
226 test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
227 mostlyclean: mostlyclean-generic
229 clean: clean-generic mostlyclean
231 distclean: distclean-generic clean
232 rm -f config.status
234 maintainer-clean: maintainer-clean-generic distclean
235 @echo "This command is intended for maintainers to use;"
236 @echo "it deletes files that may require special tools to rebuild."
238 .PHONY: default tags distdir check-TESTS info dvi installcheck \
239 install-exec install-data install uninstall all installdirs \
240 mostlyclean-generic distclean-generic clean-generic \
241 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
244 $(srcdir)/$x-tests: @MAINT@mk-script Test.pm
245 ./mk-script ../../src/$x > $@.n
246 mv $@.n $@
247 chmod 755 $@
249 mk-script: ../../config.status
251 .pl:
252 rm -f $@ $@.tmp
253 $(editpl) $< > $@.tmp
254 chmod +x-w $@.tmp
255 mv $@.tmp $@
257 @MAINT@Makefile.am: ../Makefile.am.in Test.pm mk-script
258 @MAINT@ rm -f $@ $@t
259 @MAINT@ sed -n '1,/^##test-files-begin/p' $< > $@t
260 @MAINT@ tool=`echo $(subdir)|sed 's/^tests.//;s/-test//'`; \
261 @MAINT@ echo "x = $$tool" >> $@t
262 @MAINT@ ./mk-script --list >> $@t
263 @MAINT@ sed -n '/^##test-files-end/,$$p' $< >> $@t
264 @MAINT@ mv $@t $@
266 # Tell versions [3.59,3.63) of GNU make to not export all variables.
267 # Otherwise a system limit (for SysV at least) may be exceeded.
268 .NOEXPORT: