--- gforth/Makefile.in 1999/05/20 14:44:38 1.157 +++ gforth/Makefile.in 1999/12/03 18:44:39 1.164 @@ -165,11 +165,9 @@ EC_SRC = \ asm/target.fs \ ec/README \ ec/mirror.fs \ - ec/mirrors.fs \ ec/shex.fs \ ec/builttag.fs \ ec/dotx.fs \ - ec/mirrored.fs \ ec/nesting.fs GFORTH_FI_SRC = \ @@ -180,9 +178,11 @@ GFORTH_FI_SRC = \ bufio.fs \ debug.fs \ debugs.fs \ + ekey.fs \ savesys.fs \ environ.fs \ errors.fs \ + exceptions.fs \ extend.fs \ float.fs \ glocals.fs \ @@ -213,7 +213,7 @@ FORTH_SRC = $(KERN_SRC) $(GFORTH_FI_SRC) doskey.fs ds2texi.fs \ envos.fs envos.dos envos.os2 etags.fs filedump.fs fi2c.fs \ glosgen.fs gray.fs \ - doc/makedoc.fs \ + make-app.fs doc/makedoc.fs \ more.fs other.fs prims2x.fs random.fs \ table.fs \ tt.fs sokoban.fs \ @@ -307,7 +307,8 @@ SOURCES = $(CVSDIRS) compat Makefile.in configure.cmd mkos2mf.sed os2conf.h makefile.os2 engine/makefile.os2 \ gforthmi.cmd glosgen.glo doc/glossaries.doc \ $(INCLUDES) $(FORTH_SRC) $(COMPAT) \ - timings.sc + timings.sc \ + test/coretest.out test/checkans.out RCS_FILES = ToDo model high-level @@ -457,6 +458,8 @@ install: gforth$(EXE) $(FORTH_SRC) $(ker 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) 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 \ $(INSTALL_DATA) $(srcdir)/gforth.el $(emacssitelispdir); \ else \ @@ -483,12 +486,9 @@ uninstall: FORCE @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 - $(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 - @echo "Expect 'Missing: EKEY EKEY>CHAR EKEY? EMIT?'" - @echo "Expect 'Missing: EDITOR FORGET'" - $(FORTH) code.fs test/checkans.fs -e bye - @echo 'Expect no differences' + $(FORTH) code.fs test/checkans.fs -e bye | diff -c - $(srcdir)/test/checkans.out $(FORTHK) -m 100000 prims2x.fs -e \ "c-flag on s\" $(srcdir)/prim.b\" ' output-c process-file bye"| \ diff -c - $(srcdir)/engine/prim.i @@ -673,16 +673,21 @@ doc/gforth.info doc/gforth.info-*: $(GFO html: $(GFORTH_TEXI) -$(RMTREE) 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 doc/gforth.txt: $(GFORTH_TEXI) -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 # `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 aclocal.m4: acinclude.m4 configure.in