| kernal.fs locals-test.fs look.fs main.fs makedoc.fs \ |
kernal.fs locals-test.fs look.fs main.fs makedoc.fs \ |
| mach16b.fs mach16l.fs mach32b.fs mach32l.fs mach64b.fs mach64l.fs \ |
mach16b.fs mach16l.fs mach32b.fs mach32l.fs mach64b.fs mach64l.fs \ |
| other.fs prims2x.fs random.fs search-order.fs see.fs sieve.fs source.fs \ |
other.fs prims2x.fs random.fs search-order.fs see.fs sieve.fs source.fs \ |
| startup.fs struct.fs tools.fs toolsext.fs tt.fs vars.fs vt100.fs \ |
startup.fs site-init.fs struct.fs tools.fs toolsext.fs tt.fs vars.fs \ |
| vt100key.fs wordinfo.fs wordsets.fs \ |
vt100.fs vt100key.fs wordinfo.fs wordsets.fs \ |
| tester.fs coretest.fs \ |
tester.fs coretest.fs \ |
| bubble.fs siev.fs matrix.fs fib.fs |
bubble.fs siev.fs matrix.fs fib.fs |
| |
|
| SOURCES = Makefile.in configure.in configure config.sub config.guess \ |
SOURCES = Makefile.in configure.in configure config.sub config.guess \ |
| install-sh INSTALL README ToDo BUGS model COPYING \ |
install-sh INSTALL README ToDo BUGS model COPYING Benchres \ |
| gforth.ds texinfo.tex gforth.1 gforth.el \ |
gforth.ds texinfo.tex gforth.1 gforth.el \ |
| primitives engine.c main.c io.c \ |
primitives engine.c main.c io.c \ |
| m68k.h mips.h 386.h hppa.h cache.c sparc.h power.h alpha.h 32bit.h \ |
m68k.h mips.h 386.h hppa.h cache.c sparc.h power.h alpha.h 32bit.h \ |
| # gforth manages to execute more than a few primitives |
# gforth manages to execute more than a few primitives |
| |
|
| install: gforth $(FORTH_SRC) kernal.fi gforth.fi gforth.1 gforth.info |
install: gforth $(FORTH_SRC) kernal.fi gforth.fi gforth.1 gforth.info |
| $(INSTALL) -d $(bindir) $(mandir) $(infodir) $(libdir)/gforth/$(VERSION) $(datadir)/gforth/$(VERSION) |
$(INSTALL) -d $(bindir) $(mandir) $(infodir) $(libdir)/gforth/$(VERSION) $(datadir)/gforth/$(VERSION) $(libdir)/gforth/site-forth $(datadir)/gforth/site-forth |
| |
touch $(datadir)/gforth/site-forth/site-init.fs |
| $(INSTALL_PROGRAM) -s gforth $(bindir) |
$(INSTALL_PROGRAM) -s gforth $(bindir) |
| ln -f $(bindir)/gforth $(bindir)/gforth-$(VERSION) |
ln -f $(bindir)/gforth $(bindir)/gforth-$(VERSION) |
| $(INSTALL_DATA) gforth.1 $(mandir) |
$(INSTALL_DATA) gforth.1 $(mandir) |
| #to uninstall version foo, type `make uninstall VERSION=foo' |
#to uninstall version foo, type `make uninstall VERSION=foo' |
| uninstall: |
uninstall: |
| -$(RM) -rf $(libdir)/gforth/$(VERSION) $(datadir)/gforth/$(VERSION) $(bindir)/gforth-$(VERSION) |
-$(RM) -rf $(libdir)/gforth/$(VERSION) $(datadir)/gforth/$(VERSION) $(bindir)/gforth-$(VERSION) |
| @echo "Type \n$(RM) -rf $(bindir)/gforth $(mandir)/gforth.1 $(infodir)/gforth.info* $(datadir)/gforth $(libdir)/gforth\n to remove gforth completely" |
@echo -e "Type\n$(RM) -rf $(bindir)/gforth $(mandir)/gforth.1 $(infodir)/gforth.info* $(datadir)/gforth $(libdir)/gforth\nto remove Gforth completely" |
| |
|
| check: test |
check: test |
| touch test |
touch test |
| |
|
| bench: gforth |
bench: gforth |
| @echo 'Each benchmark takes about 30s on a 486-66 (gcc-2.6.3 -DFORCE_REG)' |
@echo 'Each benchmark takes about 30s on a 486-66 (gcc-2.6.3 -DFORCE_REG)' |
| time gforth/gforth siev.fs -e "main bye" |
time $(FORTH) siev.fs -e "main bye" |
| time gforth/gforth bubble.fs -e "main bye" |
time $(FORTH) bubble.fs -e "main bye" |
| time gforth/gforth -m 1M matrix.fs -e "main bye" |
time $(FORTH) -m 160000 matrix.fs -e "main bye" |
| time gforth/gforth fib.fs -e "main bye" |
time $(FORTH) fib.fs -e "main bye" |
| |
|
| dvi: gforth.dvi |
dvi: gforth.dvi |
| |
|