version 1.240, 2003/01/02 21:40:22
|
version 1.243, 2003/01/07 09:31:18
|
Line 368 GEN = gforth$(EXE) gforth-ditc$(EXE) gfo
|
Line 368 GEN = gforth$(EXE) gforth-ditc$(EXE) gfo
|
# things that need a working forth system to be generated |
# things that need a working forth system to be generated |
FORTH_GEN_ENGINE=engine/prim.i engine/prim_lab.i engine/prim_names.i \ |
FORTH_GEN_ENGINE=engine/prim.i engine/prim_lab.i engine/prim_names.i \ |
engine/prim_superend.i engine/peephole.i engine/profile.i \ |
engine/prim_superend.i engine/peephole.i engine/profile.i \ |
engine/prim_num.i engine/prim_grp.i |
engine/prim_num.i engine/prim_grp.i \ |
|
engine/config.h |
FORTH_GEN0 = prim.b $(FORTH_GEN_ENGINE) kernel/aliases.fs kernel/prim.fs kernel/groups.fs |
FORTH_GEN0 = prim.b $(FORTH_GEN_ENGINE) kernel/aliases.fs kernel/prim.fs kernel/groups.fs |
FORTH_GEN = $(FORTH_GEN0) @KERNEL@ gforth.fi |
FORTH_GEN = $(FORTH_GEN0) @KERNEL@ gforth.fi |
# this is used for antidependences, |
# this is used for antidependences, |
Line 550 uninstall: FORCE
|
Line 551 uninstall: FORCE
|
@echo -e "To remove Gforth completely, type\n$(RM) -rf $(bindir)/gforth$(EXE) $(bindir)/gforth-fast$(EXE) $(bindir)/gforthmi $(bindir)/vmgen $(man1dir)/gforth.1 $(infodir)/gforth.info* $(datadir)/gforth $(libdir)/gforth" |
@echo -e "To remove Gforth completely, type\n$(RM) -rf $(bindir)/gforth$(EXE) $(bindir)/gforth-fast$(EXE) $(bindir)/gforthmi $(bindir)/vmgen $(man1dir)/gforth.1 $(infodir)/gforth.info* $(datadir)/gforth $(libdir)/gforth" |
|
|
check: gforths gforth.fi |
check: gforths gforth.fi |
make checkone ENGINE="./gforth --no-dynamic" &>/dev/null |
$(MAKE) checkone ENGINE="./gforth --no-dynamic" >/dev/null 2>&1 |
make checkone ENGINE="./gforth-itc" &>/dev/null |
$(MAKE) checkone ENGINE="./gforth-itc" >/dev/null 2>&1 |
make checkone ENGINE="./gforth-ditc" &>/dev/null |
$(MAKE) checkone ENGINE="./gforth-ditc" >/dev/null 2>&1 |
make checkone ENGINE="./gforth-fast --no-dynamic" &>/dev/null |
$(MAKE) checkone ENGINE="./gforth-fast --no-dynamic" >/dev/null 2>&1 |
make checkone ENGINE="./gforth" &>/dev/null |
$(MAKE) checkone ENGINE="./gforth" >/dev/null 2>&1 |
make checkone ENGINE="./gforth-fast" &>/dev/null |
$(MAKE) checkone ENGINE="./gforth-fast" >/dev/null 2>&1 |
@echo "*** Check successful ***" |
@echo "*** Check successful ***" |
|
|
checkone test: gforth$(EXE) gforth.fi |
checkone test: gforth$(EXE) gforth.fi |
Line 582 onebench:
|
Line 583 onebench:
|
|
|
all-bench: gforth-fast$(EXE) gforth$(EXE) gforth-itc$(EXE) gforth-ditc$(EXE) gforth.fi |
all-bench: gforth-fast$(EXE) gforth$(EXE) gforth-itc$(EXE) gforth-ditc$(EXE) gforth.fi |
@echo "*** gforth-fast dynamic:" |
@echo "*** gforth-fast dynamic:" |
@make onebench ENGINE_FAST="gforth-fast --dynamic" |
@$(MAKE) onebench ENGINE_FAST="gforth-fast --dynamic" |
@echo "*** gforth-fast not dynamic:" |
@echo "*** gforth-fast not dynamic:" |
@make onebench ENGINE_FAST="gforth-fast --no-dynamic" |
@$(MAKE) onebench ENGINE_FAST="gforth-fast --no-dynamic" |
@echo "*** gforth dynamic:" |
@echo "*** gforth dynamic:" |
@make onebench ENGINE_FAST="gforth --dynamic" |
@$(MAKE) onebench ENGINE_FAST="gforth --dynamic" |
@echo "*** gforth not dynamic:" |
@echo "*** gforth not dynamic:" |
@make onebench ENGINE_FAST="gforth --no-dynamic" |
@$(MAKE) onebench ENGINE_FAST="gforth --no-dynamic" |
@echo "*** gforth-itc:" |
@echo "*** gforth-itc:" |
@make onebench ENGINE_FAST=gforth-itc |
@$(MAKE) onebench ENGINE_FAST=gforth-itc |
@echo "*** gforth-ditc:" |
@echo "*** gforth-ditc:" |
@make onebench ENGINE_FAST=gforth-ditc |
@$(MAKE) onebench ENGINE_FAST=gforth-ditc |
|
|
# ------------- Make forth images |
# ------------- Make forth images |
|
|
Line 622 kernl64l.fi-: $(KERN_DEPS) mach64l.fs
|
Line 623 kernl64l.fi-: $(KERN_DEPS) mach64l.fs
|
kernl64b.fi-: $(KERN_DEPS) mach64b.fs |
kernl64b.fi-: $(KERN_DEPS) mach64b.fs |
$(FORTHB) -e 's" mach64b.fs"' $(srcdir)/kernel/main.fs -e "save-cross kernl64b.fi- $(bindir)/gforth-$(VERSION) bye" |
$(FORTHB) -e 's" mach64b.fs"' $(srcdir)/kernel/main.fs -e "save-cross kernl64b.fi- $(bindir)/gforth-$(VERSION) bye" |
|
|
kernl-%.fi: arch/%/mach.fs $(KERN_SRC) kernel/version.fs $(FORTH_GEN0) |
kernl-%.fi: arch/%/mach.fs arch/%/prim.fs arch/%/asm.fs $(KERN_SRC) kernel/version.fs $(FORTH_GEN0) |
$(FORTHB) -e 's" $<"' $(srcdir)/kernel/main.fs -e "save-cross $@- $(bindir)/gforth-$(VERSION) bye" |
$(FORTHB) -e 's" $<"' $(srcdir)/kernel/main.fs -e "save-cross $@- $(bindir)/gforth-$(VERSION) bye" |
if [ -f `echo $< | sed s/fs/sh/` ]; \ |
if [ -f `echo $< | sed s/fs/sh/` ]; \ |
then sh `echo $< | sed s/fs/sh/` $@; \ |
then sh `echo $< | sed s/fs/sh/` $@; \ |