1
## Process this file with automake to create Makefile.in. -*-Makefile-*-
3
## Makefile for Autoconf.
4
## Copyright 1999, 2000, 2001 Free Software Foundation, Inc.
6
## This program is free software; you can redistribute it and/or modify
7
## it under the terms of the GNU General Public License as published by
8
## the Free Software Foundation; either version 2, or (at your option)
11
## This program is distributed in the hope that it will be useful,
12
## but WITHOUT ANY WARRANTY; without even the implied warranty of
13
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
## GNU General Public License for more details.
16
## You should have received a copy of the GNU General Public License
17
## along with this program; if not, write to the Free Software
18
## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
21
bin_SCRIPTS = autom4te \
22
autoconf autoheader autoreconf ifnames autoscan autoupdate
24
EXTRA_DIST = autoconf.in autoheader.in autoreconf.in autoupdate.in ifnames.in \
25
autoscan.in autom4te.in
27
# Files that should be removed, but which Automake does not know.
28
CLEANFILES = $(bin_SCRIPTS)
36
-e 's,@SHELL\@,$(SHELL),g' \
37
-e 's,@PERL\@,$(PERL),g' \
38
-e 's,@bindir\@,$(bindir),g' \
39
-e 's,@datadir\@,$(pkgdatadir),g' \
40
-e 's,@prefix\@,$(prefix),g' \
41
-e 's,@autoconf-name\@,'`echo autoconf | sed '$(transform)'`',g' \
42
-e 's,@autoheader-name\@,'`echo autoheader | sed '$(transform)'`',g' \
43
-e 's,@autom4te-name\@,'`echo autom4te | sed '$(transform)'`',g' \
44
-e 's,@M4\@,$(M4),g' \
45
-e 's,@AWK\@,$(AWK),g' \
46
-e 's,@VERSION\@,$(VERSION),g' \
47
-e 's,@PACKAGE_NAME\@,$(PACKAGE_NAME),g'
49
## All the files below depend on configure.ac so that they are rebuilt
50
## when the Autoconf version changes. Unfortunately, suffix rules cannot
51
## have additional dependencies, so we have to use explicit rules.
53
autoconf: $(srcdir)/autoconf.in $(top_srcdir)/configure.ac
54
rm -f autoconf autoconf.tmp
55
$(edit) $(srcdir)/autoconf.in >autoconf.tmp
57
mv autoconf.tmp autoconf
59
autoheader: $(srcdir)/autoheader.in $(top_srcdir)/configure.ac
60
rm -f autoheader autoheader.tmp
61
$(edit) $(srcdir)/autoheader.in >autoheader.tmp
62
chmod +x autoheader.tmp
63
mv autoheader.tmp autoheader
65
autoreconf: $(srcdir)/autoreconf.in $(top_srcdir)/configure.ac
66
rm -f autoreconf autoreconf.tmp
67
$(edit) $(srcdir)/autoreconf.in >autoreconf.tmp
68
chmod +x autoreconf.tmp
69
mv autoreconf.tmp autoreconf
71
autoupdate: $(srcdir)/autoupdate.in $(top_srcdir)/configure.ac
72
rm -f autoupdate autoupdate.tmp
73
$(edit) $(srcdir)/autoupdate.in >autoupdate.tmp
74
chmod +x autoupdate.tmp
75
mv autoupdate.tmp autoupdate
77
ifnames: $(srcdir)/ifnames.in $(top_srcdir)/configure.ac
78
rm -f ifnames ifnames.tmp
79
$(edit) $(srcdir)/ifnames.in >ifnames.tmp
81
mv ifnames.tmp ifnames
83
autoscan: $(srcdir)/autoscan.in $(top_srcdir)/configure.ac
84
rm -f autoscan autoscan.tmp
85
$(edit) $(srcdir)/autoscan.in >autoscan.tmp
87
mv autoscan.tmp autoscan
89
autom4te: $(srcdir)/autom4te.in $(top_srcdir)/configure.ac
90
rm -f autom4te autom4te.tmp
91
$(edit) $(srcdir)/autom4te.in >autom4te.tmp
93
mv autom4te.tmp autom4te
100
TAGS_DEPENDENCIES = $(EXTRA_DIST)
102
letters = abcdefghijklmnopqrstuvwxyz
103
LETTERS = ABCDEFGHIJKLMNOPQRSTUVWXYZ
105
WORD_REGEXP = [$(LETTERS)$(letters)_][$(LETTERS)$(letters)$(DIGITS)_]*
106
ETAGS_PERL = --lang=perl \
107
autoreconf.in autoupdate.in autoscan.in autom4te.in
108
ETAGS_SH = --lang=none --regex='/\($(WORD_REGEXP)\)=/\1/' \
109
autoconf.in autoheader.in ifnames.in
111
ETAGS_ARGS = $(ETAGS_PERL) $(ETAGS_SH)