xref: /netbsd-src/external/gpl3/autoconf/dist/lib/autoconf/Makefile.am (revision d874e91932377fc40d53f102e48fc3ee6f4fe9de)
1# Make Autoconf library.
2
3# Copyright (C) 2001-2002, 2006, 2009-2012 Free Software Foundation,
4# Inc.
5
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 3 of the License, or
9# (at your option) any later version.
10
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.
15
16# You should have received a copy of the GNU General Public License
17# along with this program.  If not, see <http://www.gnu.org/licenses/>.
18
19autoconflibdir = $(pkgdatadir)/autoconf
20dist_autoconflib_DATA = \
21	autoconf.m4 \
22	general.m4 status.m4 oldnames.m4 specific.m4 \
23	autoheader.m4 autoupdate.m4 autotest.m4 autoscan.m4 \
24	lang.m4 c.m4 erlang.m4 fortran.m4 \
25	functions.m4 go.m4 headers.m4 types.m4 libs.m4 programs.m4
26
27nodist_autoconflib_DATA = autoconf.m4f
28CLEANFILES = $(nodist_autoconflib_DATA)
29
30
31## --------------- ##
32## Building TAGS.  ##
33## --------------- ##
34
35TAGS_FILES = $(dist_autoconflib_DATA)
36
37ETAGS_ARGS = $(ETAGS_FOR_AUTOCONF)
38
39
40## -------- ##
41## Checks.  ##
42## -------- ##
43
44check-local: check-forbidden-patterns
45forbidden_patterns = -e '^_*EOF' -e ' cmp '
46forbidden_patterns_files = $(dist_autoconflib_DATA)
47
48
49## ------------------ ##
50## The frozen files.  ##
51## ------------------ ##
52
53autoconf.m4f: $(autoconf_m4f_dependencies)
54include ../freeze.mk
55