### -*-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 runlisp_SOURCES += common.c common.h runlisp_SOURCES += lib.c lib.h runlisp_SOURCES += mdwopt.c mdwopt.h man_MANS += runlisp.1 noinst_PROGRAMS += old-runlisp old_runlisp_SOURCES = old-runlisp.c old_runlisp_SOURCES += lib.c lib.h noinst_PROGRAMS += toy toy_SOURCES = toy.c toy_SOURCES += lib.c lib.h ###-------------------------------------------------------------------------- ### Additional machinery. pkgdata_DATA += eval.lisp EXTRA_DIST += eval.lisp ###-------------------------------------------------------------------------- ### Image dumping. bin_PROGRAMS += dump-runlisp-image dump_runlisp_image_SOURCES = dump-runlisp-image.c dump_runlisp_image_SOURCES += common.c common.h dump_runlisp_image_SOURCES += lib.c lib.h dump_runlisp_image_SOURCES += mdwopt.c mdwopt.h man_MANS += dump-runlisp-image.1 DUMP_RUNLISP_IMAGE = $(v_dump)./dump-runlisp-image \ -f -c$(srcdir)/runlisp.conf -O$@ v_dump = $(v_dump_@AM_V@) v_dump_ = $(v_dump_@AM_DEFAULT_V@) v_dump_0 = @echo " DUMP $@"; if DUMP_SBCL image_DATA += sbcl+asdf.core CLEANFILES += sbcl+asdf.core sbcl+asdf.core: dump-runlisp-image runlisp.conf $(DUMP_RUNLISP_IMAGE) sbcl endif if DUMP_CCL image_DATA += ccl+asdf.image CLEANFILES += ccl+asdf.image ccl+asdf.image: dump-runlisp-image runlisp.conf $(DUMP_RUNLISP_IMAGE) ccl endif if DUMP_CLISP image_DATA += clisp+asdf.mem CLEANFILES += clisp+asdf.mem clisp+asdf.mem: dump-runlisp-image runlisp.conf $(DUMP_RUNLISP_IMAGE) clisp endif if DUMP_ECL image_SCRIPTS += ecl+asdf CLEANFILES += ecl+asdf ecl+asdf: dump-runlisp-image runlisp.conf $(DUMP_RUNLISP_IMAGE) -odata-dir=$(srcdir) ecl endif if DUMP_CMUCL image_DATA += cmucl+asdf.core CLEANFILES += cmucl+asdf.core cmucl+asdf.core: dump-runlisp-image runlisp.conf $(DUMP_RUNLISP_IMAGE) 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 --------------------------------------------------