| LN_S = @LN_S@ |
LN_S = @LN_S@ |
| M4 = @M4@ |
M4 = @M4@ |
| GCC = @CC@ |
GCC = @CC@ |
| EMACS = emacs |
EMACS = @EMACS@ |
| LIBTOOL = @GNU_LIBTOOL@ |
LIBTOOL = @GNU_LIBTOOL@ |
| PREFORTH = ./preforth -p ".$(PATHSEP)~+$(PATHSEP)$(srcdir)" |
PREFORTH = ./preforth -p ".$(PATHSEP)~+$(PATHSEP)$(srcdir)" |
| CC = $(GCC) |
CC = $(GCC) |
| |
|
| ENGINES_FAST = @NO_EC@ gforth-fast$(OPT)$(EC)$(EXE) #gforth-native$(OPT)$(EC)$(EXE) |
ENGINES_FAST = @NO_EC@ gforth-fast$(OPT)$(EC)$(EXE) #gforth-native$(OPT)$(EC)$(EXE) |
| |
|
| GEN = $(ENGINES) $(ENGINES_FAST) gforth.elc |
GEN = $(ENGINES) $(ENGINES_FAST) @gforth_elc@ |
| |
|
| # things that need a working forth system to be generated |
# things that need a working forth system to be generated |
| FORTH_GEN_ENGINE=engine/prim.i engine/prim_lab.i engine/prim_names.i \ |
FORTH_GEN_ENGINE=engine/prim.i engine/prim_lab.i engine/prim_names.i \ |
| done |
done |
| $(INSTALL_DATA) $(kernel_fi) $(DESTDIR)$(datadir)/gforth/$(VERSION) |
$(INSTALL_DATA) $(kernel_fi) $(DESTDIR)$(datadir)/gforth/$(VERSION) |
| @if test -d "$(DESTDIR)$(emacssitelispdir)"; then \ |
@if test -d "$(DESTDIR)$(emacssitelispdir)"; then \ |
| $(INSTALL_DATA) gforth.el $(DESTDIR)$(emacssitelispdir); \ |
for i in gforth.el @gforth_elc@; do \ |
| $(INSTALL_DATA) gforth.elc $(DESTDIR)$(emacssitelispdir); \ |
$(INSTALL_DATA) $$i $(DESTDIR)$(emacssitelispdir); \ |
| |
done; \ |
| else \ |
else \ |
| echo '>>>>>Please install gforth.{el,elc} in your .../emacs/site-lisp directory'; \ |
echo '>>>>>Please install gforth.{el,elc} in your .../emacs/site-lisp directory'; \ |
| fi |
fi |