### -*-makefile-*- ### ### Build script for `runlisp' ### ### (c) 2020 Mark Wooding ### ###----- Licensing notice --------------------------------------------------- ### ### This file is part of Runlisp, a tool for invoking Common Lisp scripts. ### ### Runlisp is free software: you can redistribute it and/or modify it ### under the terms of the GNU General Public License as published by the ### Free Software Foundation; either version 3 of the License, or (at your ### option) any later version. ### ### Runlisp is distributed in the hope that it will be useful, but WITHOUT ### ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or ### FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License ### for more details. ### ### You should have received a copy of the GNU General Public License ### along with Runlisp. If not, see . include $(top_srcdir)/vars.am SUBDIRS = pkgdata_DATA = image_DATA = image_SCRIPTS = SUBDIRS += . ACLOCAL_AMFLAGS = -Im4 ###-------------------------------------------------------------------------- ### The main driver program. bin_PROGRAMS += runlisp runlisp_SOURCES = runlisp.c man_MANS += runlisp.1 ###-------------------------------------------------------------------------- ### Additional machinery. pkgdata_DATA += eval.lisp EXTRA_DIST += eval.lisp ###-------------------------------------------------------------------------- ### Image dumping. nodist_bin_SCRIPTS += dump-runlisp-image man_MANS += dump-runlisp-image.1 v_dump = $(v_dump_@AM_V@) v_dump_ = $(v_dump_@AM_DEFAULT_V@) v_dump_0 = @echo " DUMP $@"; EXTRA_DIST += dump-runlisp-image.in CLEANFILES += dump-runlisp-image dump-runlisp-image: dump-runlisp-image.in $(SUBST) $(srcdir)/dump-runlisp-image.in >$@.new \ $(SUBSTITUTIONS) && \ chmod +x $@.new && mv $@.new $@ if DUMP_SBCL image_DATA += sbcl+asdf.core CLEANFILES += sbcl+asdf.core sbcl+asdf.core: dump-runlisp-image $(v_dump)./dump-runlisp-image -o$@ sbcl endif if DUMP_CCL image_DATA += ccl+asdf.image CLEANFILES += ccl+asdf.image ccl+asdf.image: dump-runlisp-image $(v_dump)./dump-runlisp-image -o$@ ccl endif if DUMP_CLISP image_DATA += clisp+asdf.mem CLEANFILES += clisp+asdf.mem clisp+asdf.mem: dump-runlisp-image $(v_dump)./dump-runlisp-image -o$@ clisp endif if DUMP_ECL image_SCRIPTS += ecl+asdf CLEANFILES += ecl+asdf ecl+asdf: dump-runlisp-image $(v_dump)./dump-runlisp-image -o$@ ecl endif if DUMP_CMUCL image_DATA += cmucl+asdf.core CLEANFILES += cmucl+asdf.core cmucl+asdf.core: dump-runlisp-image $(v_dump)./dump-runlisp-image -o$@ cmucl endif ###-------------------------------------------------------------------------- ### Benchmarking and testing. if BENCHMARK SUBDIRS += bench endif SUBDIRS += t ###-------------------------------------------------------------------------- ### Distribution. ## Release number. dist-hook:: echo $(VERSION) >$(distdir)/RELEASE ## Additional build tools. EXTRA_DIST += config/auto-version ###----- That's all, folks --------------------------------------------------