| # in exboot.fs |
# in exboot.fs |
| STARTUP = exboot.fs startup.fs @asm_fs@ @disasm_fs@ |
STARTUP = exboot.fs startup.fs @asm_fs@ @disasm_fs@ |
| STRIP = strip |
STRIP = strip |
| TEXI2DVI = texi2dvi |
TEXI2DVI = @TEXI2DVI@ |
| TEXI2PDF = texi2dvi --pdf |
TEXI2PDF = @TEXI2DVI@ --pdf |
| DVI2PS = dvips -t letterSize -Z |
DVI2PS = dvips -t letterSize -Z |
| #you can get texi2html from http://wwwcn.cern.ch/dci/texi2html/ |
#you can get texi2html from http://wwwcn.cern.ch/dci/texi2html/ |
| MAKEINFO = makeinfo |
MAKEINFO = makeinfo |
| kernel/aliases0.fs \ |
kernel/aliases0.fs \ |
| kernel/aliases.fs \ |
kernel/aliases.fs \ |
| kernel/args.fs \ |
kernel/args.fs \ |
| chains.fs \ |
|
| kernel/cbr.fs \ |
kernel/cbr.fs \ |
| kernel/cloop.fs \ |
kernel/cloop.fs \ |
| kernel/cond.fs \ |
kernel/cond.fs \ |
| asm/README \ |
asm/README \ |
| asm/bitmask.fs \ |
asm/bitmask.fs \ |
| asm/numref.fs \ |
asm/numref.fs \ |
| |
chains.fs \ |
| asm/basic.fs \ |
asm/basic.fs \ |
| asm/generic.fs \ |
asm/generic.fs \ |
| asm/target.fs \ |
asm/target.fs \ |
| blocks.fs \ |
blocks.fs \ |
| bufio.fs \ |
bufio.fs \ |
| code.fs \ |
code.fs \ |
| complex.fs \ |
|
| debug.fs \ |
debug.fs \ |
| debugs.fs \ |
debugs.fs \ |
| dis-gdb.fs \ |
dis-gdb.fs \ |
| except.fs \ |
except.fs \ |
| extend.fs \ |
extend.fs \ |
| float.fs \ |
float.fs \ |
| fft.fs \ |
|
| glocals.fs \ |
glocals.fs \ |
| hash.fs \ |
hash.fs \ |
| history.fs \ |
history.fs \ |
| arch/amd64/asm.fs arch/amd64/disasm.fs \ |
arch/amd64/asm.fs arch/amd64/disasm.fs \ |
| arch/alpha/asm.fs arch/alpha/disasm.fs arch/alpha/testasm.fs\ |
arch/alpha/asm.fs arch/alpha/disasm.fs arch/alpha/testasm.fs\ |
| arch/mips/asm.fs arch/mips/disasm.fs arch/mips/insts.fs \ |
arch/mips/asm.fs arch/mips/disasm.fs arch/mips/insts.fs \ |
| arch/mips/testasm.fs arch/mips/testdisasm.fs |
arch/mips/testasm.fs arch/mips/testdisasm.fs \ |
| |
arch/power/asm.fs arch/power/disasm.fs arch/power/inst.fs |
| |
|
| FORTH_SRC = $(KERN_SRC) $(GFORTH_FI_SRC) $(EC_SRC) \ |
FORTH_SRC = $(KERN_SRC) $(GFORTH_FI_SRC) $(EC_SRC) \ |
| ans-report.fs ansi.fs answords.fs \ |
ans-report.fs ansi.fs answords.fs \ |
| colorize.fs comp-i.fs \ |
colorize.fs comp-i.fs complex.fs \ |
| depth-changes.fs dosekey.fs doskey.fs ds2texi.fs \ |
depth-changes.fs dosekey.fs doskey.fs ds2texi.fs \ |
| envos.dos envos.os2 etags.fs filedump.fs fi2c.fs \ |
envos.dos envos.os2 etags.fs fft.fs filedump.fs fi2c.fs \ |
| fsl-util.4th glosgen.fs gray.fs httpd.fs proxy.fs \ |
fsl-util.4th glosgen.fs gray.fs httpd.fs proxy.fs \ |
| make-app.fs doc/makedoc.fs \ |
make-app.fs doc/makedoc.fs \ |
| locate.fs more.fs other.fs prims2x.fs random.fs \ |
locate.fs more.fs other.fs prims2x.fs random.fs \ |
| sokoban.fs string.fs table.fs tags.fs \ |
regexp.fs sokoban.fs string.fs table.fs tags.fs \ |
| tt.fs \ |
tt.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 \ |
| arch/r8c/asm.fs \ |
arch/r8c/asm.fs \ |
| arch/r8c/asm-test.fs \ |
arch/r8c/asm-test.fs \ |
| arch/r8c/prim.fs \ |
arch/r8c/prim.fs \ |
| |
arch/r8c/errors.fs \ |
| |
arch/r8c/tt.fs \ |
| |
arch/r8c/tasker.fs \ |
| |
arch/r8c/lauflicht.fs \ |
| |
arch/r8c/terminal.fs \ |
| arch/r8c/mach.fs |
arch/r8c/mach.fs |
| |
|
| #not included in distribution until distribution terms are included: |
#not included in distribution until distribution terms are included: |
| engine/prim_superend-fast.i engine/profile-fast.i \ |
engine/prim_superend-fast.i engine/profile-fast.i \ |
| engine/prim_num-fast.i engine/prim_grp-fast.i \ |
engine/prim_num-fast.i engine/prim_grp-fast.i \ |
| engine/costs-fast.i engine/super2-fast.i |
engine/costs-fast.i engine/super2-fast.i |
| FORTH_GEN_PRIMB = $(FORTH_GEN_ENGINE) $(FORTH_GEN_ENGINE_FAST) 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 |
| # this is used for antidependences, |
# this is used for antidependences, |
| #we rebuild gforth.fi, because it contains some path names. |
#we rebuild gforth.fi, because it contains some path names. |
| #we delete $build/gforth.fi and $build/install.TAGS after installation because of ownership. |
#we delete $build/gforth.fi and $build/install.TAGS after installation because of ownership. |
| install: gforth$(EXE) $(FORTH_SRC) $(kernel_fi) gforth.fi gforthmi vmgen doc/gforth.1 prim install.TAGS installdirs |
install: gforth$(EXE) $(FORTH_SRC) $(kernel_fi) gforth.fi gforthmi vmgen doc/gforth.1 prim install.TAGS installdirs |
| |
$(NORMAL_INSTALL) |
| touch $(DESTDIR)$(siteforthdir)/siteinit.fs |
touch $(DESTDIR)$(siteforthdir)/siteinit.fs |
| -$(RM) $(DESTDIR)$(bindir)/gforth$(EXE) $(DESTDIR)$(bindir)/gforth-$(VERSION)$(EXE) $(DESTDIR)$(bindir)/gforthmi $(DESTDIR)$(bindir)/vmgen |
-$(RM) $(DESTDIR)$(bindir)/gforth$(EXE) $(DESTDIR)$(bindir)/gforth-$(VERSION)$(EXE) $(DESTDIR)$(bindir)/gforthmi $(DESTDIR)$(bindir)/vmgen |
| -$(RM) $(DESTDIR)$(bindir)/gforth-fast$(EXE) $(DESTDIR)$(bindir)/gforth-fast-$(VERSION)$(EXE) |
-$(RM) $(DESTDIR)$(bindir)/gforth-fast$(EXE) $(DESTDIR)$(bindir)/gforth-fast-$(VERSION)$(EXE) |
| $(INSTALL_DATA) gforth.fi $(DESTDIR)$(libdir)/gforth/$(VERSION) |
$(INSTALL_DATA) gforth.fi $(DESTDIR)$(libdir)/gforth/$(VERSION) |
| $(INSTALL_DATA) install.TAGS $(DESTDIR)$(datadir)/gforth/$(VERSION)/TAGS |
$(INSTALL_DATA) install.TAGS $(DESTDIR)$(datadir)/gforth/$(VERSION)/TAGS |
| $(RM) gforth.fi install.TAGS |
$(RM) gforth.fi install.TAGS |
| |
$(POST_INSTALL) |
| $(INSTALL_INFO) --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/gforth.info |
$(INSTALL_INFO) --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/gforth.info |
| $(INSTALL_INFO) --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/vmgen.info |
$(INSTALL_INFO) --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/vmgen.info |
| |
|
| install-strip: install |
install-strip: install |
| |
|
| installdirs: mkinstalldirs |
installdirs: mkinstalldirs |
| |
$(NORMAL_INSTALL) |
| for i in $(bindir) $(man1dir) $(infodir) $(libdir)/gforth/$(VERSION) $(datadir)/gforth/$(VERSION) $(libdir)/gforth/site-forth $(siteforthdir); do \ |
for i in $(bindir) $(man1dir) $(infodir) $(libdir)/gforth/$(VERSION) $(datadir)/gforth/$(VERSION) $(libdir)/gforth/site-forth $(siteforthdir); do \ |
| $(srcdir)/mkinstalldirs $(DESTDIR)$$i; \ |
$(srcdir)/mkinstalldirs $(DESTDIR)$$i; \ |
| done |
done |
| #deinstall all files specific to this version of gforth |
#deinstall all files specific to this version of gforth |
| #to uninstall version foo, type `make uninstall VERSION=foo' |
#to uninstall version foo, type `make uninstall VERSION=foo' |
| uninstall: FORCE |
uninstall: FORCE |
| |
$(NORMAL_UNINSTALL) |
| -$(RM) -rf $(DESTDIR)$(libdir)/gforth/$(VERSION) $(DESTDIR)$(datadir)/gforth/$(VERSION) $(DESTDIR)$(bindir)/gforth-$(VERSION)$(EXE) $(DESTDIR)$(bindir)/gforth-fast-$(VERSION)$(EXE) $(DESTDIR)$(bindir)/gforth-itc-$(VERSION)$(EXE) $(DESTDIR)$(bindir)/gforthmi-$(VERSION) $(DESTDIR)(bindir)/vmgen-$(VERSION) |
-$(RM) -rf $(DESTDIR)$(libdir)/gforth/$(VERSION) $(DESTDIR)$(datadir)/gforth/$(VERSION) $(DESTDIR)$(bindir)/gforth-$(VERSION)$(EXE) $(DESTDIR)$(bindir)/gforth-fast-$(VERSION)$(EXE) $(DESTDIR)$(bindir)/gforth-itc-$(VERSION)$(EXE) $(DESTDIR)$(bindir)/gforthmi-$(VERSION) $(DESTDIR)(bindir)/vmgen-$(VERSION) |
| @echo -e "To remove Gforth completely, type\n$(RM) -rf $(DESTDIR)$(bindir)/gforth$(EXE) $(DESTDIR)$(bindir)/gforth-fast$(EXE) $(DESTDIR)$(bindir)/gforth-itc$(EXE) $(DESTDIR)$(bindir)/gforthmi $(DESTDIR)$(bindir)/vmgen $(DESTDIR)$(man1dir)/gforth.1 $(DESTDIR)$(infodir)/gforth.info* $(DESTDIR)$(datadir)/gforth $(DESTDIR)$(libdir)/gforth" |
@echo -e "To remove Gforth completely, type\n$(RM) -rf $(DESTDIR)$(bindir)/gforth$(EXE) $(DESTDIR)$(bindir)/gforth-fast$(EXE) $(DESTDIR)$(bindir)/gforth-itc$(EXE) $(DESTDIR)$(bindir)/gforthmi $(DESTDIR)$(bindir)/vmgen $(DESTDIR)$(man1dir)/gforth.1 $(DESTDIR)$(infodir)/gforth.info* $(DESTDIR)$(datadir)/gforth $(DESTDIR)$(libdir)/gforth" |
| |
|
| check: gforths gforth.fi |
check: gforths gforth.fi |
| $(MAKE) checkone ENGINE="./gforth --no-dynamic" >/dev/null 2>&1 |
$(MAKE) checkone check-nofast ENGINE="./gforth --no-dynamic" >/dev/null 2>&1 |
| $(MAKE) checkone ENGINE="./gforth-itc" >/dev/null 2>&1 |
$(MAKE) checkone check-nofast ENGINE="./gforth-itc" >/dev/null 2>&1 |
| $(MAKE) checkone ENGINE="./gforth-ditc" >/dev/null 2>&1 |
$(MAKE) checkone check-nofast ENGINE="./gforth-ditc" >/dev/null 2>&1 |
| $(MAKE) checkone ENGINE="./gforth-fast --no-dynamic" >/dev/null 2>&1 |
$(MAKE) checkone ENGINE="./gforth-fast --no-dynamic" >/dev/null 2>&1 |
| $(MAKE) checkone ENGINE="./gforth" >/dev/null 2>&1 |
$(MAKE) checkone check-nofast ENGINE="./gforth" >/dev/null 2>&1 |
| $(MAKE) checkone ENGINE="./gforth-fast" >/dev/null 2>&1 |
$(MAKE) checkone ENGINE="./gforth-fast" >/dev/null 2>&1 |
| @echo "*** Check successful ***" |
@echo "*** Check successful ***" |
| |
|
| checkone test: gforth$(EXE) gforth.fi |
checkone test: gforth$(EXE) gforth.fi |
| $(FORTH) test/tester.fs test/coretest.fs test/postpone.fs test/dbltest.fs test/string.fs test/float.fs test/gforth.fs test/deferred.fs test/coreext.fs -e bye | tr -d '\015' | 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 test/deferred.fs test/coreext.fs -e bye 2>&1 | tr -d '\015' | 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 |
| |
$(FORTHS) test/coremore.fs test/gforth.fs -e bye 2>&1 | tr -d '\015' | diff -c - $(srcdir)/test/gforth.out |
| $(FORTH) code.fs test/checkans.fs -e bye | tr -d '\015' | diff -c - $(srcdir)/test/checkans.out |
$(FORTH) code.fs test/checkans.fs -e bye | tr -d '\015' | diff -c - $(srcdir)/test/checkans.out |
| $(FORTH) prims2x.fs -e \ |
$(FORTH) prims2x.fs -e \ |
| "c-flag on s\" prim.i\" out-filename 2! s\" $(srcdir)/prim.b\" ' output-c ' output-c-combined process-file bye"| \ |
"c-flag on s\" prim.i\" out-filename 2! s\" $(srcdir)/prim.b\" ' output-c ' output-c-combined process-file bye"| \ |
| tr -d '\015' | diff -c - $(srcdir)/engine/prim.i |
tr -d '\015' | diff -c - $(srcdir)/engine/prim.i |
| |
|
| |
check-nofast: gforth$(EXE) gforth.fi |
| |
$(FORTHS) test/gforth-nofast.fs -e bye |
| |
|
| test/primtest.fi: test/primtest.fs mach32l.fs cross.fs |
test/primtest.fi: test/primtest.fs mach32l.fs cross.fs |
| $(FORTHB) -e 's" mach32b.fs"' $(srcdir)/test/primtest.fs -e "save-cross $@ $(bindir)/gforth-$(VERSION) bye" |
$(FORTHB) -e 's" mach32b.fs"' $(srcdir)/test/primtest.fs -e "save-cross $@ $(bindir)/gforth-$(VERSION) bye" |
| |
|
| config.status: configure |
config.status: configure |
| ./config.status --recheck |
./config.status --recheck |
| |
|
| |
|
| #create files for DOS, because DOS cannot do it itself |
#create files for DOS, because DOS cannot do it itself |
| makefile.dos: mkdosmf.sed Makefile.in engine/Makefile.in |
makefile.dos: mkdosmf.sed Makefile.in engine/Makefile.in |
| sed -f mkdosmf.sed <Makefile.in >makefile.dos |
sed -f mkdosmf.sed <Makefile.in >makefile.dos |