Commit | Line | Data |
---|---|---|
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 | ||
28 | EXTRA_DIST = | |
29 | CLEANFILES = | |
8996f767 | 30 | SUFFIXES = |
e29834b8 MW |
31 | |
32 | bin_PROGRAMS = | |
33 | bin_SCRIPTS = | |
34 | nodist_bin_SCRIPTS = | |
35 | ||
36 | man_MANS = | |
8996f767 MW |
37 | doc_DATA = |
38 | ||
39 | pkgdata_DATA = | |
40 | pkgconfdir = $(sysconfdir)/$(PACKAGE_NAME) | |
41 | pkgconf_DATA = | |
e29834b8 | 42 | |
e29834b8 | 43 | noinst_DATA = |
8996f767 MW |
44 | noinst_LIBRARIES = |
45 | noinst_PROGRAMS = | |
e29834b8 MW |
46 | |
47 | ###-------------------------------------------------------------------------- | |
48 | ### Standard configuration substitutions. | |
49 | ||
50 | ## Substitute tags in files. | |
51 | confsubst = $(top_srcdir)/config/confsubst | |
52 | ||
53 | SUBSTITUTIONS = \ | |
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 | ||
61 | v_subst = $(v_subst_@AM_V@) | |
62 | v_subst_ = $(v_subst_@AM_DEFAULT_V@) | |
63 | v_subst_0 = @echo " SUBST $@"; | |
64 | SUBST = $(v_subst)$(confsubst) | |
65 | ||
66 | ###-------------------------------------------------------------------------- | |
8996f767 MW |
67 | ### Manpages. |
68 | ||
69 | v_man = $(v_man_@AM_V@) | |
70 | v_man_ = $(v_man_@AM_DEFAULT_V@) | |
71 | v_man_0 = @echo " MAN $@"; | |
72 | MAN = man | |
73 | ||
74 | SUFFIXES += .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 | ||
81 | LISPS = | |
82 | ||
83 | LISPS += sbcl | |
84 | LISPS += ccl | |
85 | LISPS += clisp | |
86 | LISPS += ecl | |
87 | LISPS += cmucl | |
88 | LISPS += abcl | |
89 | ||
90 | ###----- That's all, folks -------------------------------------------------- |