version 1.436, 2008/11/09 14:35:18
|
version 1.445, 2009/03/17 17:40:49
|
Line 82 BUILDFORTH = $(ENGINE) --die-on-signal -
|
Line 82 BUILDFORTH = $(ENGINE) --die-on-signal -
|
# the forth system plus flags we use to build |
# the forth system plus flags we use to build |
FORTHB = $(BUILDFORTH) exboot.fs -e 'fpath= .|~+|$(srcdir)' |
FORTHB = $(BUILDFORTH) exboot.fs -e 'fpath= .|~+|$(srcdir)' |
# the Forth system for running prims2x.fs |
# the Forth system for running prims2x.fs |
FORTHP = $(FORTH) |
#FORTHP = $(FORTH) |
ENGINE_FAST = ./gforth-fast |
ENGINE_FAST = ./gforth-fast |
FORTH_FAST = $(ENGINE_FAST) $(FORTH_ARGS) |
FORTH_FAST = $(ENGINE_FAST) $(FORTH_ARGS) |
FORTHKFLAGS= --die-on-signal -p ".$(PATHSEP)~+$(PATHSEP)$(srcdir)" -i $(kernel_fi) |
FORTHKFLAGS= --die-on-signal -p ".$(PATHSEP)~+$(PATHSEP)$(srcdir)" -i $(kernel_fi) |
Line 143 siteforthdir=$(datadir)/gforth/site-fort
|
Line 143 siteforthdir=$(datadir)/gforth/site-fort
|
PROFOBJS = @PROFOBJS@ |
PROFOBJS = @PROFOBJS@ |
PROFEXES = @PROFEXES@ |
PROFEXES = @PROFEXES@ |
|
|
CVSDIRS = CVS engine/CVS kernel/CVS doc/CVS asm/CVS ec/CVS test/CVS \ |
INSTALLDIRS = kernel doc asm ec test \ |
compat/CVS unix/CVS \ |
compat unix \ |
arch/CVS arch/generic/CVS arch/m68k/CVS arch/mips/CVS \ |
arch arch/generic arch/m68k arch/mips \ |
arch/386/CVS arch/hppa/CVS arch/sparc/CVS arch/power/CVS \ |
arch/386 arch/hppa arch/sparc arch/power \ |
arch/alpha/CVS arch/4stack/CVS arch/misc/CVS arch/6502/CVS \ |
arch/alpha arch/4stack arch/misc arch/6502 \ |
arch/8086/CVS arch/avr/CVS arch/c165/CVS arch/h8/CVS \ |
arch/8086 arch/avr arch/c165 arch/h8 \ |
arch/shboom/CVS arch/sharc/CVS arch/ia64/CVS arch/amd64/CVS \ |
arch/shboom arch/sharc arch/ia64 arch/amd64 \ |
arch/arm/CVS arch/r8c/CVS |
arch/arm arch/r8c |
|
|
INCLUDES = engine/forth.h engine/threaded.h engine/io.h engine/longlong.h |
INCLUDES = engine/forth.h engine/threaded.h engine/io.h engine/longlong.h |
|
|
Line 355 ARCHS = \
|
Line 355 ARCHS = \
|
arch/sharc/g21k-3.3.4-bp1.diff \ |
arch/sharc/g21k-3.3.4-bp1.diff \ |
arch/r8c/asm.fs \ |
arch/r8c/asm.fs \ |
arch/r8c/mach.fs \ |
arch/r8c/mach.fs \ |
arch/r8c/prim.fs |
arch/r8c/errors.fs \ |
|
arch/r8c/prim.fs \ |
|
arch/r8c/asm-test.fs \ |
|
arch/r8c/errors.fs \ |
|
arch/r8c/lauflicht.fs \ |
|
arch/r8c/tasker.fs \ |
|
arch/r8c/terminal.fs \ |
|
arch/sharc/unistd.h |
|
|
#not included in distribution until distribution terms are included: |
#not included in distribution until distribution terms are included: |
ARCHS_NO_DIST = \ |
ARCHS_NO_DIST = \ |
Line 372 ARCHS_NO_DIST = \
|
Line 379 ARCHS_NO_DIST = \
|
arch/c165/mach.fs \ |
arch/c165/mach.fs \ |
arch/c165/prim.fs \ |
arch/c165/prim.fs \ |
arch/h8/asm.fs \ |
arch/h8/asm.fs \ |
arch/r8c/asm-test.fs \ |
arch/r8c/tt.fs |
arch/r8c/errors.fs \ |
|
arch/r8c/lauflicht.fs \ |
|
arch/r8c/tasker.fs \ |
|
arch/r8c/terminal.fs \ |
|
arch/r8c/tt.fs \ |
|
arch/sharc/unistd.h |
|
|
|
VMGEN_EX = vmgen-ex/CVS vmgen-ex/Makefile vmgen-ex/README vmgen-ex/disasm.c \ |
VMGEN_EX = vmgen-ex/Makefile vmgen-ex/README vmgen-ex/disasm.c \ |
vmgen-ex/engine.c vmgen-ex/fib.mini \ |
vmgen-ex/engine.c vmgen-ex/fib.mini \ |
vmgen-ex/mini-inst.vmg vmgen-ex/mini-super.vmg vmgen-ex/mini.h \ |
vmgen-ex/mini-inst.vmg vmgen-ex/mini-super.vmg vmgen-ex/mini.h \ |
vmgen-ex/mini.l vmgen-ex/mini.y vmgen-ex/peephole-blacklist \ |
vmgen-ex/mini.l vmgen-ex/mini.y vmgen-ex/peephole-blacklist \ |
Line 403 ENGINE_SOURCES = engine/Makefile.in engi
|
Line 404 ENGINE_SOURCES = engine/Makefile.in engi
|
engine/fnmatch.h engine/fnmatch.c \ |
engine/fnmatch.h engine/fnmatch.c \ |
engine/makefile.dos engine/makefile.os2 |
engine/makefile.dos engine/makefile.os2 |
|
|
SOURCES = $(CVSDIRS) $(ENGINE_SOURCES) compat Makefile.in Makedist.in \ |
SOURCES = $(ENGINE_SOURCES) compat Makefile.in Makedist.in \ |
gforthmi.in vmgen.in preforth.in gfgen README.vmgen NEWS.vmgen \ |
gforthmi.in vmgen.in preforth.in gfgen README.vmgen NEWS.vmgen \ |
autogen.sh configure.in configure config.sub config.guess \ |
autogen.sh configure.in configure config.sub config.guess \ |
elisp-comp missing stamp-h.in envos.fs.in \ |
elisp-comp missing stamp-h.in envos.fs.in \ |
Line 478 all: kernel/version.fs more check
|
Line 479 all: kernel/version.fs more check
|
# use this dependency for phony targets just as mostlyclean,... |
# use this dependency for phony targets just as mostlyclean,... |
FORCE: ; |
FORCE: ; |
|
|
|
#targets of failed commands should be deleted: |
|
.DELETE_ON_ERROR: |
|
|
#this rule avoids remaking everything after minor changes in Makefile.in |
#this rule avoids remaking everything after minor changes in Makefile.in |
version: Makefile.in configure.in |
version: Makefile.in configure.in |
if test -r $@ && test x'$(VERSION)' = x`cat $@` ; then true ; else echo $(VERSION) > $@ ; fi |
if test -r $@ && test x'$(VERSION)' = x`cat $@` ; then true ; else echo $(VERSION) > $@ ; fi |
Line 639 installdirs: mkinstalldirs
|
Line 643 installdirs: mkinstalldirs
|
for i in $(bindir) $(man1dir) $(infodir) $(libdir)/gforth/$(VERSION) $(datadir)/gforth/$(VERSION) $(libdir)/gforth/site-forth $(siteforthdir) $(includedir)/gforth/$(VERSION) $(libccdir); do \ |
for i in $(bindir) $(man1dir) $(infodir) $(libdir)/gforth/$(VERSION) $(datadir)/gforth/$(VERSION) $(libdir)/gforth/site-forth $(siteforthdir) $(includedir)/gforth/$(VERSION) $(libccdir); do \ |
$(srcdir)/mkinstalldirs $(DESTDIR)$$i; \ |
$(srcdir)/mkinstalldirs $(DESTDIR)$$i; \ |
done |
done |
for i in $(CVSDIRS); do \ |
# |
$(srcdir)/mkinstalldirs $(DESTDIR)$(datadir)/gforth/$(VERSION)/`dirname $$i`; \ |
for i in $(INSTALLDIRS); do \ |
|
$(srcdir)/mkinstalldirs $(DESTDIR)$(datadir)/gforth/$(VERSION)/$$i; \ |
done |
done |
$(RM) -rf $(DESTDIR)$(datadir)/gforth/$(VERSION)/engine |
|
|
|
#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' |
Line 1008 config.status: configure
|
Line 1012 config.status: configure
|
./config.status --recheck |
./config.status --recheck |
|
|
#create files for DOS, because DOS cannot do it itself |
#create files for DOS, because DOS cannot do it itself |
makefile.dos engine/makefile.dos: mkdosmf.sed Makefile.in engine/Makefile.in |
makefile.dos: mkdosmf.sed Makefile.in |
sed -f mkdosmf.sed <Makefile.in >makefile.dos |
sed -f mkdosmf.sed <Makefile.in >makefile.dos |
|
|
|
engine/makefile.dos: mkdosmf.sed engine/Makefile.in |
sed -f mkdosmf.sed <engine/Makefile.in >engine/makefile.dos |
sed -f mkdosmf.sed <engine/Makefile.in >engine/makefile.dos |
|
|
makefile.os2 engine/makefile.os2: mkos2mf.sed Makefile.in engine/Makefile.in |
makefile.os2: mkos2mf.sed Makefile.in |
sed -f mkos2mf.sed <Makefile.in >makefile.os2 |
sed -f mkos2mf.sed <Makefile.in >makefile.os2 |
|
echo '%.o: %.c' >>makefile.os2 |
|
echo ' $$(GCC) $$(CFLAGS) $$(CPPFLAGS) -c $$<' >>makefile.os2 |
|
|
|
engine/makefile.os2: mkos2mf.sed engine/Makefile.in |
sed -f mkos2mf.sed <engine/Makefile.in >engine/makefile.os2 |
sed -f mkos2mf.sed <engine/Makefile.in >engine/makefile.os2 |
echo '%.o: %.c' >>makefile.os2 |
echo '%.o: %.c' >>engine/makefile.os2 |
echo ' $$(GCC) $$(CFLAGS) $$(CPPFLAGS) -c $$<' >>makefile.os2 |
echo ' $$(GCC) $$(CFLAGS) $$(CPPFLAGS) -c $$<' >>engine/makefile.os2 |
echo '%.o: %.c' >>engine/makefile.os2 |
|
echo ' $$(GCC) $$(CFLAGS) $$(CPPFLAGS) -c $$<' >>engine/makefile.os2 |
|