| INSTALL = @INSTALL@ |
INSTALL = @INSTALL@ |
| INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
| INSTALL_DATA = @INSTALL_DATA@ |
INSTALL_DATA = @INSTALL_DATA@ |
| |
INSTALL_DIR = ./install-sh -d |
| LN_S = @LN_S@ |
LN_S = @LN_S@ |
| GCC = @CC@ |
GCC = @CC@ |
| CC = $(GCC) |
CC = $(GCC) |
| tester.fs coretest.fs \ |
tester.fs coretest.fs \ |
| bubble.fs siev.fs matrix.fs fib.fs |
bubble.fs siev.fs matrix.fs fib.fs |
| |
|
| SOURCES = Makefile.in configure.in configure config.sub config.guess \ |
SOURCES = CVS Makefile.in configure.in configure config.sub config.guess \ |
| 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 \ |
| dist: $(SOURCES) $(FORTH_GEN) $(DOCDIST) |
dist: $(SOURCES) $(FORTH_GEN) $(DOCDIST) |
| -rm -rf gforth-$(VERSION) |
-rm -rf gforth-$(VERSION) |
| mkdir gforth-$(VERSION) |
mkdir gforth-$(VERSION) |
| cp -p $(SOURCES) $(FORTH_GEN0) @KERNAL@ $(DOCDIST) gforth-$(VERSION) |
$(CP) -rp $(SOURCES) $(FORTH_GEN0) @KERNAL@ $(DOCDIST) gforth-$(VERSION) |
| tar cvf - gforth-$(VERSION)|gzip -9 >gforth-$(VERSION).tar.gz |
tar cvf - gforth-$(VERSION)|gzip -9 >gforth-$(VERSION).tar.gz |
| -rm -rf gforth-$(VERSION) |
-rm -rf gforth-$(VERSION) |
| |
|
| bindist: $(SOURCES) $(FORTH_GEN) gforth $(OBJECTS) config.status Makefile |
bindist: $(SOURCES) $(FORTH_GEN) gforth $(OBJECTS) config.status Makefile |
| -rm -rf gforth-$(VERSION) |
-rm -rf gforth-$(VERSION) |
| mkdir gforth-$(VERSION) |
mkdir gforth-$(VERSION) |
| cp -p -d $(SOURCES) config.status Makefile $(FORTH_GEN) gforth $(OBJECTS) machine.h kernal.fi gforth-$(VERSION) |
$(CP) -rp -d $(SOURCES) config.status Makefile $(FORTH_GEN) gforth $(OBJECTS) machine.h kernal.fi gforth-$(VERSION) |
| strip gforth-$(VERSION)/gforth |
strip gforth-$(VERSION)/gforth |
| tar cvf - gforth-$(VERSION)|gzip -9 >gforth-$(VERSION)-@host@.tar.gz |
tar cvf - gforth-$(VERSION)|gzip -9 >gforth-$(VERSION)-@host@.tar.gz |
| |
|
| binonlydist: $(SOURCES) $(FORTH_GEN) gforth $(OBJECTS) |
binonlydist: $(SOURCES) $(FORTH_GEN) gforth $(OBJECTS) |
| -rm -rf gforth-$(VERSION) |
-rm -rf gforth-$(VERSION) |
| mkdir gforth-$(VERSION) |
mkdir gforth-$(VERSION) |
| cp -p -d config.status Makefile gforth $(OBJECTS) machine.h kernal.fi gforth-$(VERSION) |
$(CP) -p -d config.status Makefile gforth $(OBJECTS) machine.h kernal.fi gforth-$(VERSION) |
| strip gforth-$(VERSION)/gforth |
strip gforth-$(VERSION)/gforth |
| tar cvf - gforth-$(VERSION)|gzip -9 >gforth-$(VERSION)-binonly-@host@.tar.gz |
tar cvf - gforth-$(VERSION)|gzip -9 >gforth-$(VERSION)-binonly-@host@.tar.gz |
| |
|
| #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 |
| |
|
| install: gforth $(FORTH_SRC) kernal.fi gforth.fi gforth.1 gforth.info |
install: gforth $(FORTH_SRC) kernal.fi gforth.fi gforth.1 gforth.info* |
| $(INSTALL) -d $(bindir) $(mandir) $(infodir) $(libdir)/gforth/$(VERSION) $(datadir)/gforth/$(VERSION) $(libdir)/gforth/site-forth $(datadir)/gforth/site-forth |
for i in $(bindir) $(mandir) $(infodir) $(libdir)/gforth/$(VERSION) $(datadir)/gforth/$(VERSION) $(libdir)/gforth/site-forth $(datadir)/gforth/site-forth; do \ |
| |
$(INSTALL_DIR) $$i; \ |
| |
done |
| touch $(datadir)/gforth/site-forth/site-init.fs |
touch $(datadir)/gforth/site-forth/site-init.fs |
| -$(RM) $(bindir)/gforth |
-$(RM) $(bindir)/gforth $(bindir)/gforth-$(VERSION) |
| $(INSTALL_PROGRAM) -s gforth $(bindir) |
$(INSTALL_PROGRAM) -s gforth $(bindir) |
| ln -f $(bindir)/gforth $(bindir)/gforth-$(VERSION) |
ln $(bindir)/gforth $(bindir)/gforth-$(VERSION) |
| $(INSTALL_DATA) gforth.1 $(mandir) |
$(INSTALL_DATA) gforth.1 $(mandir) |
| $(INSTALL_DATA) gforth.info* $(infodir) |
for i in gforth.info*; do $(INSTALL_DATA) $$i $(infodir); done |
| for i in $(FORTH_SRC); do \ |
for i in $(FORTH_SRC); do \ |
| $(INSTALL_DATA) $$i $(datadir)/gforth/$(VERSION); \ |
$(INSTALL_DATA) $$i $(datadir)/gforth/$(VERSION); \ |
| done |
done |
| gforth.ps: gforth.dvi |
gforth.ps: gforth.dvi |
| $(DVI2PS) gforth.dvi -o $@ |
$(DVI2PS) gforth.dvi -o $@ |
| |
|
| gforth.info*: gforth.info |
gforth.info*: gforth.texi |
| |
|
| gforth.info: gforth.texi |
|
| -$(MAKEINFO) gforth.texi |
-$(MAKEINFO) gforth.texi |
| |
|
| html: gforth.texi |
html: gforth.texi |