version 1.229, 2002/09/22 09:54:19
|
version 1.232, 2002/12/08 09:57:53
|
Line 238 FORTH_SRC = $(KERN_SRC) $(GFORTH_FI_SRC)
|
Line 238 FORTH_SRC = $(KERN_SRC) $(GFORTH_FI_SRC)
|
tt.fs sokoban.fs \ |
tt.fs sokoban.fs \ |
unbuffer.fs wordsets.fs \ |
unbuffer.fs wordsets.fs \ |
test/tester.fs test/coretest.fs test/postpone.fs test/dbltest.fs \ |
test/tester.fs test/coretest.fs test/postpone.fs test/dbltest.fs \ |
test/string.fs test/other.fs test/signals.fs test/checkans.fs \ |
test/string.fs test/float.fs \ |
|
test/other.fs test/signals.fs test/checkans.fs \ |
bubble.fs siev.fs matrix.fs fib.fs \ |
bubble.fs siev.fs matrix.fs fib.fs \ |
oof.fs oofsampl.fs objects.fs objexamp.fs mini-oof.fs moof-exm.fs \ |
oof.fs oofsampl.fs objects.fs objexamp.fs mini-oof.fs moof-exm.fs \ |
moofglos.fs fixpath.fs \ |
moofglos.fs fixpath.fs \ |
Line 358 SOURCES = $(CVSDIRS) compat Makefile.in
|
Line 359 SOURCES = $(CVSDIRS) compat Makefile.in
|
|
|
RCS_FILES = ToDo model high-level |
RCS_FILES = ToDo model high-level |
|
|
GEN = gforth$(EXE) gforth-ditc$(EXE) gforth-fast$(EXE) gforth-itc$(EXE) gforth-prof$(EXE) kernel/version.fs |
GEN = gforth$(EXE) gforth-ditc$(EXE) gforth-fast$(EXE) gforth-native$(EXE) gforth-itc$(EXE) gforth-prof$(EXE) kernel/version.fs |
|
|
# 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 engine/prim_superend.i engine/peephole.i engine/profile.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_num.i |
FORTH_GEN0 = prim.b $(FORTH_GEN_ENGINE) kernel/aliases.fs kernel/prim.fs |
FORTH_GEN0 = prim.b $(FORTH_GEN_ENGINE) kernel/aliases.fs kernel/prim.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 438 docclean: FORCE
|
Line 441 docclean: FORCE
|
|
|
clean: mostlyclean |
clean: mostlyclean |
-$(RM) -rf $(GEN) engine/gforth$(EXE) \ |
-$(RM) -rf $(GEN) engine/gforth$(EXE) \ |
engine/gforth-fast$(EXE) engine/gforth-itc$(EXE) \ |
engine/gforth-fast$(EXE) engine/gforth-native$(EXE) engine/gforth-itc$(EXE) \ |
engine/gforth-ditc$(EXE) engine/gforth-prof$(EXE) \ |
engine/gforth-ditc$(EXE) engine/gforth-prof$(EXE) \ |
*.o engine/*.o arch/*/*.o version |
*.o engine/*.o arch/*/*.o version |
|
|
Line 543 uninstall: FORCE
|
Line 546 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 test: gforth$(EXE) gforth.fi |
check test: gforth$(EXE) gforth.fi |
$(FORTH) test/tester.fs test/coretest.fs test/postpone.fs test/dbltest.fs test/string.fs -e bye | diff -c - $(srcdir)/test/coretest.out |
$(FORTH) test/tester.fs test/coretest.fs test/postpone.fs test/dbltest.fs test/string.fs test/float.fs -e bye | diff -c - $(srcdir)/test/coretest.out |
$(FORTH) test/other.fs -e bye |
$(FORTH) test/other.fs -e bye |
$(FORTHS) test/signals.fs -e bye |
$(FORTHS) test/signals.fs -e bye |
$(FORTH) code.fs test/checkans.fs -e bye | diff -c - $(srcdir)/test/checkans.out |
$(FORTH) code.fs test/checkans.fs -e bye | diff -c - $(srcdir)/test/checkans.out |
Line 679 kernel/prim.fs: prim.b prims2x.fs kernel
|
Line 682 kernel/prim.fs: prim.b prims2x.fs kernel
|
$(CP) $@- $@ |
$(CP) $@- $@ |
$(RM) $@- |
$(RM) $@- |
|
|
prim-nums: prim.b prims2x.fs |
engine/prim_num.i: prim.b prims2x.fs |
$(FORTHP) prims2x.fs -e "forth-flag on s\" prim.b\" ' output-prim-num dup process-file bye" >$@ |
$(FORTHP) prims2x.fs -e "c-flag on s\" prim.b\" ' output-c-prim-num ' noop process-file bye" >$@ |
|
|
gforth$(EXE): engines |
gforth$(EXE): engines |
-$(CP) gforth$(EXE) gforth~ |
-$(CP) gforth$(EXE) gforth~ |
Line 691 gforth-fast$(EXE): engines
|
Line 694 gforth-fast$(EXE): engines
|
$(CP) engine/$@ $@ |
$(CP) engine/$@ $@ |
@GFORTHFAST_EXE@ |
@GFORTHFAST_EXE@ |
|
|
|
gforth-native$(EXE): engines |
|
$(CP) engine/$@ $@ |
|
#@GFORTHX_EXE@ |
|
|
gforth-itc$(EXE): engines |
gforth-itc$(EXE): engines |
$(CP) engine/$@ $@ |
$(CP) engine/$@ $@ |
@GFORTHITC_EXE@ |
@GFORTHITC_EXE@ |
Line 702 gforth-ditc$(EXE): engines
|
Line 709 gforth-ditc$(EXE): engines
|
gforth-prof$(EXE): engines |
gforth-prof$(EXE): engines |
$(CP) engine/$@ $@ |
$(CP) engine/$@ $@ |
|
|
gforths: gforth$(EXE) gforth-fast$(EXE) gforth-itc$(EXE) gforth-ditc$(EXE) gforth-prof$(EXE) |
gforths: gforth$(EXE) gforth-fast$(EXE) gforth-native$(EXE) gforth-itc$(EXE) gforth-ditc$(EXE) gforth-prof$(EXE) |
|
|
engines: FORCE $(FORTH_GEN_ENGINE) engine/Makefile |
engines: FORCE $(FORTH_GEN_ENGINE) engine/Makefile |
cd engine && $(MAKE) gforth$(EXE) gforth-fast$(EXE) gforth-itc$(EXE) gforth-ditc$(EXE) gforth-prof$(EXE) |
cd engine && $(MAKE) gforth$(EXE) gforth-fast$(EXE) gforth-native$(EXE) gforth-itc$(EXE) gforth-ditc$(EXE) gforth-prof$(EXE) |
|
|
# ------------- additional C primitives |
# ------------- additional C primitives |
|
|