test harness: improve catching of usage errors in script 'test-driver'
[platform/upstream/automake.git] / m4 / Makefile.inc
1 ## Included by top-level Makefile for Automake.
2
3 ## Copyright (C) 1995-2013 Free Software Foundation, Inc.
4 ##
5 ## This program is free software; you can redistribute it and/or modify
6 ## it under the terms of the GNU General Public License as published by
7 ## the Free Software Foundation; either version 2, or (at your option)
8 ## any later version.
9 ##
10 ## This program is distributed in the hope that it will be useful,
11 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
12 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 ## GNU General Public License for more details.
14 ##
15 ## You should have received a copy of the GNU General Public License
16 ## along with this program.  If not, see <http://www.gnu.org/licenses/>.
17
18 ## ------------------------------ ##
19 ##  Automake-provided m4 macros.  ##
20 ## ------------------------------ ##
21
22 system_acdir = @system_acdir@
23 automake_acdir = @automake_acdir@
24
25 dist_automake_ac_DATA = \
26   %D%/amversion.m4 \
27   %D%/ar-lib.m4 \
28   %D%/as.m4 \
29   %D%/auxdir.m4 \
30   %D%/cond.m4 \
31   %D%/cond-if.m4 \
32   %D%/depend.m4 \
33   %D%/depout.m4 \
34   %D%/dmalloc.m4 \
35   %D%/extra-recurs.m4 \
36   %D%/gcj.m4 \
37   %D%/init.m4 \
38   %D%/install-sh.m4 \
39   %D%/lead-dot.m4 \
40   %D%/lex.m4 \
41   %D%/lispdir.m4 \
42   %D%/maintainer.m4 \
43   %D%/make.m4 \
44   %D%/missing.m4 \
45   %D%/mkdirp.m4 \
46   %D%/obsolete.m4 \
47   %D%/options.m4 \
48   %D%/python.m4 \
49   %D%/prog-cc-c-o.m4 \
50   %D%/runlog.m4 \
51   %D%/sanity.m4 \
52   %D%/silent.m4 \
53   %D%/strip.m4 \
54   %D%/substnot.m4 \
55   %D%/tar.m4 \
56   %D%/upc.m4 \
57   %D%/vala.m4
58
59 dist_system_ac_DATA = %D%/acdir/README
60
61 automake_internal_acdir = $(automake_acdir)/internal
62 dist_automake_internal_ac_DATA = %D%/internal/ac-config-macro-dirs.m4
63
64 # We build amversion.m4 here, instead of from config.status,
65 # because config.status is rerun each time one of configure's
66 # dependencies change and amversion.m4 happens to be a configure
67 # dependency.  configure and amversion.m4 would be rebuilt in
68 # loop otherwise.
69 # Use '$(top_srcdir)' for the benefit of non-GNU makes: this is
70 # how amversion.m4 appears in our dependencies.
71 $(top_srcdir)/%D%/amversion.m4: $(srcdir)/configure.ac \
72                                 $(srcdir)/%D%/amversion.in
73         $(AM_V_at)rm -f $@-t $@
74         $(AM_V_GEN)in=amversion.in \
75           && $(do_subst) <$(srcdir)/%D%/amversion.in >$@-t
76         $(generated_file_finalize)
77 EXTRA_DIST += %D%/amversion.in
78
79 # vim: ft=automake noet