1 ## Makefile.in - template for building Makefile for M4 testsuite.
3 ## Copyright (C) 1992, 1993, 1994, 2006, 2007, 2008 Free Software
6 ## This file is part of GNU M4.
8 ## GNU M4 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 of the License, or
11 ## (at your option) any later version.
13 ## GNU M4 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/>.
28 exec_prefix = @
exec_prefix@
32 PATH_SEPARATOR
= @PATH_SEPARATOR@
34 # Should be GNU awk, for the get-them script.
37 # Vern says that the first star is required around an Alpha make bug.
38 CHECKS
= $(srcdir)/*[0-9][0-9][0-9].
*
39 # Makefile.in is automatically distributed by automake.
40 DISTFILES
= $(srcdir)/get-them
$(srcdir)/check-them
$(srcdir)/stamp-checks
42 all: $(srcdir)/stamp-checks
44 $(srcdir)/stamp-checks
: $(srcdir)/get-them
$(srcdir)/..
/doc
/m4.texinfo
46 cd
$(srcdir) && AWK
=$(AWK
) .
/get-them ..
/doc
/m4.texinfo
47 touch
$(srcdir)/stamp-checks
52 install-dvi install-pdf install-ps install-html install-info
:
56 check: $(srcdir)/stamp-checks
57 PATH
=`pwd`/..
/src
"$(PATH_SEPARATOR)"$$PATH; export PATH
; \
58 $(srcdir)/check-them
-I
$(srcdir)/..
/examples
$(CHECKS
)
60 installcheck: $(srcdir)/stamp-checks
61 PATH
='$(bindir)'"$(PATH_SEPARATOR)"$$PATH; export PATH
; \
62 $(srcdir)/check-them
-I
$(srcdir)/..
/examples
$(CHECKS
)
73 maintainer-clean
realclean: distclean
74 rm -f
$(CHECKS
) $(srcdir)/stamp-checks
79 @echo
"Copying distribution files"
80 @for file in
$(DISTFILES
) $(CHECKS
); do \
81 ln
$$file ..
/$(PACKAGE
)-$(VERSION
)/checks
2> /dev
/null \
82 || cp
-p
$$file ..
/$(PACKAGE
)-$(VERSION
)/checks
; \
85 Makefile
: $(srcdir)/Makefile.in ..
/config.status
86 cd ..
&& .
/config.status checks
/$@
88 # Tell versions [3.59,3.63) of GNU make not to export all variables.
89 # Otherwise a system limit (for SysV at least) may be exceeded.