.
[coreutils.git] / tests / tr / Makefile.in
blobf8c6d91ab23bcbbccad9904290cc96f23373bba7
1 # Makefile.in generated automatically by automake 1.1c from Makefile.am
3 # Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc.
4 # This Makefile.in is free software; the Free Software Foundation
5 # gives unlimited permission to copy, distribute and modify it.
8 SHELL = /bin/sh
10 srcdir = @srcdir@
11 top_srcdir = @top_srcdir@
12 VPATH = @srcdir@
13 prefix = @prefix@
14 exec_prefix = @exec_prefix@
16 bindir = @bindir@
17 sbindir = @sbindir@
18 libexecdir = @libexecdir@
19 datadir = @datadir@
20 sysconfdir = @sysconfdir@
21 sharedstatedir = @sharedstatedir@
22 localstatedir = @localstatedir@
23 libdir = @libdir@
24 infodir = @infodir@
25 mandir = @mandir@
26 includedir = @includedir@
27 oldincludedir = /usr/include
29 pkgdatadir = $(datadir)/@PACKAGE@
30 pkglibdir = $(libdir)/@PACKAGE@
31 pkgincludedir = $(includedir)/@PACKAGE@
33 top_builddir = ../..
35 INSTALL = @INSTALL@
36 INSTALL_PROGRAM = @INSTALL_PROGRAM@
37 INSTALL_DATA = @INSTALL_DATA@
38 INSTALL_SCRIPT = @INSTALL_SCRIPT@
39 transform = @program_transform_name@
41 AUTOMAKE_OPTIONS = 1.0
43 EXTRA_DIST = build-script.pl Trtest.pm
44 noinst_SCRIPTS = tr-tests
46 PERL = @PERL@
47 editpl = sed -e 's,@''PERL''@,$(PERL),g'
49 TESTS = tr-tests
51 SUFFIXES = .pl
53 MAINTAINERCLEANFILES = tr-tests t*.in t*.exp
54 CLEANFILES = t*.out t*.err
55 mkinstalldirs = $(top_srcdir)/mkinstalldirs
56 CONFIG_HEADER = ../../config.h
57 CONFIG_CLEAN_FILES =
58 SCRIPTS = $(noinst_SCRIPTS)
60 DIST_COMMON = Makefile.am Makefile.in TODO
63 PACKAGE = @PACKAGE@
64 VERSION = @VERSION@
66 DISTFILES = $(DIST_COMMON) $(SOURCES) $(BUILT_SOURCES) $(HEADERS) \
67 $(TEXINFOS) $(INFOS) $(MANS) $(EXTRA_DIST) $(DATA)
68 DEP_DISTFILES = $(DIST_COMMON) $(SOURCES) $(BUILT_SOURCES) $(HEADERS) \
69 $(TEXINFOS) $(INFO_DEPS) $(MANS) $(EXTRA_DIST) $(DATA)
71 TAR = tar
72 default: all
75 $(srcdir)/Makefile.in: @MAINT@Makefile.am $(top_srcdir)/configure.in
76 cd $(top_srcdir) && automake $(subdir)/Makefile
78 Makefile: $(top_builddir)/config.status Makefile.in
79 cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
80 tags: TAGS
81 TAGS:
84 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
86 subdir = checks/tr-test
87 distdir: $(DEP_DISTFILES)
88 @for file in `cd $(srcdir) && echo $(DISTFILES)`; do \
89 test -f $(distdir)/$$file \
90 || ln $(srcdir)/$$file $(distdir)/$$file 2> /dev/null \
91 || cp -p $(srcdir)/$$file $(distdir)/$$file; \
92 done
93 check-TESTS: $(TESTS)
94 @failed=0; all=0; \
95 srcdir=$(srcdir); export srcdir; \
96 for tst in $(TESTS); do \
97 all=`expr $$all + 1`; \
98 if test -f $$tst; then dir=.; \
99 else dir="$(srcdir)"; fi; \
100 if $(TESTS_ENVIRONMENT) $$dir/$$tst; then \
101 echo "PASS: $$tst"; \
102 else \
103 failed=`expr $$failed + 1`; \
104 echo "FAIL: $$tst"; \
105 fi; \
106 done; \
107 if test "$$failed" -eq 0; then \
108 echo "========================"; \
109 echo "All $$all tests passed"; \
110 echo "========================"; \
111 else \
112 echo "$$failed of $$all tests failed"; \
114 info:
116 dvi:
118 check: all check-TESTS
120 installcheck:
122 install-exec:
124 install-data:
126 install: install-exec install-data all
129 uninstall:
131 all: $(SCRIPTS) Makefile
133 install-strip:
134 $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' install
135 installdirs:
138 mostlyclean-generic:
139 test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
141 clean-generic:
142 test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
143 test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
145 distclean-generic:
146 rm -f Makefile $(DISTCLEANFILES)
147 rm -f config.cache config.log $(CONFIG_HEADER) stamp-h
149 maintainer-clean-generic:
150 test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
151 test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
152 mostlyclean: mostlyclean-generic
154 clean: clean-generic mostlyclean
156 distclean: distclean-generic clean
157 rm -f config.status
159 maintainer-clean: maintainer-clean-generic distclean
160 @echo "This command is intended for maintainers to use;"
161 @echo "it deletes files that may require special tools to rebuild."
163 .PHONY: default tags distdir check-TESTS info dvi check installcheck \
164 install-exec install-data install uninstall all installdirs \
165 mostlyclean-generic distclean-generic clean-generic \
166 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
169 tr-tests: build-script Trtest.pm
170 ./build-script Trtest.pm > $@.n
171 mv $@.n $@
172 chmod 755 $@
174 .pl:
175 rm -f $@ $@.tmp
176 $(editpl) $< > $@.tmp && chmod +x $@.tmp && mv $@.tmp $@
177 .SUFFIXES:
178 .SUFFIXES: .pl
180 # Tell versions [3.59,3.63) of GNU make to not export all variables.
181 # Otherwise a system limit (for SysV at least) may be exceeded.
182 .NOEXPORT: