@@@ more wip
[runlisp] / vars.am
CommitLineData
e29834b8
MW
1### -*-makefile-*-
2###
3### Common build-system definitions
4###
5### (c) 2020 Mark Wooding
6###
7
8###----- Licensing notice ---------------------------------------------------
9###
10### This file is part of Runlisp, a tool for invoking Common Lisp scripts.
11###
12### Runlisp is free software: you can redistribute it and/or modify it
13### under the terms of the GNU General Public License as published by the
14### Free Software Foundation; either version 3 of the License, or (at your
15### option) any later version.
16###
17### Runlisp is distributed in the hope that it will be useful, but WITHOUT
18### ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
19### FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
20### for more details.
21###
22### You should have received a copy of the GNU General Public License
23### along with Runlisp. If not, see <https://www.gnu.org/licenses/>.
24
25###--------------------------------------------------------------------------
26### Initial values for common variables.
27
28EXTRA_DIST =
29CLEANFILES =
8996f767 30SUFFIXES =
e29834b8
MW
31
32bin_PROGRAMS =
33bin_SCRIPTS =
34nodist_bin_SCRIPTS =
35
36man_MANS =
8996f767
MW
37doc_DATA =
38
39pkgdata_DATA =
40pkgconfdir = $(sysconfdir)/$(PACKAGE_NAME)
41pkgconf_DATA =
e29834b8 42
e29834b8 43noinst_DATA =
8996f767
MW
44noinst_LIBRARIES =
45noinst_PROGRAMS =
e29834b8
MW
46
47###--------------------------------------------------------------------------
48### Standard configuration substitutions.
49
50## Substitute tags in files.
51confsubst = $(top_srcdir)/config/confsubst
52
53SUBSTITUTIONS = \
54 prefix=$(prefix) exec_prefix=$(exec_prefix) \
55 libdir=$(libdir) includedir=$(includedir) \
56 bindir=$(bindir) sbindir=$(sbindir) \
57 imagedir=$(imagedir) \
58 PACKAGE=$(PACKAGE) VERSION=$(VERSION) \
59 ECLOPT=$(ECLOPT)
60
61v_subst = $(v_subst_@AM_V@)
62v_subst_ = $(v_subst_@AM_DEFAULT_V@)
63v_subst_0 = @echo " SUBST $@";
64SUBST = $(v_subst)$(confsubst)
65
66###--------------------------------------------------------------------------
8996f767
MW
67### Manpages.
68
69v_man = $(v_man_@AM_V@)
70v_man_ = $(v_man_@AM_DEFAULT_V@)
71v_man_0 = @echo " MAN $@";
72MAN = man
73
74SUFFIXES += .1 .5 .pdf
75.1.pdf:; $(v_man)$(MAN) -Tpdf -l >$@.new $< && mv $@.new $@
76.5.pdf:; $(v_man)$(MAN) -Tpdf -l >$@.new $< && mv $@.new $@
77
78###--------------------------------------------------------------------------
e29834b8
MW
79### List of Lisp systems.
80
81LISPS =
82
83LISPS += sbcl
84LISPS += ccl
85LISPS += clisp
86LISPS += ecl
87LISPS += cmucl
88LISPS += abcl
89
90###----- That's all, folks --------------------------------------------------