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