From: Chris Hanson Date: Tue, 29 Jan 2002 20:43:14 +0000 (+0000) Subject: Use SCHEME_COMPILER variable to allow end-user override. X-Git-Tag: 20090517-FFI~2279 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=a0f6047cb31cebe3f0e977b967f8c7176f23c272;p=mit-scheme.git Use SCHEME_COMPILER variable to allow end-user override. --- diff --git a/v7/src/microcode/makegen/Makefile.in.in b/v7/src/microcode/makegen/Makefile.in.in index 008277da6..6e1e1cbed 100644 --- a/v7/src/microcode/makegen/Makefile.in.in +++ b/v7/src/microcode/makegen/Makefile.in.in @@ -1,4 +1,4 @@ -# $Id: Makefile.in.in,v 1.19 2002/01/29 20:32:34 cph Exp $ +# $Id: Makefile.in.in,v 1.20 2002/01/29 20:43:14 cph Exp $ # # Copyright (c) 2000-2002 Massachusetts Institute of Technology # @@ -81,8 +81,6 @@ LINK = $(CCLD) $(CFLAGS) $(LDFLAGS) -o $@ EXPAND = $(M4) $(M4_FLAGS) ASSEMBLE = $(AS) $(AS_FLAGS) -SCHEME_COMPILER = scheme -compiler - # **** Configured files **** GC_HEAD_FILES = @GC_HEAD_FILES@ @@ -230,7 +228,7 @@ psbtobin: $(psbtobin_OBJECTS) $(psbtobin_DEPENDENCIES) $(LINK) $(psbtobin_LDFLAGS) $(psbtobin_OBJECTS) $(psbtobin_LIBS) utabmd.bin: utabmd.scm - $(SCHEME_COMPILER) -eval '(sf "utabmd")' < /dev/null + ./utabmd.sh prbfish.so: prbfish.o $(LINK_MODULE) $^ $(PRBFISH_LIBS) $(MODULE_LIBS) diff --git a/v7/src/microcode/utabmd.sh b/v7/src/microcode/utabmd.sh new file mode 100755 index 000000000..a70929aff --- /dev/null +++ b/v7/src/microcode/utabmd.sh @@ -0,0 +1,25 @@ +#!/bin/sh +# +# $Id: utabmd.sh,v 1.1 2002/01/29 20:42:57 cph Exp $ +# +# Copyright (c) 2002 Massachusetts Institute of Technology +# +# This program 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 2 of the License, or (at +# your option) any later version. +# +# This program 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 this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +# USA. + +if [ -z "${SCHEME_COMPILER}" ]; then + SCHEME_COMPILER="scheme -compiler" +fi +$(SCHEME_COMPILER) -eval '(sf "utabmd")' < /dev/null