| # ------------- gforth version |
# ------------- gforth version |
| |
|
| VERSION = @VERSION@ |
VERSION = @VERSION@ |
| DOSVERSION=`echo $(VERSION)|sed 's/\.//g'` |
DOSVERSION=`echo $(VERSION)|sed 's/\.//g'|sed 's/-.*//g'` |
| |
|
| # ------------- System specific variables |
# ------------- System specific variables |
| |
|
| |
|
| GFORTH_FI_SRC = \ |
GFORTH_FI_SRC = \ |
| assert.fs \ |
assert.fs \ |
| backtrace.fs \ |
backtrac.fs \ |
| blocked.fb \ |
blocked.fb \ |
| blocks.fs \ |
blocks.fs \ |
| bufio.fs \ |
bufio.fs \ |
| environ.fs \ |
environ.fs \ |
| errors.fs \ |
errors.fs \ |
| exboot.fs \ |
exboot.fs \ |
| exceptions.fs \ |
except.fs \ |
| extend.fs \ |
extend.fs \ |
| float.fs \ |
float.fs \ |
| glocals.fs \ |
glocals.fs \ |
| more.fs other.fs prims2x.fs random.fs \ |
more.fs other.fs prims2x.fs random.fs \ |
| table.fs string.fs \ |
table.fs string.fs \ |
| tt.fs sokoban.fs \ |
tt.fs sokoban.fs \ |
| unbuffered.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/other.fs test/checkans.fs \ |
test/other.fs test/checkans.fs \ |
| bubble.fs siev.fs matrix.fs fib.fs \ |
bubble.fs siev.fs matrix.fs fib.fs \ |
| install.TAGS: gforth.TAGS |
install.TAGS: gforth.TAGS |
| sed 's:^\$(srcdir)/:$(datadir)/gforth/$(VERSION)/:' gforth.TAGS >install.TAGS |
sed 's:^\$(srcdir)/:$(datadir)/gforth/$(VERSION)/:' gforth.TAGS >install.TAGS |
| |
|
| gforth.TAGS: @kernel_fi@ gforth $(GFORTH_FI_SRC) prim.TAGS |
gforth.TAGS: @kernel_fi@ gforth$(EXE) $(GFORTH_FI_SRC) prim.TAGS |
| $(FORTHK) etags.fs exceptions.fs startup.fs -e bye |
$(FORTHK) etags.fs except.fs startup.fs -e bye |
| cat TAGS prim.TAGS kernel.TAGS >gforth.TAGS |
cat TAGS prim.TAGS kernel.TAGS >gforth.TAGS |
| rm TAGS |
rm TAGS |
| |
|
| $(RM) $@- |
$(RM) $@- |
| |
|
| doc/doc.fd: doc/makedoc.fs $(GFORTH_FI_SRC) code.fs objects.fs oof.fs moofglos.fs |
doc/doc.fd: doc/makedoc.fs $(GFORTH_FI_SRC) code.fs objects.fs oof.fs moofglos.fs |
| $(FORTHK) -e "s\" doc/doc.fd\"" doc/makedoc.fs exceptions.fs startup.fs code.fs objects.fs oof.fs moofglos.fs -e bye |
$(FORTHK) -e "s\" doc/doc.fd\"" doc/makedoc.fs except.fs startup.fs code.fs objects.fs oof.fs moofglos.fs -e bye |
| |
|
| doc/crossdoc.fd: $(KERN_SRC) kernel/version.fs $(FORTH_GEN0) |
doc/crossdoc.fd: $(KERN_SRC) kernel/version.fs $(FORTH_GEN0) |
| $(FORTHK) -e 's" mach32l.fs"' kernel/main.fs -e bye |
$(FORTHK) -e 's" mach32l.fs"' kernel/main.fs -e bye |