From 574cbd804e0fca572dac400c6c162b6c2e11f704 Mon Sep 17 00:00:00 2001 From: mainzelm Date: Wed, 30 May 2001 12:13:07 +0000 Subject: [PATCH] - Added BUILD_RUNNABLE variable which has to point to a Scheme 48 0.53 executable - Changed the rule for scsh/scsh.image to make ./go work and added install-scsh-image to set =scheme48 correctly in the installed version - Added an additional run of ./configure to autogen to have a Makefile for the rest --- Makefile.in | 38 ++++++++++++++++++++++---------------- autogen.sh | 3 ++- 2 files changed, 24 insertions(+), 17 deletions(-) diff --git a/Makefile.in b/Makefile.in index 202c60f..3b1c2f3 100644 --- a/Makefile.in +++ b/Makefile.in @@ -43,7 +43,11 @@ mandir = $(prefix)/man/man$(manext) .c.o: $(CC) -g -c $(CPPFLAGS) $(DEFS) -I$(srcdir)/c -I$(srcdir)/cig $(CFLAGS) -o $@ $< -RUNNABLE = scheme48 +# BUILD_RUNNABLE has to be Scheme 48 0.53. This is used for builds directly +# out of the CVS repository. +# We cannot use Scsh here since -i is not understood. +BUILD_RUNNABLE = scheme48 +RUNNABLE = scsh MANPAGE = $(RUNNABLE).$(manext) LIB = $(libdir)/$(RUNNABLE) @@ -82,8 +86,8 @@ BIG_HEAP = -h 5000000 # LINKER_RUNNABLE = $(LINKER_VM) -i $(IMAGE) # therefor according to 2. but we cannot use scsh since -i is not understood -LINKER_VM = scheme48 $(BIG_HEAP) -LINKER_RUNNABLE = scheme48 +LINKER_VM = $(BUILD_RUNNABLE) $(BIG_HEAP) +LINKER_RUNNABLE = $(BUILD_RUNNABLE) LINKER_IMAGE = build/linker.image LINKER = $(LINKER_VM) -i $(LINKER_IMAGE) @@ -324,10 +328,6 @@ install: enough dirs inst-script inst-vm inst-misc inst-man inst-inc \ inst-vm: $(VM) $(INSTALL_PROGRAM) $(VM) $(LIB) -inst-image: $(IMAGE) - $(INSTALL_DATA) $(IMAGE) $(LIB) - - inst-man: if [ -d $(mandir) -a -w $(mandir) ]; then \ sed 's=LBIN=$(bindir)=g' doc/scsh.man | \ @@ -368,7 +368,7 @@ inst-doc: done inst-script: - script=$(bindir)/$(RUNNABLE) && \ + script=$(bindir)/$(BUILD_RUNNABLE) && \ echo '#!/bin/sh' >$$script && \ echo >>$$script && \ echo 'lib=$(LIB)' >>$$script && \ @@ -529,7 +529,7 @@ PACKAGES=scheme/packages.scm scheme/rts-packages.scm scheme/alt-packages.scm \ build/filenames.scm build/filenames.make: $(PACKAGES) - $(RUNNABLE) -a batch