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