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