| kernel/main.fs \ |
kernel/main.fs \ |
| kernel/prim0.fs \ |
kernel/prim0.fs \ |
| search.fs \ |
search.fs \ |
| kernel/special.fs \ |
kernel/quotes.fs \ |
| kernel/tools.fs \ |
kernel/tools.fs \ |
| kernel/toolsext.fs \ |
kernel/toolsext.fs \ |
| kernel/vars.fs \ |
kernel/vars.fs \ |
| kernel/nio.fs \ |
kernel/nio.fs \ |
| kernel/saccept.fs \ |
kernel/saccept.fs \ |
| kernel/doers.fs \ |
kernel/doers.fs \ |
| kernel/getdoers.fs |
kernel/getdoers.fs \ |
| |
kernel/pass.fs |
| |
|
| EC_SRC = \ |
EC_SRC = \ |
| asm/README \ |
asm/README \ |
| asm/target.fs \ |
asm/target.fs \ |
| ec/README \ |
ec/README \ |
| ec/mirror.fs \ |
ec/mirror.fs \ |
| ec/mirrors.fs \ |
|
| ec/shex.fs \ |
ec/shex.fs \ |
| ec/builttag.fs \ |
ec/builttag.fs \ |
| ec/dotx.fs \ |
ec/dotx.fs \ |
| ec/mirrored.fs \ |
|
| ec/nesting.fs |
ec/nesting.fs |
| |
|
| GFORTH_FI_SRC = \ |
GFORTH_FI_SRC = \ |
| bufio.fs \ |
bufio.fs \ |
| debug.fs \ |
debug.fs \ |
| debugs.fs \ |
debugs.fs \ |
| |
ekey.fs \ |
| savesys.fs \ |
savesys.fs \ |
| environ.fs \ |
environ.fs \ |
| errors.fs \ |
errors.fs \ |
| |
exceptions.fs \ |
| extend.fs \ |
extend.fs \ |
| float.fs \ |
float.fs \ |
| glocals.fs \ |
glocals.fs \ |
| doskey.fs ds2texi.fs \ |
doskey.fs ds2texi.fs \ |
| envos.fs envos.dos envos.os2 etags.fs filedump.fs fi2c.fs \ |
envos.fs envos.dos envos.os2 etags.fs filedump.fs fi2c.fs \ |
| glosgen.fs gray.fs \ |
glosgen.fs gray.fs \ |
| doc/makedoc.fs \ |
make-app.fs doc/makedoc.fs \ |
| more.fs other.fs prims2x.fs random.fs \ |
more.fs other.fs prims2x.fs random.fs \ |
| table.fs \ |
table.fs \ |
| tt.fs sokoban.fs \ |
tt.fs sokoban.fs \ |
| configure.cmd mkos2mf.sed os2conf.h makefile.os2 engine/makefile.os2 \ |
configure.cmd mkos2mf.sed os2conf.h makefile.os2 engine/makefile.os2 \ |
| gforthmi.cmd glosgen.glo doc/glossaries.doc \ |
gforthmi.cmd glosgen.glo doc/glossaries.doc \ |
| $(INCLUDES) $(FORTH_SRC) $(COMPAT) \ |
$(INCLUDES) $(FORTH_SRC) $(COMPAT) \ |
| timings.sc |
timings.sc \ |
| |
test/coretest.out test/checkans.out |
| |
|
| RCS_FILES = ToDo model high-level |
RCS_FILES = ToDo model high-level |
| |
|
| GFORTHD="./gforth-ditc -p$(libdir)/gforth/site-forth$(PATHSEP)$(siteforthdir)$(PATHSEP)$(datadir)/gforth/$(VERSION) -i $(kernel_fi)" GFORTH="./gforth-ditc --die-on-signal -i $(kernel_fi) startup.fs" ./gforthmi gforth.fi $(FORTHSIZES) startup.fs #gforth.fi contains some path names |
GFORTHD="./gforth-ditc -p$(libdir)/gforth/site-forth$(PATHSEP)$(siteforthdir)$(PATHSEP)$(datadir)/gforth/$(VERSION) -i $(kernel_fi)" GFORTH="./gforth-ditc --die-on-signal -i $(kernel_fi) startup.fs" ./gforthmi gforth.fi $(FORTHSIZES) startup.fs #gforth.fi contains some path names |
| $(INSTALL_DATA) gforth.fi $(libdir)/gforth/$(VERSION) |
$(INSTALL_DATA) gforth.fi $(libdir)/gforth/$(VERSION) |
| $(INSTALL_DATA) install.TAGS $(datadir)/gforth/$(VERSION)/TAGS |
$(INSTALL_DATA) install.TAGS $(datadir)/gforth/$(VERSION)/TAGS |
| |
# after install, remove these because they are owned by ROOT |
| |
$(RM) gforth.fi install.TAGS |
| @if test -d "$(emacssitelispdir)"; then \ |
@if test -d "$(emacssitelispdir)"; then \ |
| $(INSTALL_DATA) $(srcdir)/gforth.el $(emacssitelispdir); \ |
$(INSTALL_DATA) $(srcdir)/gforth.el $(emacssitelispdir); \ |
| else \ |
else \ |
| @echo -e "To remove Gforth completely, type\n$(RM) -rf $(bindir)/gforth$(EXE) $(bindir)/gforthmi $(man1dir)/gforth.1 $(infodir)/gforth.info* $(datadir)/gforth $(libdir)/gforth" |
@echo -e "To remove Gforth completely, type\n$(RM) -rf $(bindir)/gforth$(EXE) $(bindir)/gforthmi $(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 -e bye |
$(FORTH) test/tester.fs test/coretest.fs test/postpone.fs test/dbltest.fs -e bye | diff -c - $(srcdir)/test/coretest.out |
| $(FORTH) test/other.fs -e bye |
$(FORTH) test/other.fs -e bye |
| @echo "Expect 'Missing: EKEY EKEY>CHAR EKEY? EMIT?'" |
$(FORTH) code.fs test/checkans.fs -e bye | diff -c - $(srcdir)/test/checkans.out |
| @echo "Expect 'Missing: EDITOR FORGET'" |
|
| $(FORTH) code.fs test/checkans.fs -e bye |
|
| @echo 'Expect no differences' |
|
| $(FORTHK) -m 100000 prims2x.fs -e \ |
$(FORTHK) -m 100000 prims2x.fs -e \ |
| "c-flag on s\" $(srcdir)/prim.b\" ' output-c process-file bye"| \ |
"c-flag on s\" $(srcdir)/prim.b\" ' output-c process-file bye"| \ |
| diff -c - $(srcdir)/engine/prim.i |
diff -c - $(srcdir)/engine/prim.i |
| html: $(GFORTH_TEXI) |
html: $(GFORTH_TEXI) |
| -$(RMTREE) html |
-$(RMTREE) html |
| -mkdir html |
-mkdir html |
| |
### need makeinfo 4.0 to generate html. Otherwise, use texi2html.. |
| |
### cd html; $(MAKEINFO) --html -I ../doc ../doc/gforth.texi |
| cd html; $(TEXI2HTML) -menu -split_node ../doc/gforth.texi |
cd html; $(TEXI2HTML) -menu -split_node ../doc/gforth.texi |
| |
|
| doc/gforth.txt: $(GFORTH_TEXI) |
doc/gforth.txt: $(GFORTH_TEXI) |
| -cd doc; $(MAKEINFO) --no-headers --no-split gforth.texi >gforth.txt |
-cd doc; $(MAKEINFO) --no-headers --no-split gforth.texi >gforth.txt |
| |
|
| doc: doc/gforth.ps html doc/gforth.txt |
doc: info doc/gforth.ps html doc/gforth.txt TAGS |
| |
|
| # For an explanation of the following Makefile rules, see node |
# For an explanation of the following Makefile rules, see node |
| # `Automatic Remaking' in GNU Autoconf documentation. |
# `Automatic Remaking' in GNU Autoconf documentation. |
| $(srcdir)/configure: configure.in aclocal.m4 |
|
| |
#Note: no target "$(srcdir)/configure", because that does not trigger |
| |
#unless $(srcdir)!="." |
| |
configure: configure.in aclocal.m4 |
| cd $(srcdir) && autoconf |
cd $(srcdir) && autoconf |
| |
|
| aclocal.m4: acinclude.m4 configure.in |
aclocal.m4: acinclude.m4 configure.in |