mirror of
https://github.com/coreutils/coreutils.git
synced 2024-12-15 04:48:16 +08:00
340 lines
9.5 KiB
Makefile
340 lines
9.5 KiB
Makefile
# Makefile.in generated automatically by automake 1.4e 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.
|
|
|
|
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_STRIP_FLAG =
|
|
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@
|
|
|
|
@SET_MAKE@
|
|
AMDEP = @AMDEP@
|
|
AMTAR = @AMTAR@
|
|
AWK = @AWK@
|
|
CATALOGS = @CATALOGS@
|
|
CATOBJEXT = @CATOBJEXT@
|
|
CC = @CC@
|
|
CPP = @CPP@
|
|
DATADIRNAME = @DATADIRNAME@
|
|
DEPDIR = @DEPDIR@
|
|
DF_PROG = @DF_PROG@
|
|
FESETROUND_LIBM = @FESETROUND_LIBM@
|
|
GENCAT = @GENCAT@
|
|
GETLOADAVG_LIBS = @GETLOADAVG_LIBS@
|
|
GLIBC21 = @GLIBC21@
|
|
GMOFILES = @GMOFILES@
|
|
GMSGFMT = @GMSGFMT@
|
|
GNU_PACKAGE = @GNU_PACKAGE@
|
|
GT_NO = @GT_NO@
|
|
GT_YES = @GT_YES@
|
|
INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@
|
|
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
|
INSTALL_STRIP_PROGRAM_ENV = @INSTALL_STRIP_PROGRAM_ENV@
|
|
INSTOBJEXT = @INSTOBJEXT@
|
|
INTLDEPS = @INTLDEPS@
|
|
INTLLIBS = @INTLLIBS@
|
|
INTLOBJS = @INTLOBJS@
|
|
KMEM_GROUP = @KMEM_GROUP@
|
|
LIBICONV = @LIBICONV@
|
|
LIBOBJS = @LIBOBJS@
|
|
LIB_CLOCK_GETTIME = @LIB_CLOCK_GETTIME@
|
|
LIB_CRYPT = @LIB_CRYPT@
|
|
LIB_NANOSLEEP = @LIB_NANOSLEEP@
|
|
MAKEINFO = @MAKEINFO@
|
|
MAN = @MAN@
|
|
MKINSTALLDIRS = @MKINSTALLDIRS@
|
|
MSGFMT = @MSGFMT@
|
|
NEED_SETGID = @NEED_SETGID@
|
|
OPTIONAL_BIN_PROGS = @OPTIONAL_BIN_PROGS@
|
|
OPTIONAL_BIN_ZCRIPTS = @OPTIONAL_BIN_ZCRIPTS@
|
|
PACKAGE = @PACKAGE@
|
|
PERL = @PERL@
|
|
POFILES = @POFILES@
|
|
POSUB = @POSUB@
|
|
POW_LIBM = @POW_LIBM@
|
|
RANLIB = @RANLIB@
|
|
SEQ_LIBM = @SEQ_LIBM@
|
|
SQRT_LIBM = @SQRT_LIBM@
|
|
STRIP = @STRIP@
|
|
U = @U@
|
|
USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
|
|
USE_NLS = @USE_NLS@
|
|
VERSION = @VERSION@
|
|
YACC = @YACC@
|
|
_am_include = @_am_include@
|
|
install_sh = @install_sh@
|
|
l = @l@
|
|
|
|
|
|
x = date
|
|
explicit =
|
|
maint_gen = 1.X 3.X 4.X 5.X 6.X 7.X 8.X 9.X leap-1.X U95-1.X U95-2.X U95-3.X \
|
|
U92-1.X U92-2.X U92-3.X V92-1.X V92-2.X V92-3.X W92-1.X W92-2.X W92-3.X \
|
|
millen-1.X rel-0.X rel-1a.X rel-1b.X rel-2a.X rel-2b.X rel-2c.X rel-2d.X \
|
|
rel-2e.X rel-2f.X rel-2g.X rel-3a.X next-s.X next-m.X next-h.X next-d.X \
|
|
next-w.X next-mo.X next-y.X utc-0.X utc-0a.X utc-1.I utc-1.X utc-1a.I \
|
|
utc-1a.X date2sec-0.X date2sec-0a.X date2sec-1.X sec2date-0.X this-m.X \
|
|
this-h.X this-w.X this-mo.X this-y.X risks-1.X regress-1.X datevtime-1.X \
|
|
rfc822-1.X relative-1.X relative-2.X
|
|
|
|
run_gen = 1.O 1.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 \
|
|
leap-1.O leap-1.E U95-1.O U95-1.E U95-2.O U95-2.E U95-3.O U95-3.E U92-1.O \
|
|
U92-1.E U92-2.O U92-2.E U92-3.O U92-3.E V92-1.O V92-1.E V92-2.O V92-2.E \
|
|
V92-3.O V92-3.E W92-1.O W92-1.E W92-2.O W92-2.E W92-3.O W92-3.E millen-1.O \
|
|
millen-1.E rel-0.O rel-0.E rel-1a.O rel-1a.E rel-1b.O rel-1b.E rel-2a.O \
|
|
rel-2a.E rel-2b.O rel-2b.E rel-2c.O rel-2c.E rel-2d.O rel-2d.E rel-2e.O \
|
|
rel-2e.E rel-2f.O rel-2f.E rel-2g.O rel-2g.E rel-3a.O rel-3a.E next-s.O \
|
|
next-s.E next-m.O next-m.E next-h.O next-h.E next-d.O next-d.E next-w.O \
|
|
next-w.E next-mo.O next-mo.E next-y.O next-y.E utc-0.O utc-0.E utc-0a.O \
|
|
utc-0a.E utc-1.O utc-1.E utc-1a.O utc-1a.E date2sec-0.O date2sec-0.E \
|
|
date2sec-0a.O date2sec-0a.E date2sec-1.O date2sec-1.E sec2date-0.O \
|
|
sec2date-0.E this-m.O this-m.E this-h.O this-h.E this-w.O this-w.E this-mo.O \
|
|
this-mo.E this-y.O this-y.E risks-1.O risks-1.E regress-1.O regress-1.E \
|
|
datevtime-1.O datevtime-1.E rfc822-1.O rfc822-1.E relative-1.O relative-1.E \
|
|
relative-2.O relative-2.E
|
|
|
|
|
|
EXTRA_DIST = Test.pm $x-tests $(explicit) $(maint_gen)
|
|
noinst_SCRIPTS = $x-tests
|
|
|
|
PERL = @PERL@
|
|
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/date
|
|
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
|
|
|
|
all: all-am
|
|
.SUFFIXES:
|
|
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
|
cd $(top_srcdir) && $(AUTOMAKE) --gnits tests/date/Makefile
|
|
|
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
cd $(top_builddir) \
|
|
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= CONFIG_LINKS= $(SHELL) ./config.status
|
|
|
|
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 \
|
|
d=$(srcdir); \
|
|
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
|
|
info-am:
|
|
info: info-am
|
|
dvi-am:
|
|
dvi: dvi-am
|
|
check-am: all-am
|
|
$(MAKE) $(AM_MAKEFLAGS) check-TESTS
|
|
check: check-am
|
|
installcheck-am:
|
|
installcheck: installcheck-am
|
|
install-exec-am:
|
|
install-exec: install-exec-am
|
|
|
|
install-data-am:
|
|
install-data: install-data-am
|
|
|
|
install-am: all-am
|
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
|
install: install-am
|
|
uninstall-am:
|
|
uninstall: uninstall-am
|
|
all-am: Makefile $(SCRIPTS)
|
|
install-strip:
|
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
|
INSTALL_PROGRAM_ENV='$(INSTALL_STRIP_PROGRAM_ENV)' install
|
|
installdirs:
|
|
|
|
|
|
mostlyclean-generic:
|
|
|
|
clean-generic:
|
|
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
|
|
|
distclean-generic:
|
|
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
|
-rm -f config.cache config.log 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."
|
|
-rm -f Makefile.in
|
|
-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
|
|
maintainer-clean-am: distclean-am maintainer-clean-generic
|
|
|
|
.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-strip installcheck installcheck-am \
|
|
installdirs maintainer-clean maintainer-clean-generic \
|
|
mostlyclean mostlyclean-generic uninstall uninstall-am
|
|
|
|
distclean: distclean-am
|
|
|
|
clean-am: clean-generic mostlyclean-am
|
|
|
|
distclean-am: clean-am distclean-generic
|
|
|
|
maintainer-clean: maintainer-clean-am
|
|
|
|
mostlyclean-am: mostlyclean-generic
|
|
|
|
mostlyclean: mostlyclean-am
|
|
|
|
clean: clean-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:
|