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