version 1.343, 2007/03/04 22:49:39
|
version 1.346, 2007/03/18 21:49:02
|
Line 252 FORTH_SRC = $(KERN_SRC) $(GFORTH_FI_SRC)
|
Line 252 FORTH_SRC = $(KERN_SRC) $(GFORTH_FI_SRC)
|
envos.dos envos.os2 etags.fs fft.fs filedump.fs fi2c.fs \ |
envos.dos envos.os2 etags.fs fft.fs filedump.fs fi2c.fs \ |
fsl-util.4th glosgen.fs gray.fs httpd.fs proxy.fs \ |
fsl-util.4th glosgen.fs gray.fs httpd.fs proxy.fs \ |
make-app.fs doc/makedoc.fs \ |
make-app.fs doc/makedoc.fs \ |
locate.fs more.fs other.fs prims2x.fs random.fs \ |
locate.fs more.fs onebench.fs other.fs prims2x.fs random.fs \ |
regexp.fs sokoban.fs string.fs table.fs tags.fs \ |
regexp.fs sokoban.fs string.fs table.fs tags.fs \ |
tt.fs \ |
tt.fs \ |
unbuffer.fs wordsets.fs xwords.fs \ |
unbuffer.fs wordsets.fs xwords.fs \ |
Line 299 ARCHS = \
|
Line 299 ARCHS = \
|
arch/power/_sync_cache_range.c \ |
arch/power/_sync_cache_range.c \ |
arch/alpha/machine.h \ |
arch/alpha/machine.h \ |
arch/arm/machine.h \ |
arch/arm/machine.h \ |
|
arch/arm/cacheflush0.c \ |
|
arch/arm/cacheflush1.c \ |
|
arch/arm/cacheflush2.c \ |
arch/ia64/machine.h \ |
arch/ia64/machine.h \ |
arch/ia64/flush_icache_block.c \ |
arch/ia64/flush_icache_block.c \ |
arch/amd64/machine.h \ |
arch/amd64/machine.h \ |
Line 641 check-nofast: gforth$(EXE) gforth.fi
|
Line 644 check-nofast: gforth$(EXE) gforth.fi
|
$(FORTHS) test/gforth-nofast.fs -e bye |
$(FORTHS) test/gforth-nofast.fs -e bye |
|
|
test/primtest.fi: test/primtest.fs mach32l.fs cross.fs |
test/primtest.fi: test/primtest.fs mach32l.fs cross.fs |
$(FORTHB) -e 's" mach32b.fs"' $(srcdir)/test/primtest.fs -e "save-cross $@ $(bindir)/gforth-$(VERSION) bye" |
$(FORTHB) -e 's" mach32l.fs"' $(srcdir)/test/primtest.fs -e "save-cross $@ $(bindir)/gforth-$(VERSION) bye" |
|
|
primtest: gforth gforth-native test/primtest.fi FORCE |
primtest: gforth gforth-native test/primtest.fi FORCE |
(echo rs|ENVVAR=bla ./gforth -i test/primtest.fi) && (echo rs|ENVVAR=bla ./gforth-native -i test/primtest.fi); echo $$? |
(echo rs|ENVVAR=bla ./gforth -i test/primtest.fi) && (echo rs|ENVVAR=bla ./gforth-native -i test/primtest.fi); echo $$? |
Line 653 bench: gforth-fast$(EXE) gforth.fi
|
Line 656 bench: gforth-fast$(EXE) gforth.fi
|
time $(FORTH_FAST) matrix.fs -e "main bye" |
time $(FORTH_FAST) matrix.fs -e "main bye" |
time $(FORTH_FAST) fib.fs -e "main bye" |
time $(FORTH_FAST) fib.fs -e "main bye" |
|
|
onebench: |
onebench one-bench: |
@echo 'sieve bubble matrix fib' |
$(FORTH_FAST) onebench.fs |
@echo -n " "`\time 2>&1 -f "%U" $(FORTH_FAST) siev.fs -e "main bye"` |
|
@echo -n " "`\time 2>&1 -f "%U" $(FORTH_FAST) -e "warnings off" bubble.fs -e "main bye"` |
all-bench allbench: gforth-fast$(EXE) gforth$(EXE) gforth-itc$(EXE) gforth-ditc$(EXE) gforth.fi |
@echo -n " "`\time 2>&1 -f "%U" $(FORTH_FAST) matrix.fs -e "main bye"` |
./gforth-fast --dynamic onebench.fs |
@echo " "`\time 2>&1 -f "%U" $(FORTH_FAST) fib.fs -e "main bye"` |
./gforth-fast --no-dynamic onebench.fs |
|
./gforth --dynamic onebench.fs |
all-bench: gforth-fast$(EXE) gforth$(EXE) gforth-itc$(EXE) gforth-ditc$(EXE) gforth.fi |
./gforth --no-dynamic onebench.fs |
@echo "*** gforth-fast dynamic:" |
./gforth-itc onebench.fs |
@$(MAKE) onebench ENGINE_FAST="./gforth-fast --dynamic" |
./gforth-ditc onebench.fs |
@echo "*** gforth-fast not dynamic:" |
|
@$(MAKE) onebench ENGINE_FAST="./gforth-fast --no-dynamic" |
|
@echo "*** gforth dynamic:" |
|
@$(MAKE) onebench ENGINE_FAST="./gforth --dynamic" |
|
@echo "*** gforth not dynamic:" |
|
@$(MAKE) onebench ENGINE_FAST="./gforth --no-dynamic" |
|
@echo "*** gforth-itc:" |
|
@$(MAKE) onebench ENGINE_FAST=./gforth-itc |
|
@echo "*** gforth-ditc:" |
|
@$(MAKE) onebench ENGINE_FAST=./gforth-ditc |
|
|
|
# ------------- Make forth images |
# ------------- Make forth images |
|
|
Line 801 gforth-prof$(EXE): engines
|
Line 794 gforth-prof$(EXE): engines
|
|
|
gforths: $(ENGINES) $(ENGINES_FAST) |
gforths: $(ENGINES) $(ENGINES_FAST) |
|
|
engines: FORCE $(FORTH_GEN_ENGINE) engine/Makefile |
engines: FORCE $(FORTH_GEN_ENGINE) engine/Makefile engine/config.h |
cd engine && $(MAKE) $(ENGINES) |
cd engine && $(MAKE) $(ENGINES) |
|
|
engines-fast: FORCE $(FORTH_GEN_ENGINE_FAST) engine/Makefile |
engines-fast: FORCE $(FORTH_GEN_ENGINE_FAST) engine/Makefile engine/config.h |
cd engine && $(MAKE) $(ENGINES_FAST) |
cd engine && $(MAKE) $(ENGINES_FAST) |
|
|
# ------------- additional C primitives |
# ------------- additional C primitives |