--- gforth/Makefile.in 1995/03/13 09:17:21 1.20 +++ gforth/Makefile.in 1995/03/14 19:01:41 1.21 @@ -47,15 +47,16 @@ mandir = $(prefix)/man/man1 INCLUDES = forth.h io.h -FORTH_SRC = add.fs assert.fs ansi.fs blocks.fs bufio.fs checkans.fs \ +FORTH_SRC = anslocal.fs add.fs assert.fs ansi.fs blocks.fs bufio.fs checkans.fs \ colorize.fs cross.fs debug.fs debugging.fs doskey.fs ds2texi.fs \ dumpimage.fs environ.fs errore.fs etags.fs extend.fs filedump.fs \ float.fs glocals.fs glosgen.fs gray.fs hash.fs history.fs \ - kernal.fs locals-test.fs look.fs main.fs \ + kernal.fs locals-test.fs look.fs main.fs makedoc.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 \ startup.fs struct.fs tools.fs toolsext.fs tt.fs vars.fs vt100.fs \ - vt100key.fs wordinfo.fs wordsets.fs + vt100key.fs wordinfo.fs wordsets.fs \ + tester.fs coretest.fs SOURCES = Makefile.in configure.in configure config.sub config.guess \ install-sh INSTALL README ToDo BUGS model COPYING \ @@ -116,13 +117,10 @@ realclean: distclean -$(RM) $(GEN_PRECIOUS) dist: $(SOURCES) $(FORTH_GEN) - -rm gforth-$(VERSION) - ln -s `pwd` gforth-$(VERSION) - echo "" $(SOURCES) $(FORTH_GEN) |\ - sed -e 's| | gforth-$(VERSION)/|g' |\ - xargs tar cvf gforth-$(VERSION).tar - gzip -9 -f gforth-$(VERSION).tar - -rm gforth-$(VERSION) + -rm -rf gforth-$(VERSION) + mkdir gforth-$(VERSION) + cp $(SOURCES) $(FORTH_GEN) gforth-$(VERSION) + tar cvf - gforth-$(VERSION)|gzip -9 >gforth-$(VERSION).tar.gz #strip gforth, because the debugging stuff is hardly useful once # gforth manages to execute more than a few primitives @@ -134,13 +132,20 @@ install: gforth $(FORTH_SRC) gforth.fi g $(INSTALL_DATA) gforth.info* $(infodir) $(INSTALL_DATA) gforth.fi $(libdir)/gforth for i in $(FORTH_SRC); do \ - $(CP) $$i $(datadir)/gforth; \ - $(LN_S) $(datadir)/gforth/$$i $(libdir)/gforth \ + $(INSTALL_DATA) $$i $(libdir)/gforth; \ done +test: gforth + @echo 'Expect to see INCORRECT RESULT: { GS1 -> }' + @echo 'This is a bug of the testing program' + $(FORTH) tester.fs coretest.fs -e bye + $(FORTH) startup.fs blocks.fs checkans.fs -e bye + @echo 'Expect no differences' + $(FORTH) prims2x.fs -e "s\" primitives.b\" ' output-c process-file bye"| diff -c - primitives.i + dvi: gforth.dvi -gforth: $(OBJECTS) +gforth: $(OBJECTS) -$(CP) gforth gforth~ $(GCC) $(LDFLAGS) $(OBJECTS) $(LDLIBS) -o $@ @MAKE_EXE@