| LDFLAGS = $(DEBUGFLAG) $(XLDFLAGS) $(GCCLDFLAGS) |
LDFLAGS = $(DEBUGFLAG) $(XLDFLAGS) $(GCCLDFLAGS) |
| LDLIBS = @LIBS@ |
LDLIBS = @LIBS@ |
| |
|
| |
VPATH = @srcdir@ |
| prefix = @prefix@ |
prefix = @prefix@ |
| exec_prefix = @exec_prefix@ |
exec_prefix = @exec_prefix@ |
| srcdir = @srcdir@ |
srcdir = @srcdir@ |
| #read-only architecture-dependent non-ascii files |
#read-only architecture-dependent non-ascii files |
| libdir = $(prefix)/lib |
libdir = $(prefix)/lib |
| infodir = $(prefix)/info |
infodir = $(prefix)/info |
| mandir = $(prefix)/man/man1 |
mandir = $(prefix)/man |
| |
man1dir= $(mandir)/man1 |
| |
man1ext= .1 |
| |
#older emacses have their site-lisp in $(libdir)/emacs/ |
| |
emacssitelispdir=$(datadir)/emacs/site-lisp |
| |
|
| INCLUDES = forth.h threading.h io.h io-dos.h config.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 = \ |
| errore.fs kernal.fs version.fs extend.fs tools.fs toolsext.fs |
add.fs \ |
| |
aliases.fs \ |
| GFORTH_FI_SRC = startup.fs glocals.fs search-order.fs hash.fs float.fs \ |
cross.fs \ |
| debugging.fs environ.fs wordinfo.fs look.fs vt100.fs see.fs \ |
errore.fs \ |
| bufio.fs debug.fs history.fs vt100key.fs assert.fs source.fs \ |
extend.fs \ |
| blocks.fs struct.fs dumpimage.fs |
kernal.fs \ |
| |
main.fs \ |
| FORTH_SRC = anslocal.fs add.fs assert.fs ansi.fs answords.fs blocks.fs bufio.fs checkans.fs \ |
search-order.fs \ |
| code.fs colorize.fs cross.fs debug.fs debugging.fs doskey.fs ds2texi.fs \ |
tools.fs \ |
| dumpimage.fs environ.fs errore.fs etags.fs extend.fs filedump.fs \ |
toolsext.fs \ |
| float.fs glocals.fs glosgen.fs gray.fs hash.fs history.fs \ |
vars.fs \ |
| kernal.fs locals-test.fs look.fs main.fs makedoc.fs \ |
version.fs |
| |
|
| |
GFORTH_FI_SRC = \ |
| |
assert.fs \ |
| |
blocks.fs \ |
| |
bufio.fs \ |
| |
debug.fs \ |
| |
debugging.fs \ |
| |
dumpimage.fs \ |
| |
environ.fs \ |
| |
float.fs \ |
| |
glocals.fs \ |
| |
hash.fs \ |
| |
history.fs \ |
| |
look.fs \ |
| |
search-order.fs \ |
| |
see.fs \ |
| |
source.fs \ |
| |
startup.fs \ |
| |
struct.fs \ |
| |
stuff.fs \ |
| |
termsize.fs \ |
| |
vt100.fs \ |
| |
vt100key.fs \ |
| |
wordinfo.fs |
| |
|
| |
FORTH_SRC = $(KERN_SRC) $(GFORTH_FI_SRC) \ |
| |
anslocal.fs ansi.fs answords.fs \ |
| |
checkans.fs \ |
| |
code.fs colorize.fs \ |
| |
doskey.fs ds2texi.fs \ |
| |
etags.fs filedump.fs \ |
| |
glosgen.fs gray.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 source.fs \ |
more.fs other.fs prims2x.fs random.fs \ |
| startup.fs site-init.fs struct.fs tools.fs toolsext.fs tt.fs vars.fs \ |
sieve.fs \ |
| vt100.fs vt100key.fs wordinfo.fs wordsets.fs \ |
site-init.fs \ |
| |
tt.fs sokoban.fs \ |
| |
wordsets.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 |
| |
|
| $(INSTALL_DATA) kernal.fi $(libdir)/gforth/$(VERSION) |
$(INSTALL_DATA) kernal.fi $(libdir)/gforth/$(VERSION) |
| $(FORTHK) startup.fs dumpimage.fs -e "savesystem $(libdir)/gforth/$(VERSION)/gforth.fi bye" #gforth.fi contains some path names |
$(FORTHK) startup.fs dumpimage.fs -e "savesystem $(libdir)/gforth/$(VERSION)/gforth.fi bye" #gforth.fi contains some path names |
| sed s:$(srcdir)/:$(datadir)/gforth/$(VERSION): gforth.TAGS >TAGS; $(INSTALL_DATA) TAGS $(datadir)/gforth/$(VERSION) |
sed s:$(srcdir)/:$(datadir)/gforth/$(VERSION): gforth.TAGS >TAGS; $(INSTALL_DATA) TAGS $(datadir)/gforth/$(VERSION) |
| |
if test -d $(emacssitelispdir); then \ |
| |
$(INSTALL_DATA) gforth.el $(emacssitelispdir); \ |
| |
else ; \ |
| |
echo "please install gforth.el in your .../emacs/site-lisp directory"; \ |
| |
fi |
| |
|
| #deinstall all files specific to this version of gforth |
#deinstall all files specific to this version of gforth |
| #to uninstall version foo, type `make uninstall VERSION=foo' |
#to uninstall version foo, type `make uninstall VERSION=foo' |