56 lines
2.1 KiB
Text
56 lines
2.1 KiB
Text
$NetBSD: patch-ab,v 1.2 2001/04/12 20:21:59 jtb Exp $
|
|
|
|
--- Makefile.orig Fri Aug 5 15:31:07 1994
|
|
+++ Makefile
|
|
@@ -49,8 +49,8 @@
|
|
# this is what works for me on a DEC Alpha, running OSF/1:
|
|
# (gcc version 2.5.7)
|
|
|
|
- CC = gcc
|
|
- OPTFLAGS = -O2 -funroll-loops -fomit-frame-pointer
|
|
+# CC = gcc
|
|
+ OPTFLAGS = -funroll-loops -fomit-frame-pointer
|
|
WARNFLAGS = -Wall -Wmissing-prototypes
|
|
DEBUGFLAGS =
|
|
EXTRACFLAGS =
|
|
@@ -208,7 +208,7 @@
|
|
.DEFAULT:
|
|
@echo I hope, making $< is not necessary...
|
|
|
|
-CFLAGS = $(A_OPTFLAGS) $(A_WARNFLAGS) $(A_DEBUGFLAGS) $(A_EXTRACFLAGS) $(DDP)
|
|
+CFLAGS += $(A_OPTFLAGS) $(A_WARNFLAGS) $(A_DEBUGFLAGS) $(A_EXTRACFLAGS) $(DDP)
|
|
LDFLAGS = $(A_OPTFLAGS) $(A_DEBUGFLAGS) $(A_EXTRALDFLAGS)
|
|
CLFLAGS = $(CFLAGS) $(A_EXTRALDFLAGS)
|
|
LIBS = -lm $(A_EXTRALIBS)
|
|
@@ -413,8 +413,8 @@
|
|
distclean: archclean
|
|
$(FORCEDELETE) compiler/repl.boot
|
|
|
|
-scheme: $(OBJECTS) $(TMPLIBS)
|
|
- $(CC) -o scheme $(LDFLAGS) $(OBJECTS) $(LIBS) -lc $(TMPLIBS)
|
|
+scheme: $(OBJECTS) non-ansi-lib $(TMPLIBS)
|
|
+ $(CC) -o vscm $(LDFLAGS) $(OBJECTS) $(LIBS) -lc $(TMPLIBS)
|
|
|
|
.scheme-boot: compiler/repl.boot
|
|
cp compiler/repl.boot .scheme-boot
|
|
@@ -422,17 +422,17 @@
|
|
compiler/filt.boot: format.time compiler/vscmc.asm \
|
|
compiler/version.asm compiler/filt-ml.asm
|
|
cat compiler/vscmc.asm compiler/version.asm compiler/filt-ml.asm | \
|
|
- ./scheme -b - -a - -d compiler/filt.boot
|
|
+ ./vscm -b - -a - -d compiler/filt.boot
|
|
|
|
compiler/repl.boot: format.time compiler/vscmc.asm \
|
|
compiler/version.asm compiler/repl-ml.asm
|
|
cat compiler/vscmc.asm compiler/version.asm compiler/repl-ml.asm | \
|
|
- ./scheme -b - -a - -d compiler/repl.boot
|
|
+ ./vscm -b - -a - -d compiler/repl.boot
|
|
|
|
compiler/vscmc.asm: compiler/vscmc.scm
|
|
-mv compiler/vscmc.asm compiler/vscmc.oasm >/dev/null 2>&1
|
|
mv compiler/filt.boot compiler/filt.oboot
|
|
- ./scheme -b compiler/filt.oboot <compiler/vscmc.scm >compiler/vscmc.asm
|
|
+ ./vscm -b compiler/filt.oboot <compiler/vscmc.scm >compiler/vscmc.asm
|
|
|
|
compiler/vscmc.scm: compiler/s.vscmc.scm
|
|
-(cd compiler; \
|