1 | # Makefile for Autoconf test suite.
|
---|
2 | # Copyright (C) 1994 Free Software Foundation, Inc.
|
---|
3 |
|
---|
4 | # This program is free software; you can redistribute it and/or modify
|
---|
5 | # it under the terms of the GNU General Public License as published by
|
---|
6 | # the Free Software Foundation; either version 2, or (at your option)
|
---|
7 | # any later version.
|
---|
8 |
|
---|
9 | # This program is distributed in the hope that it will be useful,
|
---|
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
12 | # GNU General Public License for more details.
|
---|
13 |
|
---|
14 | # You should have received a copy of the GNU General Public License
|
---|
15 | # along with this program; if not, write to the Free Software
|
---|
16 | # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
---|
17 |
|
---|
18 | #### Start of system configuration section. ####
|
---|
19 |
|
---|
20 | top_srcdir = @top_srcdir@
|
---|
21 | srcdir = @srcdir@
|
---|
22 | VPATH = @srcdir@
|
---|
23 |
|
---|
24 | M4 = @M4@
|
---|
25 |
|
---|
26 | prefix = @prefix@
|
---|
27 | exec_prefix = @exec_prefix@
|
---|
28 |
|
---|
29 | AUTOCONF = ../autoconf
|
---|
30 | AUTOCONFFLAGS = -m $(top_srcdir)
|
---|
31 |
|
---|
32 | RUNTEST= runtest
|
---|
33 | RUNTESTFLAGS=
|
---|
34 |
|
---|
35 | #### End of system configuration section. ####
|
---|
36 |
|
---|
37 | SHELL = /bin/sh
|
---|
38 |
|
---|
39 | all:
|
---|
40 | info:
|
---|
41 | dvi:
|
---|
42 |
|
---|
43 | check: site.exp all
|
---|
44 | @if ($(RUNTEST) --version) >/dev/null 2>&1; then \
|
---|
45 | echo $(RUNTEST); \
|
---|
46 | $(RUNTEST) $(RUNTESTFLAGS) --tool autoconf AUTOCONF=${AUTOCONF} \
|
---|
47 | AUTOCONFFLAGS="${AUTOCONFFLAGS}" --srcdir $(srcdir); \
|
---|
48 | else echo $(RUNTEST) not found, check skipped; fi
|
---|
49 |
|
---|
50 | installcheck:
|
---|
51 |
|
---|
52 | site.exp: Makefile
|
---|
53 | @echo "Making a new site.exp file..."
|
---|
54 | @test ! -f site.bak || rm -f site.bak
|
---|
55 | @test ! -f site.exp || mv site.exp site.bak
|
---|
56 | @echo "## these variables are automatically generated by make ##" > site.exp
|
---|
57 | @echo "# Do not edit here. If you wish to override these values" >> site.exp
|
---|
58 | @echo "# add them to the last section" >> site.exp
|
---|
59 | @echo "set tool autoconf" >> site.exp
|
---|
60 | @echo "set srcdir ${srcdir}" >> site.exp
|
---|
61 | @echo "set objdir `pwd`" >> site.exp
|
---|
62 | @echo "## All variables above are generated by configure. Do Not Edit ##" >> site.exp
|
---|
63 | @test ! -f site.bak || sed '1,/^## All variables above are.*##/ d' site.bak >> site.exp
|
---|
64 |
|
---|
65 | install:
|
---|
66 |
|
---|
67 | install-info:
|
---|
68 |
|
---|
69 | uninstall:
|
---|
70 |
|
---|
71 | Makefile: Makefile.in ../config.status
|
---|
72 | cd ..; ./config.status
|
---|
73 |
|
---|
74 | clean mostlyclean distclean maintainer-clean::
|
---|
75 | rm -f autoconf.log autoconf.sum site.exp site.bak AC* confdummy*
|
---|
76 |
|
---|
77 | distclean maintainer-clean::
|
---|
78 | rm -f Makefile config.status config.cache config.log
|
---|
79 |
|
---|
80 | TAGS:
|
---|