version 1.20, 1995/03/13 09:17:21
|
version 1.21, 1995/03/14 19:01:41
|
Line 47 mandir = $(prefix)/man/man1
|
Line 47 mandir = $(prefix)/man/man1
|
|
|
INCLUDES = forth.h io.h |
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 \ |
colorize.fs cross.fs debug.fs debugging.fs doskey.fs ds2texi.fs \ |
dumpimage.fs environ.fs errore.fs etags.fs extend.fs filedump.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 \ |
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 \ |
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 \ |
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 \ |
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 \ |
SOURCES = Makefile.in configure.in configure config.sub config.guess \ |
install-sh INSTALL README ToDo BUGS model COPYING \ |
install-sh INSTALL README ToDo BUGS model COPYING \ |
Line 116 realclean: distclean
|
Line 117 realclean: distclean
|
-$(RM) $(GEN_PRECIOUS) |
-$(RM) $(GEN_PRECIOUS) |
|
|
dist: $(SOURCES) $(FORTH_GEN) |
dist: $(SOURCES) $(FORTH_GEN) |
-rm gforth-$(VERSION) |
-rm -rf gforth-$(VERSION) |
ln -s `pwd` gforth-$(VERSION) |
mkdir gforth-$(VERSION) |
echo "" $(SOURCES) $(FORTH_GEN) |\ |
cp $(SOURCES) $(FORTH_GEN) gforth-$(VERSION) |
sed -e 's| | gforth-$(VERSION)/|g' |\ |
tar cvf - gforth-$(VERSION)|gzip -9 >gforth-$(VERSION).tar.gz |
xargs tar cvf gforth-$(VERSION).tar |
|
gzip -9 -f gforth-$(VERSION).tar |
|
-rm gforth-$(VERSION) |
|
|
|
#strip gforth, because the debugging stuff is hardly useful once |
#strip gforth, because the debugging stuff is hardly useful once |
# gforth manages to execute more than a few primitives |
# gforth manages to execute more than a few primitives |
Line 134 install: gforth $(FORTH_SRC) gforth.fi g
|
Line 132 install: gforth $(FORTH_SRC) gforth.fi g
|
$(INSTALL_DATA) gforth.info* $(infodir) |
$(INSTALL_DATA) gforth.info* $(infodir) |
$(INSTALL_DATA) gforth.fi $(libdir)/gforth |
$(INSTALL_DATA) gforth.fi $(libdir)/gforth |
for i in $(FORTH_SRC); do \ |
for i in $(FORTH_SRC); do \ |
$(CP) $$i $(datadir)/gforth; \ |
$(INSTALL_DATA) $$i $(libdir)/gforth; \ |
$(LN_S) $(datadir)/gforth/$$i $(libdir)/gforth \ |
|
done |
done |
|
|
|
test: gforth |
|
@echo 'Expect to see INCORRECT RESULT: { GS1 -> <TRUE> <TRUE> }' |
|
@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 |
dvi: gforth.dvi |
|
|
gforth: $(OBJECTS) |
gforth: $(OBJECTS) |
-$(CP) gforth gforth~ |
-$(CP) gforth gforth~ |
$(GCC) $(LDFLAGS) $(OBJECTS) $(LDLIBS) -o $@ |
$(GCC) $(LDFLAGS) $(OBJECTS) $(LDLIBS) -o $@ |
@MAKE_EXE@ |
@MAKE_EXE@ |