version 1.50, 1995/12/23 16:21:55
|
version 1.51, 1995/12/26 17:35:34
|
Line 26
|
Line 26
|
#To do: |
#To do: |
#use $(srcdir) to make compilation in a non-srcdir possible |
#use $(srcdir) to make compilation in a non-srcdir possible |
|
|
VERSION =0.1beta-pl1#gforth version |
VERSION =0.2.0#gforth version |
SHELL = /bin/sh |
SHELL = /bin/sh |
RM = rm |
RM = rm |
CP = cp |
CP = cp |
Line 70 infodir = $(prefix)/info
|
Line 70 infodir = $(prefix)/info
|
mandir = $(prefix)/man/man1 |
mandir = $(prefix)/man/man1 |
|
|
|
|
INCLUDES = forth.h threading.h io.h io-dos.h |
INCLUDES = forth.h threading.h io.h io-dos.h config.h |
|
|
KERN_SRC = main.fs search-order.fs cross.fs aliases.fs vars.fs add.fs \ |
KERN_SRC = main.fs search-order.fs cross.fs aliases.fs vars.fs add.fs \ |
errore.fs kernal.fs version.fs extend.fs tools.fs toolsext.fs |
errore.fs kernal.fs version.fs extend.fs tools.fs toolsext.fs |
Line 92 FORTH_SRC = anslocal.fs add.fs assert.fs
|
Line 92 FORTH_SRC = anslocal.fs add.fs assert.fs
|
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 = CVS Makefile.in configure.in configure config.sub config.guess \ |
SOURCES = CVS Makefile.in configure.in configure config.sub config.guess \ |
|
acconfig.h config.h.in \ |
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 \ |
Line 162 clean: mostlyclean
|
Line 163 clean: mostlyclean
|
-$(RM) -rf $(GEN) *.o |
-$(RM) -rf $(GEN) *.o |
|
|
distclean: clean |
distclean: clean |
-$(RM) machine.h kernal.fi config.cache config.log config.status Makefile |
-$(RM) machine.h kernal.fi config.cache config.log config.status config.h Makefile |
|
|
realclean: distclean |
realclean: distclean |
-$(RM) $(GEN_PRECIOUS) |
-$(RM) $(GEN_PRECIOUS) |
Line 369 html: gforth.texi
|
Line 370 html: gforth.texi
|
|
|
# For an explanation of the following Makefile rules, see node |
# For an explanation of the following Makefile rules, see node |
# `Automatic Remaking' in GNU Autoconf documentation. |
# `Automatic Remaking' in GNU Autoconf documentation. |
|
${srcdir}/configure: configure.in |
|
cd ${srcdir} && autoconf |
|
|
|
# autoheader might not change config.h.in, so touch a stamp file. |
|
${srcdir}/config.h.in: stamp-h.in |
|
${srcdir}/stamp-h.in: configure.in acconfig.h |
|
cd ${srcdir} && autoheader |
|
echo timestamp > ${srcdir}/stamp-h.in |
|
|
|
config.h: stamp-h |
|
stamp-h: config.h.in config.status |
|
CONFIG_FILES=$@ CONFIG_HEADERS=config.h ./config.status |
|
echo > stamp-h |
Makefile: Makefile.in config.status |
Makefile: Makefile.in config.status |
CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status |
CONFIG_FILES=$@ CONFIG_HEADERS=config.h ./config.status |
|
|
config.status: configure |
config.status: configure |
./config.status --recheck |
./config.status --recheck |
configure: configure.in |
|
cd $(srcdir) && autoconf |
|
|
|
|
|
|
#create files for DOS, because DOS cannot do it itself |
makefile.dos: mkdosmf.sed Makefile.in |
makefile.dos: mkdosmf.sed Makefile.in |
sed -f mkdosmf.sed <Makefile.in >makefile.dos |
sed -f mkdosmf.sed <Makefile.in >makefile.dos |
|
|
Line 385 history.dos: history.fs Makefile.in
|
Line 400 history.dos: history.fs Makefile.in
|
startup.dos: startup.fs Makefile.in |
startup.dos: startup.fs Makefile.in |
sed -e "s/\\\\ include doskey/include doskey/g" \ |
sed -e "s/\\\\ include doskey/include doskey/g" \ |
-e "s/include vt100key/\\\\ include vt100key/g" <startup.fs >startup.dos |
-e "s/include vt100key/\\\\ include vt100key/g" <startup.fs >startup.dos |
|
|