mirror of
https://github.com/coreutils/coreutils.git
synced 2024-12-22 08:17:26 +08:00
342 lines
9.5 KiB
Makefile
342 lines
9.5 KiB
Makefile
# Makefile.in generated automatically by automake 1.5 from Makefile.am.
|
|
|
|
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
|
# Free Software Foundation, Inc.
|
|
# This Makefile.in is free software; the Free Software Foundation
|
|
# gives unlimited permission to copy and/or distribute it,
|
|
# with or without modifications, as long as this notice is preserved.
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
|
# PARTICULAR PURPOSE.
|
|
|
|
@SET_MAKE@
|
|
|
|
SHELL = @SHELL@
|
|
|
|
srcdir = @srcdir@
|
|
top_srcdir = @top_srcdir@
|
|
VPATH = @srcdir@
|
|
prefix = @prefix@
|
|
exec_prefix = @exec_prefix@
|
|
|
|
bindir = @bindir@
|
|
sbindir = @sbindir@
|
|
libexecdir = @libexecdir@
|
|
datadir = @datadir@
|
|
sysconfdir = @sysconfdir@
|
|
sharedstatedir = @sharedstatedir@
|
|
localstatedir = @localstatedir@
|
|
libdir = @libdir@
|
|
infodir = @infodir@
|
|
mandir = @mandir@
|
|
includedir = @includedir@
|
|
oldincludedir = /usr/include
|
|
pkgdatadir = $(datadir)/@PACKAGE@
|
|
pkglibdir = $(libdir)/@PACKAGE@
|
|
pkgincludedir = $(includedir)/@PACKAGE@
|
|
top_builddir = ../..
|
|
|
|
ACLOCAL = @ACLOCAL@
|
|
AUTOCONF = @AUTOCONF@
|
|
AUTOMAKE = @AUTOMAKE@
|
|
AUTOHEADER = @AUTOHEADER@
|
|
|
|
INSTALL = @INSTALL@
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
|
INSTALL_HEADER = $(INSTALL_DATA)
|
|
transform = @program_transform_name@
|
|
NORMAL_INSTALL = :
|
|
PRE_INSTALL = :
|
|
POST_INSTALL = :
|
|
NORMAL_UNINSTALL = :
|
|
PRE_UNINSTALL = :
|
|
POST_UNINSTALL = :
|
|
host_alias = @host_alias@
|
|
host_triplet = @host@
|
|
AMTAR = @AMTAR@
|
|
AWK = @AWK@
|
|
BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
|
|
CATALOGS = @CATALOGS@
|
|
CATOBJEXT = @CATOBJEXT@
|
|
CC = @CC@
|
|
CPP = @CPP@
|
|
DATADIRNAME = @DATADIRNAME@
|
|
DEPDIR = @DEPDIR@
|
|
DF_PROG = @DF_PROG@
|
|
EXEEXT = @EXEEXT@
|
|
FESETROUND_LIBM = @FESETROUND_LIBM@
|
|
GENCAT = @GENCAT@
|
|
GETLOADAVG_LIBS = @GETLOADAVG_LIBS@
|
|
GLIBC21 = @GLIBC21@
|
|
GMOFILES = @GMOFILES@
|
|
GMSGFMT = @GMSGFMT@
|
|
GNU_PACKAGE = @GNU_PACKAGE@
|
|
HELP2MAN = @HELP2MAN@
|
|
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
|
INSTOBJEXT = @INSTOBJEXT@
|
|
INTLBISON = @INTLBISON@
|
|
INTLLIBS = @INTLLIBS@
|
|
INTLOBJS = @INTLOBJS@
|
|
INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
|
|
KMEM_GROUP = @KMEM_GROUP@
|
|
LIBICONV = @LIBICONV@
|
|
LIBOBJS = @LIBOBJS@
|
|
LIB_CLOCK_GETTIME = @LIB_CLOCK_GETTIME@
|
|
LIB_CRYPT = @LIB_CRYPT@
|
|
LIB_NANOSLEEP = @LIB_NANOSLEEP@
|
|
MAN = @MAN@
|
|
MKINSTALLDIRS = @MKINSTALLDIRS@
|
|
MSGFMT = @MSGFMT@
|
|
NEED_SETGID = @NEED_SETGID@
|
|
OBJEXT = @OBJEXT@
|
|
OPTIONAL_BIN_PROGS = @OPTIONAL_BIN_PROGS@
|
|
OPTIONAL_BIN_ZCRIPTS = @OPTIONAL_BIN_ZCRIPTS@
|
|
PACKAGE = @PACKAGE@
|
|
POFILES = @POFILES@
|
|
POSUB = @POSUB@
|
|
POW_LIBM = @POW_LIBM@
|
|
RANLIB = @RANLIB@
|
|
SEQ_LIBM = @SEQ_LIBM@
|
|
SQRT_LIBM = @SQRT_LIBM@
|
|
U = @U@
|
|
USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
|
|
USE_NLS = @USE_NLS@
|
|
VERSION = @VERSION@
|
|
YACC = @YACC@
|
|
am__include = @am__include@
|
|
am__quote = @am__quote@
|
|
install_sh = @install_sh@
|
|
|
|
PERL = @PERL@
|
|
|
|
x = tr
|
|
explicit =
|
|
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 \
|
|
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 \
|
|
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 \
|
|
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 \
|
|
range-a-a.X null.I null.X upcase.I upcase.X dncase.I dncase.X rep-cclass.I \
|
|
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 \
|
|
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 \
|
|
ross-0b.X ross-1a.I ross-1a.X ross-1b.I ross-1b.X ross-2.I ross-2.X ross-3.I \
|
|
ross-3.X ross-4.I ross-4.X ross-5.I ross-5.X ross-6.I ross-6.X
|
|
|
|
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 \
|
|
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 \
|
|
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 \
|
|
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 \
|
|
range-a-a.E null.O null.E upcase.O upcase.E dncase.O dncase.E rep-cclass.O \
|
|
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 \
|
|
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 \
|
|
ross-0b.E ross-1a.O ross-1a.E ross-1b.O ross-1b.E ross-2.O ross-2.E ross-3.O \
|
|
ross-3.E ross-4.O ross-4.E ross-5.O ross-5.E ross-6.O ross-6.E
|
|
|
|
|
|
EXTRA_DIST = Test.pm $x-tests $(explicit) $(maint_gen)
|
|
noinst_SCRIPTS = $x-tests
|
|
editpl = sed -e 's,@''PERL''@,$(PERL),g' -e 's,@''srcdir''@,@srcdir@,g'
|
|
|
|
TESTS = $x-tests
|
|
|
|
mk_script = $(srcdir)/../mk-script
|
|
|
|
MAINTAINERCLEANFILES = $x-tests $(maint_gen)
|
|
CLEANFILES = $(run_gen)
|
|
subdir = tests/tr
|
|
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
|
CONFIG_HEADER = $(top_builddir)/config.h
|
|
CONFIG_CLEAN_FILES =
|
|
SCRIPTS = $(noinst_SCRIPTS)
|
|
|
|
DIST_SOURCES =
|
|
DIST_COMMON = Makefile.am Makefile.in TODO
|
|
all: all-am
|
|
|
|
.SUFFIXES:
|
|
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
|
cd $(top_srcdir) && \
|
|
$(AUTOMAKE) --gnu tests/tr/Makefile
|
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
cd $(top_builddir) && \
|
|
CONFIG_HEADERS= CONFIG_LINKS= \
|
|
CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
|
|
uninstall-info-am:
|
|
tags: TAGS
|
|
TAGS:
|
|
|
|
|
|
check-TESTS: $(TESTS)
|
|
@failed=0; all=0; xfail=0; xpass=0; \
|
|
srcdir=$(srcdir); export srcdir; \
|
|
list='$(TESTS)'; \
|
|
if test -n "$$list"; then \
|
|
for tst in $$list; do \
|
|
if test -f ./$$tst; then dir=./; \
|
|
elif test -f $$tst; then dir=; \
|
|
else dir="$(srcdir)/"; fi; \
|
|
if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
|
|
all=`expr $$all + 1`; \
|
|
case " $(XFAIL_TESTS) " in \
|
|
*" $$tst "*) \
|
|
xpass=`expr $$xpass + 1`; \
|
|
failed=`expr $$failed + 1`; \
|
|
echo "XPASS: $$tst"; \
|
|
;; \
|
|
*) \
|
|
echo "PASS: $$tst"; \
|
|
;; \
|
|
esac; \
|
|
elif test $$? -ne 77; then \
|
|
all=`expr $$all + 1`; \
|
|
case " $(XFAIL_TESTS) " in \
|
|
*" $$tst "*) \
|
|
xfail=`expr $$xfail + 1`; \
|
|
echo "XFAIL: $$tst"; \
|
|
;; \
|
|
*) \
|
|
failed=`expr $$failed + 1`; \
|
|
echo "FAIL: $$tst"; \
|
|
;; \
|
|
esac; \
|
|
fi; \
|
|
done; \
|
|
if test "$$failed" -eq 0; then \
|
|
if test "$$xfail" -eq 0; then \
|
|
banner="All $$all tests passed"; \
|
|
else \
|
|
banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
|
|
fi; \
|
|
else \
|
|
if test "$$xpass" -eq 0; then \
|
|
banner="$$failed of $$all tests failed"; \
|
|
else \
|
|
banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
|
|
fi; \
|
|
fi; \
|
|
dashes=`echo "$$banner" | sed s/./=/g`; \
|
|
echo "$$dashes"; \
|
|
echo "$$banner"; \
|
|
echo "$$dashes"; \
|
|
test "$$failed" -eq 0; \
|
|
fi
|
|
|
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
|
|
|
top_distdir = ../..
|
|
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
|
|
|
|
distdir: $(DISTFILES)
|
|
@for file in $(DISTFILES); do \
|
|
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
|
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
|
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
|
$(mkinstalldirs) "$(distdir)/$$dir"; \
|
|
fi; \
|
|
if test -d $$d/$$file; then \
|
|
cp -pR $$d/$$file $(distdir) \
|
|
|| exit 1; \
|
|
else \
|
|
test -f $(distdir)/$$file \
|
|
|| cp -p $$d/$$file $(distdir)/$$file \
|
|
|| exit 1; \
|
|
fi; \
|
|
done
|
|
check-am: all-am
|
|
$(MAKE) $(AM_MAKEFLAGS) check-TESTS
|
|
check: check-am
|
|
all-am: Makefile $(SCRIPTS)
|
|
|
|
installdirs:
|
|
|
|
install: install-am
|
|
install-exec: install-exec-am
|
|
install-data: install-data-am
|
|
uninstall: uninstall-am
|
|
|
|
install-am: all-am
|
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
|
|
|
installcheck: installcheck-am
|
|
install-strip:
|
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
|
`test -z '$(STRIP)' || \
|
|
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
|
mostlyclean-generic:
|
|
|
|
clean-generic:
|
|
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
|
|
|
distclean-generic:
|
|
-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
|
|
|
|
maintainer-clean-generic:
|
|
@echo "This command is intended for maintainers to use"
|
|
@echo "it deletes files that may require special tools to rebuild."
|
|
-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
|
|
clean: clean-am
|
|
|
|
clean-am: clean-generic mostlyclean-am
|
|
|
|
distclean: distclean-am
|
|
|
|
distclean-am: clean-am distclean-generic
|
|
|
|
dvi: dvi-am
|
|
|
|
dvi-am:
|
|
|
|
info: info-am
|
|
|
|
info-am:
|
|
|
|
install-data-am:
|
|
|
|
install-exec-am:
|
|
|
|
install-info: install-info-am
|
|
|
|
install-man:
|
|
|
|
installcheck-am:
|
|
|
|
maintainer-clean: maintainer-clean-am
|
|
|
|
maintainer-clean-am: distclean-am maintainer-clean-generic
|
|
|
|
mostlyclean: mostlyclean-am
|
|
|
|
mostlyclean-am: mostlyclean-generic
|
|
|
|
uninstall-am: uninstall-info-am
|
|
|
|
.PHONY: all all-am check check-TESTS check-am clean clean-generic \
|
|
distclean distclean-generic distdir dvi dvi-am info info-am \
|
|
install install-am install-data install-data-am install-exec \
|
|
install-exec-am install-info install-info-am install-man \
|
|
install-strip installcheck installcheck-am installdirs \
|
|
maintainer-clean maintainer-clean-generic mostlyclean \
|
|
mostlyclean-generic uninstall uninstall-am uninstall-info-am
|
|
|
|
$(srcdir)/$x-tests: $(mk_script) Test.pm
|
|
$(PERL) -I$(srcdir) -w -- $(mk_script) ../../src/$x > $@.n
|
|
mv $@.n $@
|
|
chmod 755 $@
|
|
|
|
check: $(maint_gen)
|
|
|
|
Makefile.am: ../Makefile.am.in Test.pm $(mk_script)
|
|
rm -f $@ $@t
|
|
sed -n '1,/^##test-files-begin/p' $< > $@t
|
|
tool=`echo $(subdir)|sed 's/^tests.//;s/-test//'`; \
|
|
echo "x = $$tool" >> $@t
|
|
$(PERL) -I$(srcdir) -w -- $(mk_script) --list >> $@t
|
|
sed -n '/^##test-files-end/,$$p' $< >> $@t
|
|
mv $@t $@
|
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
|
.NOEXPORT:
|