mirror of
git://git.sv.gnu.org/autoconf
synced 2024-11-21 01:01:48 +08:00
f6dd7456f3
Introduce a new style of testing, independent from DejaGNU. Introduce the logistics. * configure.in: Initialize AT, and output tests/atconfig, and tests/Makefile. * m4/atconfig.m4: New file. * m4/Makefile.am: Adjusted. * aclocal.m4: Include atconfig.m4. * Makefile.am: Adjusted. * tests/Makefile.am: New file. * tests/atgeneral.m4: Likewise. * tests/atconfig.in: Likewise. Write tests. * tests/syntax.m4: New file, in charge of checking the validity of the sh code produced by the macros defined in acspecific.m4. acgeneral.m4 is not checked here, because these macros require arguments. * tests/suite.m4: New file. Run syntax.m4.
217 lines
5.9 KiB
Makefile
217 lines
5.9 KiB
Makefile
# Makefile.in generated automatically by automake 1.4 from Makefile.am
|
|
|
|
# Copyright (C) 1994, 1995-8, 1999 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
|
|
|
|
DESTDIR =
|
|
|
|
pkgdatadir = $(datadir)/@PACKAGE@
|
|
pkglibdir = $(libdir)/@PACKAGE@
|
|
pkgincludedir = $(includedir)/@PACKAGE@
|
|
|
|
top_builddir = ..
|
|
|
|
ACLOCAL = @ACLOCAL@
|
|
AUTOMAKE = @AUTOMAKE@
|
|
AUTOHEADER = @AUTOHEADER@
|
|
|
|
INSTALL = @INSTALL@
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
|
transform = @program_transform_name@
|
|
|
|
NORMAL_INSTALL = :
|
|
PRE_INSTALL = :
|
|
POST_INSTALL = :
|
|
NORMAL_UNINSTALL = :
|
|
PRE_UNINSTALL = :
|
|
POST_UNINSTALL = :
|
|
AWK = @AWK@
|
|
HELP2MAN = @HELP2MAN@
|
|
M4 = @M4@
|
|
PERL = @PERL@
|
|
PERLSCRIPTS = @PERLSCRIPTS@
|
|
standards_texi = @standards_texi@
|
|
|
|
AUTOMAKE_OPTIONS = dejagnu
|
|
|
|
GENERIC_TESTS = autoconf.g/sizeof.exp autoconf.g/init.exp
|
|
SPECIFIC_TESTS = autoconf.s/defines.exp autoconf.s/syntax.exp
|
|
|
|
EXTRA_DIST = config/unix.exp lib/common.exp $(GENERIC_TESTS) $(SPECIFIC_TESTS)
|
|
|
|
AUTOCONFFLAGS = -m $(top_builddir)
|
|
AUTOCONF = $(top_builddir)/autoconf
|
|
|
|
RUNTESTFLAGS = AUTOCONF="$(AUTOCONF)" AUTOCONFFLAGS="$(AUTOCONFFLAGS)"
|
|
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
|
CONFIG_CLEAN_FILES =
|
|
DIST_COMMON = Makefile.am Makefile.in
|
|
|
|
|
|
PACKAGE = @PACKAGE@
|
|
VERSION = @VERSION@
|
|
|
|
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
|
|
|
TAR = tar
|
|
GZIP_ENV = --best
|
|
EXPECT = expect
|
|
RUNTEST = runtest
|
|
all: all-redirect
|
|
.SUFFIXES:
|
|
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
|
cd $(top_srcdir) && $(AUTOMAKE) --gnu testsuite/Makefile
|
|
|
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
|
|
cd $(top_builddir) \
|
|
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
|
|
tags: TAGS
|
|
TAGS:
|
|
|
|
|
|
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
|
|
|
|
subdir = testsuite
|
|
|
|
distdir: $(DISTFILES)
|
|
here=`cd $(top_builddir) && pwd`; \
|
|
top_distdir=`cd $(top_distdir) && pwd`; \
|
|
distdir=`cd $(distdir) && pwd`; \
|
|
cd $(top_srcdir) \
|
|
&& $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu testsuite/Makefile
|
|
$(mkinstalldirs) $(distdir)/autoconf.g $(distdir)/autoconf.s \
|
|
$(distdir)/config $(distdir)/lib
|
|
@for file in $(DISTFILES); do \
|
|
d=$(srcdir); \
|
|
if test -d $$d/$$file; then \
|
|
cp -pr $$d/$$file $(distdir)/$$file; \
|
|
else \
|
|
test -f $(distdir)/$$file \
|
|
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
|
|| cp -p $$d/$$file $(distdir)/$$file || :; \
|
|
fi; \
|
|
done
|
|
|
|
DEJATOOL = $(PACKAGE)
|
|
|
|
RUNTESTDEFAULTFLAGS = --tool $(DEJATOOL) --srcdir $$srcdir
|
|
|
|
check-DEJAGNU: site.exp
|
|
srcdir=`cd $(srcdir) && pwd`; export srcdir; \
|
|
EXPECT=$(EXPECT); export EXPECT; \
|
|
runtest=$(RUNTEST); \
|
|
if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
|
|
$$runtest $(RUNTESTDEFAULTFLAGS) $(RUNTESTFLAGS); \
|
|
else echo "WARNING: could not find \`runtest'" 1>&2; :;\
|
|
fi
|
|
site.exp: Makefile
|
|
@echo 'Making a new site.exp file...'
|
|
@test ! -f site.bak || rm -f site.bak
|
|
@echo '## these variables are automatically generated by make ##' > $@-t
|
|
@echo '# Do not edit here. If you wish to override these values' >> $@-t
|
|
@echo '# edit the last section' >> $@-t
|
|
@echo 'set tool $(DEJATOOL)' >> $@-t
|
|
@echo 'set srcdir $(srcdir)' >> $@-t
|
|
@echo 'set objdir' `pwd` >> $@-t
|
|
@echo '## All variables above are generated by configure. Do Not Edit ##' >> $@-t
|
|
@test ! -f site.exp || sed '1,/^## All variables above are.*##/ d' site.exp >> $@-t
|
|
@test ! -f site.exp || mv site.exp site.bak
|
|
@mv $@-t site.exp
|
|
info-am:
|
|
info: info-am
|
|
dvi-am:
|
|
dvi: dvi-am
|
|
check-am: all-am
|
|
$(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU
|
|
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
|
|
all-redirect: all-am
|
|
install-strip:
|
|
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
|
|
installdirs:
|
|
|
|
|
|
mostlyclean-generic:
|
|
|
|
clean-generic:
|
|
|
|
distclean-generic:
|
|
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
|
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
|
|
|
maintainer-clean-generic:
|
|
mostlyclean-am: mostlyclean-generic
|
|
|
|
mostlyclean: mostlyclean-am
|
|
|
|
clean-am: clean-generic mostlyclean-am
|
|
|
|
clean: clean-am
|
|
|
|
distclean-am: distclean-generic clean-am
|
|
|
|
distclean: distclean-am
|
|
|
|
maintainer-clean-am: maintainer-clean-generic distclean-am
|
|
@echo "This command is intended for maintainers to use;"
|
|
@echo "it deletes files that may require special tools to rebuild."
|
|
|
|
maintainer-clean: maintainer-clean-am
|
|
|
|
.PHONY: tags distdir check-DEJAGNU info-am info dvi-am dvi check \
|
|
check-am installcheck-am installcheck install-exec-am install-exec \
|
|
install-data-am install-data install-am install uninstall-am uninstall \
|
|
all-redirect all-am all installdirs mostlyclean-generic \
|
|
distclean-generic clean-generic maintainer-clean-generic clean \
|
|
mostlyclean distclean maintainer-clean
|
|
|
|
|
|
# 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:
|