| VMGEN_EX2 = $(VMGEN_EX:vmgen-ex/%=vmgen-ex2/%) |
VMGEN_EX2 = $(VMGEN_EX:vmgen-ex/%=vmgen-ex2/%) |
| |
|
| SOURCES = $(CVSDIRS) compat Makefile.in Makedist.in engine/Makefile.in \ |
SOURCES = $(CVSDIRS) compat Makefile.in Makedist.in engine/Makefile.in \ |
| gforthmi.in vmgen.in README.vmgen NEWS.vmgen \ |
gforthmi.in vmgen.in gfgen README.vmgen NEWS.vmgen \ |
| configure.in configure config.sub config.guess elisp-comp missing \ |
configure.in configure config.sub config.guess elisp-comp missing \ |
| engine/config.h.in stamp-h.in \ |
engine/config.h.in stamp-h.in \ |
| iss.sh install-sh INSTALL INSTALL.BINDIST NEWS README ToDo BUGS \ |
iss.sh install-sh INSTALL INSTALL.BINDIST NEWS README ToDo BUGS \ |
| engine/prim_superend.i engine/profile.i \ |
engine/prim_superend.i engine/profile.i \ |
| engine/prim_num.i engine/prim_grp.i \ |
engine/prim_num.i engine/prim_grp.i \ |
| engine/costs.i engine/super2.i |
engine/costs.i engine/super2.i |
| |
FORTH_GEN_ENGINE_FAST= \ |
| |
engine/prim-fast.i engine/prim_lab-fast.i engine/prim_names-fast.i \ |
| |
engine/prim_superend-fast.i engine/profile-fast.i \ |
| |
engine/prim_num-fast.i engine/prim_grp-fast.i \ |
| |
engine/costs-fast.i engine/super2-fast.i |
| FORTH_GEN_PRIMB = $(FORTH_GEN_ENGINE) kernel/aliases.fs kernel/prim.fs |
FORTH_GEN_PRIMB = $(FORTH_GEN_ENGINE) kernel/aliases.fs kernel/prim.fs |
| FORTH_GEN0 = prim.b $(FORTH_GEN_PRIMB) |
FORTH_GEN0 = prim.b $(FORTH_GEN_PRIMB) |
| FORTH_GEN = $(FORTH_GEN0) @KERNEL@ gforth.fi |
FORTH_GEN = $(FORTH_GEN0) @KERNEL@ gforth.fi |
| m4 -s $(srcdir)/prim >$@ |
m4 -s $(srcdir)/prim >$@ |
| sleep 1 #should make hpux-workaround unnecessary |
sleep 1 #should make hpux-workaround unnecessary |
| |
|
| engine/prim.i: prim.b prims2x.fs |
prim-fast.b: prim.b |
| $(FORTHP) prims2x.fs -e "c-flag on s\" prim.i\" save-mem out-filename 2! s\" prim.b\" ' output-c ' output-c-combined process-file bye" >$@- |
cp prim.b prim-fast.b |
| $(CP) $@- $@ |
|
| $(RM) $@- |
|
| |
|
| engine/prim_lab.i: prim.b prims2x.fs |
$(FORTH_GEN_ENGINE_FAST): prim-fast.b prims2x.fs |
| $(FORTHP) prims2x.fs -e "c-flag on s\" prim.b\" ' output-label dup process-file bye" >$@- |
GFORTH="$(FORTHP)" gfgen -fast |
| $(CP) $@- $@ |
|
| $(RM) $@- |
|
| |
|
| engine/prim_grp.i: prim.b prims2x.fs |
$(FORTH_GEN_ENGINE): prim.b prims2x.fs |
| $(FORTHP) prims2x.fs -e "c-flag on s\" prim.b\" ' noop dup process-file bye" >$@- |
GFORTH="$(FORTHP)" gfgen |
| $(CP) $@- $@ |
|
| $(RM) $@- |
|
| |
|
| engine/prim_names.i: prim.b prims2x.fs |
|
| $(FORTHP) prims2x.fs -e "c-flag on s\" prim.b\" ' output-forthname dup process-file bye" >$@- |
|
| $(CP) $@- $@ |
|
| $(RM) $@- |
|
| |
|
| engine/prim_superend.i: prim.b prims2x.fs |
|
| $(FORTHP) prims2x.fs -e "c-flag on s\" prim.b\" ' output-superend dup process-file bye" >$@- |
|
| $(CP) $@- $@ |
|
| $(RM) $@- |
|
| |
|
| engine/peephole.i: prim.b prims2x.fs |
|
| $(FORTHP) prims2x.fs -e "c-flag on s\" prim.b\" ' noop ' output-peephole process-file bye" >$@- |
|
| $(CP) $@- $@ |
|
| $(RM) $@- |
|
| |
|
| engine/profile.i: prim.b prims2x.fs |
|
| $(FORTHP) prims2x.fs -e "c-flag on s\" prim.b\" ' output-profile ' output-profile-combined process-file bye" >$@- |
|
| $(CP) $@- $@ |
|
| $(RM) $@- |
|
| |
|
| engine/super2.i: prim.b prims2x.fs |
|
| $(FORTHP) prims2x.fs -e "c-flag on s\" prim.b\" ' output-super2-simple ' output-super2-combined process-file bye" >$@- |
|
| $(CP) $@- $@ |
|
| $(RM) $@- |
|
| |
|
| engine/costs.i: prim.b prims2x.fs |
|
| $(FORTHP) prims2x.fs -e "c-flag on s\" prim.b\" ' output-costs-gforth-simple ' output-costs-gforth-combined process-file bye" >$@- |
|
| $(CP) $@- $@ |
|
| $(RM) $@- |
|
| |
|
| kernel/aliases.fs: prim.b prims2x.fs kernel/aliases0.fs |
kernel/aliases.fs: prim.b prims2x.fs kernel/aliases0.fs |
| $(CP) kernel/aliases0.fs $@- |
$(CP) kernel/aliases0.fs $@- |
| $(CP) $@- $@ |
$(CP) $@- $@ |
| $(RM) $@- |
$(RM) $@- |
| |
|
| engine/prim_num.i: prim.b prims2x.fs |
|
| $(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~ |
| $(CP) engine/$@ $@ |
$(CP) engine/$@ $@ |