autoconf/testsuite/Makefile.in
1994-08-09 13:44:55 +00:00

87 lines
2.3 KiB
Makefile

# Makefile for Autoconf test suite.
# Copyright (C) 1994 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#### Start of system configuration section. ####
srcdir = @srcdir@
VPATH = @srcdir@
M4 = @M4@
prefix = @prefix@
exec_prefix = @exec_prefix@
# Directory in which to install library files.
datadir = $(prefix)/lib
acdatadir = $(datadir)/autoconf
AUTOCONF = autoconf
AUTOCONFFLAGS =
RUNTEST= runtest
RUNTESTFLAGS=
#### End of system configuration section. ####
SHELL = /bin/sh
all:
info:
dvi:
check: site.exp all
@echo This only works if you have the DejaGNU runtest program installed...
$(RUNTEST) $(RUNTESTFLAGS) --tool autoconf AUTOCONF=${AUTOCONF} \
AUTOCONFFLAGS="${AUTOCONFFLAGS}" --srcdir $(srcdir)
installcheck:
site.exp: ../config.status Makefile
@echo "Making a new site.exp file..."
-@rm -f ./tmp?
@touch site.exp
-@mv site.exp site.bak
@echo "## these variables are automatically generated by make ##" > ./tmp0
@echo "# Do not edit here. If you wish to override these values" >> ./tmp0
@echo "# add them to the last section" >> ./tmp0
@echo "set tool autoconf" >> ./tmp0
@echo "set srcdir ${srcdir}" >> ./tmp0
@echo "set objdir `pwd`" >> ./tmp0
@echo "## All variables above are generated by configure. Do Not Edit ##" >> ./tmp0
@cat ./tmp0 > site.exp
@sed < site.bak \
-e '1,/^## All variables above are.*##/ d' >> site.exp
-@rm -f ./tmp?
install:
install-info:
uninstall:
Makefile: Makefile.in ../config.status
cd ..; ./config.status
clean mostlyclean distclean realclean::
rm -f autoconf.log autoconf.sum site.exp site.bak AC* confdummy*
distclean realclean::
rm -f Makefile config.status config.cache config.log
TAGS: