.
[platform/upstream/coreutils.git] / tests / tr / Makefile.in
1 # Makefile.in generated by automake 1.7.1 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 = tr
151 explicit = 
152 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 \
153 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 \
154 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 \
155 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 \
156 range-a-a.X null.I null.X upcase.I upcase.X dncase.I dncase.X rep-cclass.I \
157 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 \
158 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 \
159 ross-0b.X ross-1a.I ross-1a.X ross-1b.I ross-1b.X ross-2.I ross-2.X ross-3.I \
160 ross-3.X ross-4.I ross-4.X ross-5.I ross-5.X ross-6.I ross-6.X empty-eq.I \
161 empty-eq.X empty-cc.I empty-cc.X
162
163 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 \
164 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 \
165 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 \
166 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 \
167 range-a-a.E null.O null.E upcase.O upcase.E dncase.O dncase.E rep-cclass.O \
168 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 \
169 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 \
170 ross-0b.E ross-1a.O ross-1a.E ross-1b.O ross-1b.E ross-2.O ross-2.E ross-3.O \
171 ross-3.E ross-4.O ross-4.E ross-5.O ross-5.E ross-6.O ross-6.E empty-eq.O \
172 empty-eq.E empty-cc.O empty-cc.E
173
174
175 EXTRA_DIST = Test.pm $x-tests $(explicit) $(maint_gen)
176 noinst_SCRIPTS = $x-tests
177 editpl = sed -e 's,@''PERL''@,$(PERL),g' -e 's,@''srcdir''@,@srcdir@,g'
178
179 TESTS = $x-tests
180
181 mk_script = $(srcdir)/../mk-script
182
183 MAINTAINERCLEANFILES = $x-tests $(maint_gen)
184 CLEANFILES = $(run_gen)
185 subdir = tests/tr
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 TODO
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/tr/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: