mirror of
git://git.sv.gnu.org/autoconf
synced 2024-12-03 02:00:36 +08:00
d19fa10fd6
* bin/autom4te.in (&find_file): Support `FILE?' standing for optionally `FILE'. Use -e, not -f, since /dev/null for instance is OK. (&parse_args): Adjust. * lib/autom4te.in (Autoconf): Add `acsite.m4?' and `aclocal.m4?'.
296 lines
7.9 KiB
Makefile
296 lines
7.9 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@
|
|
|
|
# We don't actually distribute the testsuite, since one only
|
|
# needs m4 to build it, m4 being required anyway to install Autoconf.
|
|
|
|
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 = :
|
|
AWK = @AWK@
|
|
EXPR = @EXPR@
|
|
HELP2MAN = @HELP2MAN@
|
|
M4 = @M4@
|
|
PACKAGE = @PACKAGE@
|
|
PACKAGE_NAME = @PACKAGE_NAME@
|
|
PERL = @PERL@
|
|
VERSION = @VERSION@
|
|
|
|
EXTRA_DIST = $(WRAPPERS) $(TESTSUITE_AT) atspecific.m4 aclocal.m4 mktests.sh \
|
|
atlocal.in
|
|
|
|
|
|
# Running the uninstalled scripts.
|
|
WRAPPERS = autoconf autoheader autoreconf autom4te autoupdate
|
|
|
|
DISTCLEANFILES = atconfig atlocal $(TESTSUITE)
|
|
|
|
TESTSUITE_GENERATED_AT = \
|
|
aclang.at acc.at acfortran.at \
|
|
acgeneral.at acstatus.at \
|
|
acautoheader.at acautoupdate.at \
|
|
acspecific.at acfunctions.at acheaders.at actypes.at \
|
|
aclibs.at acprograms.at
|
|
|
|
|
|
TESTSUITE_HAND_AT = \
|
|
suite.at \
|
|
m4sugar.at m4sh.at \
|
|
base.at tools.at torture.at \
|
|
compile.at \
|
|
semantics.at \
|
|
foreign.at
|
|
|
|
|
|
TESTSUITE_AT = $(TESTSUITE_GENERATED_AT) $(TESTSUITE_HAND_AT)
|
|
TESTSUITE = ./testsuite
|
|
|
|
# Run the non installed autom4te.
|
|
AUTOM4TE = $(srcdir)/autom4te
|
|
AUTOTEST = $(AUTOM4TE) --language=autotest
|
|
|
|
MAINTAINERCLEANFILES = Makefile.in $(TESTSUITE_GENERATED_AT)
|
|
|
|
# The files which contains macro we check for syntax. Don't use $(top_srcdir)
|
|
# here since below we explicitly `cd' to $srcdir. As for the dependencies,
|
|
# thanks God for VPATH. Hm...
|
|
autoconfdir = $(top_srcdir)/lib/autoconf
|
|
AUTOCONF_FILES = $(autoconfdir)/general.m4 \
|
|
$(autoconfdir)/status.m4 \
|
|
$(autoconfdir)/autoheader.m4 \
|
|
$(autoconfdir)/autoupdate.m4 \
|
|
$(autoconfdir)/specific.m4 \
|
|
$(autoconfdir)/functions.m4 \
|
|
$(autoconfdir)/lang.m4 \
|
|
$(autoconfdir)/c.m4 \
|
|
$(autoconfdir)/fortran.m4 \
|
|
$(autoconfdir)/headers.m4 \
|
|
$(autoconfdir)/libs.m4 \
|
|
$(autoconfdir)/types.m4 \
|
|
$(autoconfdir)/programs.m4
|
|
|
|
|
|
# The hairy heredoc is more robust than using echo.
|
|
CLEANFILES = expr
|
|
subdir = tests
|
|
mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
|
|
CONFIG_CLEAN_FILES =
|
|
DIST_SOURCES =
|
|
DIST_COMMON = README Makefile.am Makefile.in
|
|
all: all-am
|
|
|
|
.SUFFIXES:
|
|
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
|
|
cd $(top_srcdir) && \
|
|
$(AUTOMAKE) --gnits tests/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:
|
|
|
|
|
|
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-local
|
|
check: check-am
|
|
all-am: Makefile
|
|
|
|
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]*
|
|
-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
|
|
|
|
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 clean-local 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: installcheck-local
|
|
|
|
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-am check-local clean clean-generic \
|
|
clean-local 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 \
|
|
installcheck-local installdirs maintainer-clean \
|
|
maintainer-clean-generic mostlyclean mostlyclean-generic \
|
|
uninstall uninstall-am uninstall-info-am
|
|
|
|
testsuite: $(top_srcdir)/lib/m4sugar/m4sugar.m4 \
|
|
$(top_srcdir)/lib/m4sugar/m4sh.m4 \
|
|
$(top_srcdir)/lib/autotest/autotest.m4 \
|
|
$(top_srcdir)/lib/autotest/general.m4 \
|
|
atspecific.m4 \
|
|
$(TESTSUITE_AT)
|
|
$(AUTOTEST) -I $(srcdir) suite.at -o $@.tmp
|
|
mv $@.tmp $@
|
|
|
|
atconfig: $(top_builddir)/config.status
|
|
cd $(top_builddir) && ./config.status tests/$@
|
|
|
|
atlocal: $(srcdir)/atlocal.in $(top_builddir)/config.status
|
|
cd $(top_builddir) && ./config.status tests/$@
|
|
|
|
clean-local:
|
|
$(SHELL) $(TESTSUITE) --clean
|
|
rm -rf autom4te.cache
|
|
|
|
check-local: atconfig atlocal $(TESTSUITE)
|
|
$(SHELL) $(TESTSUITE)
|
|
|
|
# Run the test suite on the *installed* tree.
|
|
installcheck-local:
|
|
$(SHELL) $(TESTSUITE) AUTOTEST_PATH=$(exec_prefix)/bin
|
|
|
|
$(TESTSUITE_GENERATED_AT): mktests.sh $(AUTOCONF_FILES)
|
|
cd $(srcdir) && ./mktests.sh $(AUTOCONF_FILES)
|
|
|
|
maintainer-check: maintainer-check-posix maintainer-check-c++
|
|
expr:
|
|
echo '#! $(SHELL)' >expr
|
|
echo 'result=`@EXPR@ "$$@"`' >>expr
|
|
echo 'estatus=$$?' >>expr
|
|
echo 'cat <<EOF' >>expr
|
|
echo '$${result:-0}' >>expr
|
|
echo 'EOF' >>expr
|
|
echo 'exit $$estatus' >>expr
|
|
chmod +x expr
|
|
|
|
# Try the test suite with more severe environments.
|
|
maintainer-check-posix: expr
|
|
POSIXLY_CORRECTLY=yes make check
|
|
rm expr
|
|
|
|
# Try using G++ as a C compiler.
|
|
maintainer-check-c++:
|
|
CC=g++ make check
|
|
# 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:
|