version 1.60, 1996/05/07 16:15:20
|
version 1.64, 1996/09/10 16:08:35
|
Line 85 KERN_SRC = \
|
Line 85 KERN_SRC = \
|
kernal.fs \ |
kernal.fs \ |
main.fs \ |
main.fs \ |
search-order.fs \ |
search-order.fs \ |
|
special.fs \ |
tools.fs \ |
tools.fs \ |
toolsext.fs \ |
toolsext.fs \ |
vars.fs \ |
vars.fs \ |
Line 103 GFORTH_FI_SRC = \
|
Line 104 GFORTH_FI_SRC = \
|
glocals.fs \ |
glocals.fs \ |
hash.fs \ |
hash.fs \ |
history.fs \ |
history.fs \ |
|
intcomp.fs \ |
look.fs \ |
look.fs \ |
search-order.fs \ |
search-order.fs \ |
see.fs \ |
see.fs \ |
Line 130 FORTH_SRC = $(KERN_SRC) $(GFORTH_FI_SRC)
|
Line 132 FORTH_SRC = $(KERN_SRC) $(GFORTH_FI_SRC)
|
site-init.fs \ |
site-init.fs \ |
tt.fs sokoban.fs \ |
tt.fs sokoban.fs \ |
wordsets.fs \ |
wordsets.fs \ |
tester.fs coretest.fs dbltest.fs \ |
tester.fs coretest.fs postponetest.fs dbltest.fs \ |
bubble.fs siev.fs matrix.fs fib.fs |
bubble.fs siev.fs matrix.fs fib.fs |
|
|
SOURCES = CVS compat Makefile.in configure.in configure config.sub config.guess \ |
SOURCES = CVS compat Makefile.in configure.in configure config.sub config.guess \ |
acconfig.h config.h.in \ |
acconfig.h config.h.in \ |
install-sh INSTALL README ToDo BUGS model COPYING Benchres \ |
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 memcasecmp.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 \ |
getopt.c getopt1.c getopt.h select.c \ |
getopt.c getopt1.c getopt.h select.c \ |
ecvt.c memcmp.c strtol.c strtoul.c ansidecl.h memmove.c pow10.c \ |
ecvt.c memcmp.c strtol.c strtoul.c ansidecl.h memmove.c pow10.c \ |
Line 151 RCS_FILES = ToDo model high-level
|
Line 153 RCS_FILES = ToDo model high-level
|
|
|
GEN = gforth version.fs |
GEN = gforth version.fs |
|
|
OBJECTS = engine.o io.o main.o @LIBOBJS@ @getopt_long@ |
OBJECTS = engine.o io.o main.o memcasecmp.o @LIBOBJS@ @getopt_long@ |
|
|
# things that need a working forth system to be generated |
# things that need a working forth system to be generated |
FORTH_GEN0 = primitives.b primitives.i prim_labels.i aliases.fs |
FORTH_GEN0 = primitives.b primitives.i prim_labels.i aliases.fs |
Line 266 install: gforth $(FORTH_SRC) kernal.fi g
|
Line 268 install: gforth $(FORTH_SRC) kernal.fi g
|
done |
done |
$(INSTALL_DATA) kernal.fi $(libdir)/gforth/$(VERSION) |
$(INSTALL_DATA) kernal.fi $(libdir)/gforth/$(VERSION) |
$(FORTHK) startup.fs dumpimage.fs -e "savesystem $(libdir)/gforth/$(VERSION)/gforth.fi bye" #gforth.fi contains some path names |
$(FORTHK) startup.fs dumpimage.fs -e "savesystem $(libdir)/gforth/$(VERSION)/gforth.fi bye" #gforth.fi contains some path names |
sed s:$(srcdir)/:$(datadir)/gforth/$(VERSION): gforth.TAGS >TAGS; $(INSTALL_DATA) TAGS $(datadir)/gforth/$(VERSION) |
sed s:$(srcdir)/:$(datadir)/gforth/$(VERSION)/: gforth.TAGS >TAGS; $(INSTALL_DATA) TAGS $(datadir)/gforth/$(VERSION) |
if test -d $(emacssitelispdir); then \ |
if test -d $(emacssitelispdir); then \ |
$(INSTALL_DATA) gforth.el $(emacssitelispdir); \ |
$(INSTALL_DATA) gforth.el $(emacssitelispdir); \ |
else \ |
else \ |
Line 283 check: test
|
Line 285 check: test
|
touch test |
touch test |
|
|
test: gforth gforth.fi |
test: gforth gforth.fi |
$(FORTH) tester.fs coretest.fs dbltest.fs -e bye |
$(FORTH) tester.fs coretest.fs postponetest.fs dbltest.fs -e bye |
$(FORTH) code.fs checkans.fs -e bye |
$(FORTH) code.fs checkans.fs -e bye |
@echo 'Expect no differences' |
@echo 'Expect no differences' |
$(FORTH) prims2x.fs -e "s\" primitives.b\" ' output-c process-file bye"| diff -c - primitives.i |
$(FORTH) prims2x.fs -e "s\" primitives.b\" ' output-c process-file bye"| diff -c - primitives.i |
Line 393 doc.fd: makedoc.fs float.fs search-orde
|
Line 395 doc.fd: makedoc.fs float.fs search-orde
|
$(FORTHK) -p . -e "s\" doc.fd\"" makedoc.fs startup.fs code.fs -e bye |
$(FORTHK) -p . -e "s\" doc.fd\"" makedoc.fs startup.fs code.fs -e bye |
|
|
crossdoc.fd: $(KERN_SRC) $(FORTH_GEN0) |
crossdoc.fd: $(KERN_SRC) $(FORTH_GEN0) |
$(FORTHK) -p . -e 's" mach32l.fs"' main.fs |
$(FORTHK) -p . -e 's" mach32l.fs"' main.fs -e bye |
|
|
gforth.texi: gforth.ds primitives.b ds2texi.fs prims2x.fs doc.fd crossdoc.fd |
gforth.texi: gforth.ds primitives.b ds2texi.fs prims2x.fs doc.fd crossdoc.fd |
$(FORTHK) -p . ds2texi.fs -e "s\" gforth.ds\" r/o open-file throw ds2texi bye" >$@ |
$(FORTHK) -p . ds2texi.fs -e "s\" gforth.ds\" r/o open-file throw ds2texi bye" >$@ |
Line 415 html: gforth.texi
|
Line 417 html: gforth.texi
|
-mkdir html |
-mkdir html |
cd html; $(TEXI2HTML) -menu -split_node ../gforth.texi |
cd html; $(TEXI2HTML) -menu -split_node ../gforth.texi |
|
|
|
doc: gforth.ps html |
|
|
# 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 |
${srcdir}/configure: configure.in |