2002-07-17 16:35:59 +08:00
|
|
|
# Makefile.in generated by automake 1.6 from Makefile.am.
|
2001-10-24 21:30:56 +08:00
|
|
|
# @configure_input@
|
2000-02-15 17:12:36 +08:00
|
|
|
|
2002-01-25 01:39:46 +08:00
|
|
|
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
|
2001-08-31 23:28:24 +08:00
|
|
|
# Free Software Foundation, Inc.
|
2000-02-15 17:12:36 +08:00
|
|
|
# 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.
|
|
|
|
|
2001-08-31 23:28:24 +08:00
|
|
|
@SET_MAKE@
|
2000-02-15 17:12:36 +08:00
|
|
|
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@
|
|
|
|
|
2001-10-24 21:30:56 +08:00
|
|
|
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
2000-02-15 17:12:36 +08:00
|
|
|
INSTALL = @INSTALL@
|
2001-08-31 23:28:24 +08:00
|
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
2000-02-15 17:12:36 +08:00
|
|
|
INSTALL_DATA = @INSTALL_DATA@
|
2002-01-07 04:48:25 +08:00
|
|
|
install_sh_DATA = $(install_sh) -c -m 644
|
2002-03-08 20:44:46 +08:00
|
|
|
install_sh_PROGRAM = $(install_sh) -c
|
2000-02-15 17:12:36 +08:00
|
|
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
2001-08-31 23:28:24 +08:00
|
|
|
INSTALL_HEADER = $(INSTALL_DATA)
|
2000-02-15 17:12:36 +08:00
|
|
|
transform = @program_transform_name@
|
|
|
|
NORMAL_INSTALL = :
|
|
|
|
PRE_INSTALL = :
|
|
|
|
POST_INSTALL = :
|
|
|
|
NORMAL_UNINSTALL = :
|
|
|
|
PRE_UNINSTALL = :
|
|
|
|
POST_UNINSTALL = :
|
2001-10-24 21:30:56 +08:00
|
|
|
|
|
|
|
EXEEXT = @EXEEXT@
|
|
|
|
OBJEXT = @OBJEXT@
|
|
|
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
2002-01-25 01:39:46 +08:00
|
|
|
AMTAR = @AMTAR@
|
|
|
|
AWK = @AWK@
|
|
|
|
DEPDIR = @DEPDIR@
|
|
|
|
EMACS = @EMACS@
|
2001-01-12 17:39:26 +08:00
|
|
|
EXPR = @EXPR@
|
2000-02-15 17:12:36 +08:00
|
|
|
HELP2MAN = @HELP2MAN@
|
2002-01-25 01:39:46 +08:00
|
|
|
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
2000-02-15 17:12:36 +08:00
|
|
|
M4 = @M4@
|
2001-04-12 00:29:14 +08:00
|
|
|
PACKAGE = @PACKAGE@
|
|
|
|
PACKAGE_NAME = @PACKAGE_NAME@
|
2000-10-05 21:52:41 +08:00
|
|
|
PERL = @PERL@
|
2002-07-17 16:35:59 +08:00
|
|
|
SITE_MACRO_DIR = @SITE_MACRO_DIR@
|
2002-01-25 01:39:46 +08:00
|
|
|
STRIP = @STRIP@
|
2001-04-12 00:29:14 +08:00
|
|
|
VERSION = @VERSION@
|
2002-01-25 01:39:46 +08:00
|
|
|
am__include = @am__include@
|
|
|
|
am__quote = @am__quote@
|
|
|
|
install_sh = @install_sh@
|
|
|
|
lispdir = @lispdir@
|
2000-02-15 17:12:36 +08:00
|
|
|
|
2002-01-07 04:48:25 +08:00
|
|
|
# We don't actually distribute the testsuite, since one only
|
|
|
|
# needs m4 to build it, m4 being required anyway to install Autoconf.
|
2001-11-13 22:05:25 +08:00
|
|
|
EXTRA_DIST = $(TESTSUITE_AT) atspecific.m4 mktests.sh \
|
2002-07-17 17:56:13 +08:00
|
|
|
atlocal.in package.m4 wrapper.as
|
2001-08-31 21:31:37 +08:00
|
|
|
|
|
|
|
|
|
|
|
# Running the uninstalled scripts.
|
2002-02-05 16:28:08 +08:00
|
|
|
check_SCRIPTS = autoconf autoheader autoreconf autom4te autoscan autoupdate ifnames
|
2000-02-15 17:12:36 +08:00
|
|
|
|
2002-02-05 16:28:08 +08:00
|
|
|
DISTCLEANFILES = atconfig atlocal $(TESTSUITE) $(check_SCRIPTS)
|
2001-08-31 21:31:37 +08:00
|
|
|
|
2002-04-10 23:58:19 +08:00
|
|
|
SUFFIXES = .m4 .m4f
|
|
|
|
|
|
|
|
# Do not use AUTOM4TE here, since Makefile.maint (my-distcheck)
|
2002-04-22 17:10:58 +08:00
|
|
|
# checks if we are independent of Autoconf by defining AUTOM4TE (and
|
2002-04-10 23:58:19 +08:00
|
|
|
# others) to `false'. But we _ship_ tests/autom4te, so it doesn't
|
|
|
|
# apply to us.
|
|
|
|
MY_AUTOM4TE = $(top_builddir)/tests/autom4te
|
|
|
|
|
|
|
|
AUTOM4TE_CFG = $(top_builddir)/lib/autom4te.cfg
|
|
|
|
|
|
|
|
# Factor the dependencies between all the frozen files.
|
|
|
|
# Some day we should explain to Automake how to use autom4te to compute
|
|
|
|
# the dependencies...
|
|
|
|
src_libdir = $(top_srcdir)/lib
|
|
|
|
build_libdir = $(top_builddir)/lib
|
|
|
|
|
|
|
|
m4f_dependencies = $(MY_AUTOM4TE) $(AUTOM4TE_CFG)
|
|
|
|
|
|
|
|
m4sugar_m4f_dependencies = \
|
|
|
|
$(m4f_dependencies) \
|
|
|
|
$(src_libdir)/m4sugar/m4sugar.m4 \
|
|
|
|
$(build_libdir)/m4sugar/version.m4
|
|
|
|
|
|
|
|
|
|
|
|
m4sh_m4f_dependencies = \
|
|
|
|
$(m4sugar_m4f_dependencies) \
|
|
|
|
$(src_libdir)/m4sugar/m4sh.m4
|
|
|
|
|
|
|
|
|
|
|
|
autotest_m4f_dependencies = \
|
|
|
|
$(m4sh_m4f_dependencies) \
|
|
|
|
$(src_libdir)/autotest/autotest.m4 \
|
|
|
|
$(src_libdir)/autotest/general.m4
|
|
|
|
|
|
|
|
|
|
|
|
autoconf_m4f_dependencies = \
|
|
|
|
$(m4sh_m4f_dependencies) \
|
|
|
|
$(src_libdir)/autoconf/general.m4 \
|
|
|
|
$(src_libdir)/autoconf/autoheader.m4 \
|
|
|
|
$(src_libdir)/autoconf/autoupdate.m4 \
|
|
|
|
$(src_libdir)/autoconf/autotest.m4 \
|
|
|
|
$(src_libdir)/autoconf/status.m4 \
|
|
|
|
$(src_libdir)/autoconf/oldnames.m4 \
|
|
|
|
$(src_libdir)/autoconf/specific.m4 \
|
|
|
|
$(src_libdir)/autoconf/lang.m4 \
|
|
|
|
$(src_libdir)/autoconf/c.m4 \
|
|
|
|
$(src_libdir)/autoconf/fortran.m4 \
|
|
|
|
$(src_libdir)/autoconf/functions.m4 \
|
|
|
|
$(src_libdir)/autoconf/headers.m4 \
|
|
|
|
$(src_libdir)/autoconf/types.m4 \
|
|
|
|
$(src_libdir)/autoconf/libs.m4 \
|
|
|
|
$(src_libdir)/autoconf/programs.m4 \
|
|
|
|
$(src_libdir)/autoconf/autoconf.m4
|
|
|
|
|
|
|
|
|
2001-08-31 23:28:24 +08:00
|
|
|
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
|
2001-08-22 14:24:46 +08:00
|
|
|
|
|
|
|
|
2001-08-31 23:28:24 +08:00
|
|
|
TESTSUITE_HAND_AT = \
|
|
|
|
suite.at \
|
|
|
|
m4sugar.at m4sh.at \
|
|
|
|
base.at tools.at torture.at \
|
2001-09-27 21:28:15 +08:00
|
|
|
compile.at c.at fortran.at \
|
2001-08-31 23:28:24 +08:00
|
|
|
semantics.at \
|
|
|
|
foreign.at
|
Move the Autoconf independent shell macros into the file
`shell.m4' and the name space `AS_*'.
* acgeneral.m4 (AC_SHELL_IFELSE, _AC_SHELL_TMPDIR, AC_SHELL_UNSET)
(AC_SHELL_MKDIR_P, AC_SHELL_DIRNAME): Rename and move to...
* shell.m4 (AS_IFELSE, AS_TMPDIR, AS_UNSET, AS_MKDIR_P)
(AS_DIRNAME): here, a new file.
Adjust all dependencies.
* tests/base.m4 (m4_wrap): Eve out into...
* tests/shell.m4: here, new file.
* tests/base.m4 (AC_SHELL_MKDIR_P)
(AC_SHELL_DIRNAME & AC_SHELL_DIRNAME_SED): Eve out into...
* tests/m4sugar.m4 (AS_MKDIR_P, AS_DIRNAME & AS_DIRNAME_SED):
here, new file.
Adjust the test suite.
2000-10-26 01:51:10 +08:00
|
|
|
|
2000-02-15 17:12:36 +08:00
|
|
|
|
2001-08-31 21:31:37 +08:00
|
|
|
TESTSUITE_AT = $(TESTSUITE_GENERATED_AT) $(TESTSUITE_HAND_AT)
|
|
|
|
TESTSUITE = ./testsuite
|
2000-02-15 17:12:36 +08:00
|
|
|
|
2001-08-31 21:31:37 +08:00
|
|
|
# Run the non installed autom4te.
|
* lib/autoconf/status.m4 (_AC_SRCPATHS): Compute and provide
ac_buildpath, ac_top_buildpath, ac_srcpath, and ac_top_srcpath.
(_AC_OUTPUT_FILES): Also substitute srcpath, top_srcpath,
builddir, buildpath, top_builddir, and top_buildpath.
(_AC_OUTPUT_SUBDIRS): Compute the dir variables *before* changing
the current directory.
* lib/autoconf/general.m4 (_AC_INIT_HELP): Compute the dir
variables *before* changing the current directory.
Skip nonexistent dirs.
* doc/autoconf.texi (Preset Output Variables): Document these
variables.
* lib/autotest/general.m4: Do not reset AT_victims.
Don't compute at_srcdir nor at_top_srcdir.
* tests/tools.at: Hence use top_srcdir.
* tests/Makefile.am, tests/autoconf, tests/autoheader,
* tests/autom4te, tests/autoreconf, tests/autoupdate, tests/ifnames:
Remove.
* tests/autoreconf.in, tests/wrappl.in, tests/autom4te.in,
* tests/wrapsh.in, tests/autoupdate.in: New.
* tests/Makefile.am (DISTCLEANFILES, EXTRA_DIST): Adjust.
* configure.ac: Build the position independent wrappers.
* man/Makefile.am: Now that test wrappers are position
independent, use them and drop dark envvar magic.
2001-09-24 01:17:46 +08:00
|
|
|
# Don't use AUTOM4TE since `make alpha' makes it unavailable although
|
|
|
|
# we are allowed to use it (since we ship it).
|
|
|
|
AUTOTEST = ./autom4te --language=autotest
|
2000-03-01 16:22:40 +08:00
|
|
|
|
2001-08-31 21:31:37 +08:00
|
|
|
MAINTAINERCLEANFILES = Makefile.in $(TESTSUITE_GENERATED_AT)
|
2001-08-01 21:46:22 +08:00
|
|
|
|
2001-01-24 15:54:32 +08:00
|
|
|
# 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...
|
2001-08-31 21:31:37 +08:00
|
|
|
autoconfdir = $(top_srcdir)/lib/autoconf
|
2001-08-31 23:28:24 +08:00
|
|
|
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
|
2001-08-31 21:31:37 +08:00
|
|
|
|
The use of `dumpstat' revealed that `len' was used although it
should not. m4_text_wrap was using it, but in the Autoconf world
where it is legal. Hence (i) test M4sh in its own world, not
Autoconf's, and (ii), ahem, fix the bug :)
* lib/autotest/general.m4: Be sure the set good quotes, as tracing
does not like `' instead of [].
(AT_INIT): Forbid `^_?AT_'.
And don't output such tokens.
* tests/Makefile.am (CLEANFILES): Add `script', `script.s4g',
`script.as', and `autom4te.cache'.
Remove `empty' and `macro' which are no longer used.
* tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): New.
* tests/m4sugar.at: Use it.
* lib/m4sugar/m4sugar.m4: Use `m4_len' not `len'.
2001-08-07 15:56:40 +08:00
|
|
|
|
2001-08-27 15:20:37 +08:00
|
|
|
# The hairy heredoc is more robust than using echo.
|
|
|
|
CLEANFILES = expr
|
2001-08-31 23:28:24 +08:00
|
|
|
subdir = tests
|
2001-05-22 22:43:48 +08:00
|
|
|
mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
|
2001-10-31 18:43:31 +08:00
|
|
|
CONFIG_CLEAN_FILES = atlocal autoconf autoheader autom4te autoreconf \
|
|
|
|
autoscan autoupdate ifnames
|
2001-08-31 23:28:24 +08:00
|
|
|
DIST_SOURCES =
|
2002-07-18 00:07:32 +08:00
|
|
|
DIST_COMMON = Makefile.am Makefile.in atlocal.in wrapper.in
|
2001-08-31 23:28:24 +08:00
|
|
|
all: all-am
|
2000-02-28 18:20:50 +08:00
|
|
|
|
2000-02-15 17:12:36 +08:00
|
|
|
.SUFFIXES:
|
2002-04-10 23:58:19 +08:00
|
|
|
.SUFFIXES: .m4 .m4f
|
|
|
|
$(srcdir)/Makefile.in: Makefile.am $(srcdir)/../lib/freeze.mk $(top_srcdir)/configure.ac $(ACLOCAL_M4)
|
2001-08-31 23:28:24 +08:00
|
|
|
cd $(top_srcdir) && \
|
|
|
|
$(AUTOMAKE) --gnu tests/Makefile
|
|
|
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
2002-01-25 01:39:46 +08:00
|
|
|
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
|
2001-10-31 18:43:31 +08:00
|
|
|
atlocal: $(top_builddir)/config.status atlocal.in
|
|
|
|
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
|
2002-07-17 17:56:13 +08:00
|
|
|
autoconf: $(top_builddir)/config.status wrapper.in
|
2001-10-31 18:43:31 +08:00
|
|
|
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
|
2002-07-17 17:56:13 +08:00
|
|
|
autoheader: $(top_builddir)/config.status wrapper.in
|
2001-10-31 18:43:31 +08:00
|
|
|
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
|
2002-07-17 17:56:13 +08:00
|
|
|
autom4te: $(top_builddir)/config.status wrapper.in
|
2001-10-31 18:43:31 +08:00
|
|
|
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
|
2002-07-17 17:56:13 +08:00
|
|
|
autoreconf: $(top_builddir)/config.status wrapper.in
|
2001-10-31 18:43:31 +08:00
|
|
|
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
|
2002-07-17 17:56:13 +08:00
|
|
|
autoscan: $(top_builddir)/config.status wrapper.in
|
2001-10-31 18:43:31 +08:00
|
|
|
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
|
2002-07-17 17:56:13 +08:00
|
|
|
autoupdate: $(top_builddir)/config.status wrapper.in
|
2001-10-31 18:43:31 +08:00
|
|
|
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
|
2002-07-17 17:56:13 +08:00
|
|
|
ifnames: $(top_builddir)/config.status wrapper.in
|
2001-10-31 18:43:31 +08:00
|
|
|
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
|
2001-08-31 23:28:24 +08:00
|
|
|
uninstall-info-am:
|
2000-02-15 17:12:36 +08:00
|
|
|
tags: TAGS
|
|
|
|
TAGS:
|
|
|
|
|
2001-08-31 23:28:24 +08:00
|
|
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
2000-02-15 17:12:36 +08:00
|
|
|
|
2001-08-31 23:28:24 +08:00
|
|
|
top_distdir = ..
|
|
|
|
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
|
2001-01-23 22:11:02 +08:00
|
|
|
|
2000-02-15 17:12:36 +08:00
|
|
|
distdir: $(DISTFILES)
|
|
|
|
@for file in $(DISTFILES); do \
|
2002-01-07 04:48:25 +08:00
|
|
|
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
2001-08-31 23:28:24 +08:00
|
|
|
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
|
|
|
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
2002-01-25 01:39:46 +08:00
|
|
|
dir="/$$dir"; \
|
|
|
|
$(mkinstalldirs) "$(distdir)$$dir"; \
|
|
|
|
else \
|
|
|
|
dir=''; \
|
2001-08-31 23:28:24 +08:00
|
|
|
fi; \
|
2000-02-15 17:12:36 +08:00
|
|
|
if test -d $$d/$$file; then \
|
2002-01-25 01:39:46 +08:00
|
|
|
cp -pR $$d/$$file $(distdir)$$dir \
|
2001-08-31 23:28:24 +08:00
|
|
|
|| exit 1; \
|
2000-02-15 17:12:36 +08:00
|
|
|
else \
|
|
|
|
test -f $(distdir)/$$file \
|
2001-08-31 23:28:24 +08:00
|
|
|
|| cp -p $$d/$$file $(distdir)/$$file \
|
|
|
|
|| exit 1; \
|
2000-02-15 17:12:36 +08:00
|
|
|
fi; \
|
|
|
|
done
|
|
|
|
check-am: all-am
|
2002-02-05 16:28:08 +08:00
|
|
|
$(MAKE) $(AM_MAKEFLAGS) $(check_SCRIPTS)
|
2000-02-15 17:12:36 +08:00
|
|
|
$(MAKE) $(AM_MAKEFLAGS) check-local
|
|
|
|
check: check-am
|
2001-08-31 23:28:24 +08:00
|
|
|
all-am: Makefile
|
2001-08-31 22:46:17 +08:00
|
|
|
|
2001-08-31 23:28:24 +08:00
|
|
|
installdirs:
|
2001-07-24 16:43:06 +08:00
|
|
|
|
2001-08-31 22:46:17 +08:00
|
|
|
install: install-am
|
2001-08-31 23:28:24 +08:00
|
|
|
install-exec: install-exec-am
|
|
|
|
install-data: install-data-am
|
2001-08-31 22:46:17 +08:00
|
|
|
uninstall: uninstall-am
|
|
|
|
|
2001-08-31 23:28:24 +08:00
|
|
|
install-am: all-am
|
|
|
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
2001-08-31 22:46:17 +08:00
|
|
|
|
2001-08-31 23:28:24 +08:00
|
|
|
installcheck: installcheck-am
|
|
|
|
install-strip:
|
|
|
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
2002-01-07 04:48:25 +08:00
|
|
|
INSTALL_STRIP_FLAG=-s \
|
2001-08-31 23:28:24 +08:00
|
|
|
`test -z '$(STRIP)' || \
|
|
|
|
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
2000-02-15 17:12:36 +08:00
|
|
|
mostlyclean-generic:
|
|
|
|
|
|
|
|
clean-generic:
|
|
|
|
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
|
|
|
|
|
|
|
distclean-generic:
|
2001-08-31 23:28:24 +08:00
|
|
|
-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
|
2000-02-15 17:12:36 +08:00
|
|
|
-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
|
|
|
|
|
|
|
|
maintainer-clean-generic:
|
2001-08-31 23:28:24 +08:00
|
|
|
@echo "This command is intended for maintainers to use"
|
|
|
|
@echo "it deletes files that may require special tools to rebuild."
|
2001-08-31 21:31:37 +08:00
|
|
|
-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
|
2001-08-31 23:28:24 +08:00
|
|
|
clean: clean-am
|
2001-07-19 19:55:48 +08:00
|
|
|
|
2001-08-31 23:28:24 +08:00
|
|
|
clean-am: clean-generic clean-local mostlyclean-am
|
Automake 1.5.
* Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
(AMTAR): Help automake define it.
(INSTALL, install-data-hook): The INSTALL.txt trick is no longer
needed, 1.5 can have a macro and a target with the same name.
* m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
* m4/strip.m4: New.
* m4/init.m4, m4/sanity.m4: Update.
* doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
* lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
* lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
* lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.
2001-08-27 15:12:16 +08:00
|
|
|
|
2001-08-31 23:28:24 +08:00
|
|
|
distclean: distclean-am
|
Automake 1.5.
* Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
(AMTAR): Help automake define it.
(INSTALL, install-data-hook): The INSTALL.txt trick is no longer
needed, 1.5 can have a macro and a target with the same name.
* m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
* m4/strip.m4: New.
* m4/init.m4, m4/sanity.m4: Update.
* doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
* lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
* lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
* lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.
2001-08-27 15:12:16 +08:00
|
|
|
|
2001-08-31 23:28:24 +08:00
|
|
|
distclean-am: clean-am distclean-generic
|
Automake 1.5.
* Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
(AMTAR): Help automake define it.
(INSTALL, install-data-hook): The INSTALL.txt trick is no longer
needed, 1.5 can have a macro and a target with the same name.
* m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
* m4/strip.m4: New.
* m4/init.m4, m4/sanity.m4: Update.
* doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
* lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
* lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
* lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.
2001-08-27 15:12:16 +08:00
|
|
|
|
2001-08-31 23:28:24 +08:00
|
|
|
dvi: dvi-am
|
Automake 1.5.
* Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
(AMTAR): Help automake define it.
(INSTALL, install-data-hook): The INSTALL.txt trick is no longer
needed, 1.5 can have a macro and a target with the same name.
* m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
* m4/strip.m4: New.
* m4/init.m4, m4/sanity.m4: Update.
* doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
* lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
* lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
* lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.
2001-08-27 15:12:16 +08:00
|
|
|
|
2001-08-31 23:28:24 +08:00
|
|
|
dvi-am:
|
Automake 1.5.
* Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
(AMTAR): Help automake define it.
(INSTALL, install-data-hook): The INSTALL.txt trick is no longer
needed, 1.5 can have a macro and a target with the same name.
* m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
* m4/strip.m4: New.
* m4/init.m4, m4/sanity.m4: Update.
* doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
* lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
* lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
* lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.
2001-08-27 15:12:16 +08:00
|
|
|
|
2001-08-31 23:28:24 +08:00
|
|
|
info: info-am
|
|
|
|
|
|
|
|
info-am:
|
|
|
|
|
|
|
|
install-data-am:
|
|
|
|
|
|
|
|
install-exec-am:
|
|
|
|
|
|
|
|
install-info: install-info-am
|
|
|
|
|
|
|
|
install-man:
|
|
|
|
|
|
|
|
installcheck-am: installcheck-local
|
2000-02-15 17:12:36 +08:00
|
|
|
|
|
|
|
maintainer-clean: maintainer-clean-am
|
|
|
|
|
2001-08-31 23:28:24 +08:00
|
|
|
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
|
2000-02-15 17:12:36 +08:00
|
|
|
|
2002-04-10 23:58:19 +08:00
|
|
|
$(MY_AUTOM4TE):
|
|
|
|
cd $(top_builddir)/tests && $(MAKE) $(AM_MAKEFLAGS) autom4te
|
|
|
|
$(AUTOM4TE_CFG):
|
|
|
|
cd $(top_builddir)/lib && $(MAKE) $(AM_MAKEFLAGS) autom4te.cfg
|
|
|
|
|
|
|
|
# When processing the file with diversion disabled, there must be no
|
|
|
|
# output but comments and empty lines.
|
|
|
|
# If freezing produces output, something went wrong: a bad `divert',
|
|
|
|
# or an improper paren etc.
|
|
|
|
# It may happen that the output does not end with a end of line, hence
|
|
|
|
# force an end of line when reporting errors.
|
|
|
|
.m4.m4f:
|
|
|
|
$(MY_AUTOM4TE) \
|
|
|
|
--language=$* \
|
|
|
|
--freeze \
|
|
|
|
--include=$(srcdir)/.. \
|
|
|
|
--include=.. \
|
|
|
|
--output=$@
|
|
|
|
|
|
|
|
# For parallel builds.
|
|
|
|
$(build_libdir)/m4sugar/version.m4:
|
|
|
|
cd $(build_libdir)/m4sugar && $(MAKE) $(AM_MAKEFLAGS) version.m4
|
|
|
|
|
|
|
|
# Import the dependencies on Autotest and M4sh.
|
2002-01-07 04:48:25 +08:00
|
|
|
|
|
|
|
$(srcdir)/package.m4: $(top_srcdir)/configure.ac
|
|
|
|
{ \
|
|
|
|
echo '# Signature of the current package.'; \
|
|
|
|
echo 'm4_define([AT_PACKAGE_NAME], [@PACKAGE_NAME@])'; \
|
|
|
|
echo 'm4_define([AT_PACKAGE_TARNAME], [@PACKAGE_TARNAME@])'; \
|
|
|
|
echo 'm4_define([AT_PACKAGE_VERSION], [@PACKAGE_VERSION@])'; \
|
|
|
|
echo 'm4_define([AT_PACKAGE_STRING], [@PACKAGE_STRING@])'; \
|
|
|
|
echo 'm4_define([AT_PACKAGE_BUGREPORT], [@PACKAGE_BUGREPORT@])'; \
|
|
|
|
} >$(srcdir)/package.m4
|
2002-04-10 23:58:19 +08:00
|
|
|
|
2002-07-17 17:56:13 +08:00
|
|
|
$(srcdir)/wrapper.in: $(srcdir)/wrapper.as
|
|
|
|
./autom4te --language=M4sh $(srcdir)/wrapper.as -o $@
|
2002-04-10 23:58:19 +08:00
|
|
|
$(TESTSUITE): $(srcdir)/package.m4 \
|
|
|
|
atspecific.m4 \
|
|
|
|
$(TESTSUITE_AT) \
|
|
|
|
$(autotest_m4f_dependencies)
|
2001-08-31 21:31:37 +08:00
|
|
|
$(AUTOTEST) -I $(srcdir) suite.at -o $@.tmp
|
2001-01-26 19:59:49 +08:00
|
|
|
mv $@.tmp $@
|
2000-02-15 17:12:36 +08:00
|
|
|
|
2001-08-31 21:31:37 +08:00
|
|
|
atconfig: $(top_builddir)/config.status
|
|
|
|
cd $(top_builddir) && ./config.status tests/$@
|
|
|
|
|
|
|
|
clean-local:
|
2001-10-08 16:20:59 +08:00
|
|
|
test ! -f $(TESTSUITE) || $(SHELL) $(TESTSUITE) --clean
|
|
|
|
rm -f *.tmp
|
2001-08-31 21:31:37 +08:00
|
|
|
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)
|
Create actypes.m4.
* acgeneral.m4 (AC_CHECK_SIZEOF, _AC_CHECK_TYPE_NEW)
(AC_CHECK_TYPES, _AC_CHECK_TYPE_OLD)
(_AC_CHECK_TYPE_REPLACEMENT_TYPE_P, _AC_CHECK_TYPE_MAYBE_TYPE_P)
(AC_CHECK_TYPE, AC_CHECK_MEMBER, AC_CHECK_MEMBERS): Move into...
* actypes.m4: here.
* acgeneral.m4 (AC_TYPE_GETGROUPS, AM_TYPE_PTRDIFF_T)
(AC_TYPE_UID_T, AC_TYPE_SIZE_T, AC_TYPE_PID_T, AC_TYPE_OFF_T)
(AC_TYPE_MODE_T, AC_INT_16_BITS, AC_LONG_64_BITS, AC_TYPE_SIGNAL)
(AC_STRUCT_TM, AC_STRUCT_TIMEZONE, AC_STRUCT_ST_BLKSIZE)
(AC_STRUCT_ST_BLOCKS, AC_STRUCT_ST_RDEV): Move into...
* actypes.m4: here.
Adjust the test suite.
2001-01-22 17:04:58 +08:00
|
|
|
|
2001-01-12 17:39:26 +08:00
|
|
|
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
|
2000-02-15 17:12:36 +08:00
|
|
|
# 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:
|