version 1.252, 2003/01/30 00:07:46
|
version 1.253, 2003/02/01 14:28:06
|
Line 74 FORTHS = $(ENGINE) $(FORTHS_ARGS)
|
Line 74 FORTHS = $(ENGINE) $(FORTHS_ARGS)
|
# possible to override this variable at the command line for an initial build (jaw) |
# possible to override this variable at the command line for an initial build (jaw) |
BUILDFORTH = $(ENGINE) --die-on-signal -m 4M -p ".$(PATHSEP)~+$(PATHSEP)$(srcdir)" -i $(kernel_fi) |
BUILDFORTH = $(ENGINE) --die-on-signal -m 4M -p ".$(PATHSEP)~+$(PATHSEP)$(srcdir)" -i $(kernel_fi) |
# the forth system plus flags we use to build |
# the forth system plus flags we use to build |
FORTHB = $(BUILDFORTH) -e 'fpath= .|~+|$(srcdir)' |
FORTHB = $(BUILDFORTH) -e 'fpath= .|~+|$(srcdir)' except.fs |
# the Forth system for running prims2x.fs |
# the Forth system for running prims2x.fs |
FORTHP = $(FORTH) |
FORTHP = $(FORTH) |
ENGINE_FAST = $(ENGINE)-fast |
ENGINE_FAST = $(ENGINE)-fast |
Line 622 kernl64l.fi-: $(KERN_DEPS) mach64l.fs
|
Line 622 kernl64l.fi-: $(KERN_DEPS) mach64l.fs
|
kernl64b.fi-: $(KERN_DEPS) mach64b.fs |
kernl64b.fi-: $(KERN_DEPS) mach64b.fs |
$(FORTHB) -e 's" mach64b.fs"' $(srcdir)/kernel/main.fs -e "save-cross kernl64b.fi- $(bindir)/gforth-$(VERSION) bye" |
$(FORTHB) -e 's" mach64b.fs"' $(srcdir)/kernel/main.fs -e "save-cross kernl64b.fi- $(bindir)/gforth-$(VERSION) bye" |
|
|
kernl-%.fi: arch/%/mach.fs arch/%/prim.fs arch/%/asm.fs $(KERN_SRC) kernel/version.fs $(FORTH_GEN0) |
#Solaris make does not like that: |
$(FORTHB) -e 's" $<"' $(srcdir)/kernel/main.fs -e "save-cross $@- $(bindir)/gforth-$(VERSION) bye" |
#kernl-%.fi: arch/%/mach.fs arch/%/prim.fs arch/%/asm.fs $(KERN_SRC) kernel/version.fs $(FORTH_GEN0) |
if [ -f `echo $< | sed s/fs/sh/` ]; \ |
# $(FORTHB) -e 's" $<"' $(srcdir)/kernel/main.fs -e "save-cross $@- $(bindir)/gforth-$(VERSION) bye" |
then sh `echo $< | sed s/fs/sh/` $@; \ |
# if [ -f `echo $< | sed s/fs/sh/` ]; \ |
else $(CP) $@- $@; \ |
# then sh `echo $< | sed s/fs/sh/` $@; \ |
fi |
# else $(CP) $@- $@; \ |
|
# fi |
|
|
#SunOS make does not like that |
#SunOS make does not like that |
#arch/%/mach.fs: arch/%/prim.fs arch/%/asm.fs |
#arch/%/mach.fs: arch/%/prim.fs arch/%/asm.fs |