version 1.219, 2002/03/22 20:36:25
|
version 1.223, 2002/08/14 09:00:22
|
Line 64 GCC = @CC@
|
Line 64 GCC = @CC@
|
CC = $(GCC) |
CC = $(GCC) |
FORTHPATH = .$(PATHSEP)$(libdir)/gforth/site-forth$(PATHSEP)$(siteforthdir)$(PATHSEP)$(libdir)/gforth/$(VERSION)$(PATHSEP)$(datadir)/gforth/$(VERSION) |
FORTHPATH = .$(PATHSEP)$(libdir)/gforth/site-forth$(PATHSEP)$(siteforthdir)$(PATHSEP)$(libdir)/gforth/$(VERSION)$(PATHSEP)$(datadir)/gforth/$(VERSION) |
FORTHSIZES = @FORTHSIZES@ |
FORTHSIZES = @FORTHSIZES@ |
FORTH_ARGS = --die-on-signal -p $(FORTHPATH)$(PATHSEP)$(srcdir) |
FORTHS_ARGS = -p $(FORTHPATH)$(PATHSEP)$(srcdir) |
|
FORTH_ARGS = --die-on-signal $(FORTHS_ARGS) |
ENGINE = ./gforth |
ENGINE = ./gforth |
FORTH = $(ENGINE) $(FORTH_ARGS) |
FORTH = $(ENGINE) $(FORTH_ARGS) |
|
FORTHS = $(ENGINE) $(FORTHS_ARGS) |
# the (existing) forth system to use for cross compiling and primitives tables |
# the (existing) forth system to use for cross compiling and primitives tables |
# per default we use the one in this directory for a rebuild. It is also |
# per default we use the one in this directory for a rebuild. It is also |
# possible to override this variable at the command line for an initial build (jaw) |
# possible to override this variable at the command line for an initial build (jaw) |
Line 206 GFORTH_FI_SRC = \
|
Line 208 GFORTH_FI_SRC = \
|
intcomp.fs \ |
intcomp.fs \ |
locals.fs \ |
locals.fs \ |
look.fs \ |
look.fs \ |
|
quotes.fs \ |
search.fs \ |
search.fs \ |
see.fs \ |
see.fs \ |
see-ext.fs \ |
see-ext.fs \ |
Line 235 FORTH_SRC = $(KERN_SRC) $(GFORTH_FI_SRC)
|
Line 238 FORTH_SRC = $(KERN_SRC) $(GFORTH_FI_SRC)
|
tt.fs sokoban.fs \ |
tt.fs sokoban.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 \ |
test/string.fs test/other.fs test/checkans.fs \ |
test/string.fs test/other.fs test/signals.fs test/checkans.fs \ |
bubble.fs siev.fs matrix.fs fib.fs \ |
bubble.fs siev.fs matrix.fs fib.fs \ |
oof.fs oofsampl.fs objects.fs objexamp.fs mini-oof.fs moof-exm.fs \ |
oof.fs oofsampl.fs objects.fs objexamp.fs mini-oof.fs moof-exm.fs \ |
moofglos.fs fixpath.fs \ |
moofglos.fs fixpath.fs \ |
Line 254 COMPAT = compat/README \
|
Line 257 COMPAT = compat/README \
|
|
|
GFORTH_TEXI = doc/gforth.texi doc/version.texi |
GFORTH_TEXI = doc/gforth.texi doc/version.texi |
|
|
|
VMGEN_TEXI = doc/vmgen.texi doc/version.texi doc/fdl.texi |
|
|
ALLSUBDIRS = engine |
ALLSUBDIRS = engine |
|
|
ARCHS = \ |
ARCHS = \ |
Line 326 SOURCES = $(CVSDIRS) compat Makefile.in
|
Line 331 SOURCES = $(CVSDIRS) compat Makefile.in
|
configure.in configure config.sub config.guess elisp-comp missing \ |
configure.in configure config.sub config.guess elisp-comp missing \ |
acconfig.h acinclude.m4 engine/config.h.in stamp-h.in \ |
acconfig.h acinclude.m4 engine/config.h.in stamp-h.in \ |
iss.sh install-sh INSTALL INSTALL.BINDIST NEWS README ToDo BUGS model \ |
iss.sh install-sh INSTALL INSTALL.BINDIST NEWS README ToDo BUGS model \ |
COPYING AUTHORS ChangeLog Benchres aclocal.m4 \ |
COPYING COPYING.DOC AUTHORS ChangeLog Benchres aclocal.m4 \ |
doc/gforth.ds doc/texinfo.tex doc/gforth.1 doc/version.texi.in \ |
doc/gforth.ds doc/texinfo.tex doc/gforth.1 doc/version.texi.in \ |
|
doc/vmgen.texi doc/fdl.texi \ |
gforth.el \ |
gforth.el \ |
prim peeprules.vmg engine/engine.c engine/main.c \ |
prim peeprules.vmg engine/engine.c engine/main.c \ |
engine/io.c engine/memcmpc.c engine/signals.c $(ARCHS) \ |
engine/io.c engine/memcmpc.c engine/signals.c $(ARCHS) \ |
Line 365 KERNLS = kernl16b.fi- kernl16l.fi- \
|
Line 371 KERNLS = kernl16b.fi- kernl16l.fi- \
|
kernl32b.fi- kernl32l.fi- \ |
kernl32b.fi- kernl32l.fi- \ |
kernl64b.fi- kernl64l.fi- |
kernl64b.fi- kernl64l.fi- |
|
|
GEN_PRECIOUS = $(FORTH_GEN) $(KERNLS) doc/gforth.texi doc/gforth.dvi doc/gforth.ps Makefile Makedist engine/Makefile configure |
GEN_PRECIOUS = $(FORTH_GEN) $(KERNLS) \ |
|
doc/gforth.texi doc/gforth.dvi doc/gforth.ps \ |
|
doc/vmgen.dvi doc/vmgen.ps \ |
|
Makefile Makedist engine/Makefile configure |
|
|
#standards.info recommends this: |
#standards.info recommends this: |
.SUFFIXES: |
.SUFFIXES: |
Line 530 uninstall: FORCE
|
Line 539 uninstall: FORCE
|
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 test/string.fs -e bye | diff -c - $(srcdir)/test/coretest.out |
$(FORTH) test/tester.fs test/coretest.fs test/postpone.fs test/dbltest.fs test/string.fs -e bye | diff -c - $(srcdir)/test/coretest.out |
$(FORTH) test/other.fs -e bye |
$(FORTH) test/other.fs -e bye |
|
$(FORTHS) test/signals.fs -e bye |
$(FORTH) code.fs test/checkans.fs -e bye | diff -c - $(srcdir)/test/checkans.out |
$(FORTH) code.fs test/checkans.fs -e bye | diff -c - $(srcdir)/test/checkans.out |
$(FORTH) prims2x.fs -e \ |
$(FORTH) prims2x.fs -e \ |
"c-flag on s\" $(srcdir)/prim.b\" ' output-c ' output-c-combined process-file bye"| \ |
"c-flag on s\" $(srcdir)/prim.b\" ' output-c ' output-c-combined process-file bye"| \ |
Line 756 checkdoc: doc/gforth.ds prim.b ds2texi.f
|
Line 766 checkdoc: doc/gforth.ds prim.b ds2texi.f
|
$(FORTH) ds2texi.fs prims2x.fs -e "s\" $(srcdir)/prim.b\" ' register-doc ' noop process-file" doc/crossdoc.fd doc/doc.fd answords.fs -e bye |
$(FORTH) ds2texi.fs prims2x.fs -e "s\" $(srcdir)/prim.b\" ' register-doc ' noop process-file" doc/crossdoc.fd doc/doc.fd answords.fs -e bye |
-grep unknown doc/gforth.texi |
-grep unknown doc/gforth.texi |
|
|
dvi: doc/gforth.dvi |
dvi: doc/gforth.dvi doc/vmgen.dvi |
|
|
doc/gforth.dvi doc/gforth.fns: $(GFORTH_TEXI) |
doc/gforth.dvi doc/gforth.fns: $(GFORTH_TEXI) |
cd doc; $(TEXI2DVI) gforth.texi |
cd doc; $(TEXI2DVI) gforth.texi |
|
|
|
doc/vmgen.dvi: $(VMGEN_TEXI) |
|
cd doc; $(TEXI2DVI) vmgen.texi |
|
|
doc/gforth.ps: doc/gforth.dvi |
doc/gforth.ps: doc/gforth.dvi |
$(DVI2PS) doc/gforth.dvi -o $@ |
$(DVI2PS) doc/gforth.dvi -o $@ |
|
|
info: doc/gforth.info |
info: doc/gforth.info doc/vmgen.info |
|
|
|
doc/gforth.info: $(GFORTH_TEXI) |
|
cd doc; $(MAKEINFO) gforth.texi |
|
|
|
doc/vmgen.info: $(VMGEN_TEXI) |
|
cd doc; $(MAKEINFO) vmgen.texi |
|
|
doc/gforth.info doc/gforth.info-*: $(GFORTH_TEXI) |
|
-cd doc; $(MAKEINFO) gforth.texi |
|
|
|
### need makeinfo 4.0 to generate html. Otherwise, use texi2html.. |
### need makeinfo 4.0 to generate html. Otherwise, use texi2html.. |
html: $(GFORTH_TEXI) |
html: $(GFORTH_TEXI) |