Clarify overriding of `*_DEPENDENCIES' in LIBOBJS node.
[automake/ericb.git] / m4 / Makefile.am
blob9f5e1c27dbf240b4e085a896bf8c72e6673abbe2
1 ## Process this file with automake to create Makefile.in
3 ## Makefile for Automake m4.
5 ## Copyright (C) 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2006,
6 ## 2008 Free Software Foundation, Inc.
8 ## This program is free software; you can redistribute it and/or modify
9 ## it under the terms of the GNU General Public License as published by
10 ## the Free Software Foundation; either version 3, or (at your option)
11 ## any later version.
13 ## This program is distributed in the hope that it will be useful,
14 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
15 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 ## GNU General Public License for more details.
18 ## You should have received a copy of the GNU General Public License
19 ## along with this program.  If not, see <http://www.gnu.org/licenses/>.
21 m4datadir = $(datadir)/aclocal-$(APIVERSION)
23 dist_m4data_DATA = \
24 $(top_srcdir)/m4/amversion.m4 \
25 as.m4 \
26 auxdir.m4 \
27 ccstdc.m4 \
28 cond.m4 \
29 cond-if.m4 \
30 depend.m4 \
31 depout.m4 \
32 dmalloc.m4 \
33 gcj.m4 \
34 header.m4 \
35 init.m4 \
36 install-sh.m4 \
37 lead-dot.m4 \
38 lex.m4 \
39 lispdir.m4 \
40 maintainer.m4 \
41 make.m4 \
42 minuso.m4 \
43 missing.m4 \
44 mkdirp.m4 \
45 multi.m4 \
46 obsol-gt.m4 \
47 obsol-lt.m4 \
48 obsolete.m4 \
49 options.m4 \
50 protos.m4 \
51 python.m4 \
52 regex.m4 \
53 runlog.m4 \
54 sanity.m4 \
55 strip.m4 \
56 substnot.m4 \
57 tar.m4 \
58 upc.m4
60 EXTRA_DIST = dirlist amversion.in
62 # We build amversion.m4 here, instead of from config.status,
63 # because config.status is rerun each time one of configure's
64 # dependencies change and amversion.m4 happens to be a configure
65 # dependency.  configure and amversion.m4 would be rebuilt in
66 # loop otherwise.
67 # Use `$(top_srcdir)/m4' for the benefit of non-GNU makes: this is
68 # how amversion.m4 appears in our dependencies.
69 $(top_srcdir)/m4/amversion.m4: $(srcdir)/amversion.in
70         sed -e 's,[@]VERSION[@],$(VERSION),g' \
71             -e 's,[@]APIVERSION[@],$(APIVERSION),g' \
72             -e "s,[@]configure_input[@],Generated from amversion.in; do not edit by hand.,g" \
73             $(srcdir)/amversion.in > $@t
74         chmod a-w $@t
75         mv -f $@t $@