Diff for /gforth/Makefile.in between versions 1.282 and 1.299

version 1.282, 2003/09/15 16:08:43 version 1.299, 2004/11/11 20:13:53
Line 58  MV = mv Line 58  MV = mv
 TAR     = tar cf -  TAR     = tar cf -
 INSTALL = @INSTALL@  INSTALL = @INSTALL@
 INSTALL_PROGRAM = @INSTALL_PROGRAM@ -s  INSTALL_PROGRAM = @INSTALL_PROGRAM@ -s
 INSTALL_SCRIPT = @INSTALL_PROGRAM@  INSTALL_SCRIPT = @INSTALL_SCRIPT@
 INSTALL_DATA = @INSTALL_DATA@  INSTALL_DATA = @INSTALL_DATA@
 INSTALL_INFO = @INSTALL_INFO@  INSTALL_INFO = @INSTALL_INFO@
 LN_S    = @LN_S@  LN_S    = @LN_S@
Line 76  FORTHS = $(ENGINE) $(FORTHS_ARGS) Line 76  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 3 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 = $(ENGINE)-fast  ENGINE_FAST = $(ENGINE)-fast
Line 86  FORTHK = $(ENGINE) $(FORTHKFLAGS) Line 86  FORTHK = $(ENGINE) $(FORTHKFLAGS)
 #FORTHP = $(ENGINE) --die-on-signal -i ./$(kernel_fi)  #FORTHP = $(ENGINE) --die-on-signal -i ./$(kernel_fi)
 #the "-2 image-included-files +!" undoes the change to image-included-files  #the "-2 image-included-files +!" undoes the change to image-included-files
 # in exboot.fs  # in exboot.fs
 STARTUP = -e 3 exboot.fs startup.fs @asm_fs@ @disasm_fs@  STARTUP = exboot.fs startup.fs @asm_fs@ @disasm_fs@
 STRIP   = strip  STRIP   = strip
 TEXI2DVI = texi2dvi -e  TEXI2DVI = texi2dvi -e
 TEXI2PDF = texi2dvi --pdf -e  TEXI2PDF = texi2dvi --pdf -e
Line 202  GFORTH_FI_SRC = \ Line 202  GFORTH_FI_SRC = \
         code.fs \          code.fs \
         debug.fs \          debug.fs \
         debugs.fs \          debugs.fs \
           dis-gdb.fs \
         ekey.fs \          ekey.fs \
         savesys.fs \          savesys.fs \
         environ.fs \          environ.fs \
Line 237  GFORTH_FI_SRC = \ Line 238  GFORTH_FI_SRC = \
 FORTH_SRC = $(KERN_SRC) $(GFORTH_FI_SRC) $(EC_SRC) \  FORTH_SRC = $(KERN_SRC) $(GFORTH_FI_SRC) $(EC_SRC) \
         ans-report.fs ansi.fs answords.fs \          ans-report.fs ansi.fs answords.fs \
         colorize.fs comp-i.fs \          colorize.fs comp-i.fs \
         dosekey.fs doskey.fs ds2texi.fs \          depth-changes.fs dosekey.fs doskey.fs ds2texi.fs \
         envos.fs envos.dos envos.os2 etags.fs filedump.fs fi2c.fs \          envos.fs envos.dos envos.os2 etags.fs filedump.fs fi2c.fs \
         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 other.fs prims2x.fs random.fs \
         sokoban.fs string.fs table.fs tags.fs \          sokoban.fs string.fs table.fs tags.fs \
Line 248  FORTH_SRC = $(KERN_SRC) $(GFORTH_FI_SRC) Line 249  FORTH_SRC = $(KERN_SRC) $(GFORTH_FI_SRC)
         test/tester.fs test/coretest.fs test/postpone.fs test/dbltest.fs \          test/tester.fs test/coretest.fs test/postpone.fs test/dbltest.fs \
         test/string.fs test/float.fs test/gforth.fs \          test/string.fs test/float.fs test/gforth.fs \
         test/other.fs test/signals.fs test/checkans.fs \          test/other.fs test/signals.fs test/checkans.fs \
           test/primtest.fs \
         bubble.fs siev.fs matrix.fs fib.fs \          bubble.fs siev.fs matrix.fs fib.fs \
         oof.fs oofsampl.fs objects.fs objexamp.fs mini-oof.fs moof-exm.fs \          oof.fs oofsampl.fs objects.fs objexamp.fs mini-oof.fs moof-exm.fs \
         moofglos.fs fixpath.fs \          moofglos.fs fixpath.fs \
Line 295  ARCHS = \ Line 297  ARCHS = \
         arch/misc/README \          arch/misc/README \
         arch/misc/asm.fs \          arch/misc/asm.fs \
         arch/misc/mach.fs \          arch/misc/mach.fs \
           arch/misc/optcmove.fs \
         arch/misc/prim.fs \          arch/misc/prim.fs \
         arch/misc/sim.fs \          arch/misc/sim.fs \
         arch/misc/sokoban.fs \          arch/misc/sokoban.fs \
Line 341  VMGEN_EX = vmgen-ex/CVS vmgen-ex/Makefil Line 344  VMGEN_EX = vmgen-ex/CVS vmgen-ex/Makefil
 VMGEN_EX2 = $(VMGEN_EX:vmgen-ex/%=vmgen-ex2/%)  VMGEN_EX2 = $(VMGEN_EX:vmgen-ex/%=vmgen-ex2/%)
   
 SOURCES = $(CVSDIRS) compat Makefile.in Makedist.in engine/Makefile.in \  SOURCES = $(CVSDIRS) compat Makefile.in Makedist.in engine/Makefile.in \
         gforthmi.in vmgen.in README.vmgen NEWS.vmgen \          gforthmi.in vmgen.in gfgen README.vmgen NEWS.vmgen \
         configure.in configure config.sub config.guess elisp-comp missing \          configure.in configure config.sub config.guess elisp-comp missing \
         engine/config.h.in stamp-h.in \          engine/config.h.in stamp-h.in \
         iss.sh install-sh INSTALL INSTALL.BINDIST NEWS README ToDo BUGS \          iss.sh install-sh INSTALL INSTALL.BINDIST NEWS README ToDo BUGS \
Line 350  SOURCES = $(CVSDIRS) compat Makefile.in Line 353  SOURCES = $(CVSDIRS) compat Makefile.in
         doc/gforth.ds doc/texinfo.tex doc/gforth.1 doc/version.texi.in \          doc/gforth.ds doc/texinfo.tex doc/gforth.1 doc/version.texi.in \
         doc/vmgen.texi doc/fdl.texi doc/gpl.texi \          doc/vmgen.texi doc/fdl.texi doc/gpl.texi \
         gforth.el \          gforth.el \
         prim peeprules.vmg engine/engine.c engine/main.c \          prim cache0.vmg cache1.vmg peeprules.vmg \
           engine/engine.c engine/main.c \
         engine/io.c engine/support.c engine/signals.c \          engine/io.c engine/support.c engine/signals.c \
         $(ARCHS) \          $(ARCHS) \
         engine/profile.c \          engine/profile.c \
Line 372  SOURCES = $(CVSDIRS) compat Makefile.in Line 376  SOURCES = $(CVSDIRS) compat Makefile.in
   
 RCS_FILES =  ToDo model high-level  RCS_FILES =  ToDo model high-level
   
 ENGINES = gforth$(EXE) gforth-ditc$(EXE) gforth-fast$(EXE) gforth-itc$(EXE) $(PROFEXES) #gforth-native$(EXE)  ENGINES = gforth$(EXE) gforth-ditc$(EXE) gforth-itc$(EXE) $(PROFEXES)
   
 GEN = $(ENGINES) kernel/version.fs  ENGINES_FAST = gforth-fast$(EXE) gforth-native$(EXE) 
   
   GEN = $(ENGINES) $(ENGINES_FAST) kernel/version.fs
   
 # 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 \
         engine/prim_superend.i engine/profile.i \          engine/prim_superend.i engine/profile.i \
         engine/prim_num.i engine/prim_grp.i \          engine/prim_num.i engine/prim_grp.i \
         engine/costs.i engine/super2.i          engine/costs.i engine/super2.i
   FORTH_GEN_ENGINE_FAST= \
           engine/prim-fast.i engine/prim_lab-fast.i engine/prim_names-fast.i \
           engine/prim_superend-fast.i engine/profile-fast.i \
           engine/prim_num-fast.i engine/prim_grp-fast.i \
           engine/costs-fast.i engine/super2-fast.i
 FORTH_GEN_PRIMB = $(FORTH_GEN_ENGINE) kernel/aliases.fs kernel/prim.fs  FORTH_GEN_PRIMB = $(FORTH_GEN_ENGINE) kernel/aliases.fs kernel/prim.fs
 FORTH_GEN0 = prim.b $(FORTH_GEN_PRIMB)  FORTH_GEN0 = prim.b $(FORTH_GEN_PRIMB)
 FORTH_GEN =  $(FORTH_GEN0) @KERNEL@ gforth.fi  FORTH_GEN =  $(FORTH_GEN0) @KERNEL@ gforth.fi
Line 597  checkone test: gforth$(EXE) gforth.fi Line 608  checkone test: gforth$(EXE) gforth.fi
                   "c-flag on s\" prim.i\" out-filename 2! s\" $(srcdir)/prim.b\" ' output-c ' output-c-combined process-file bye"| \                    "c-flag on s\" prim.i\" out-filename 2! s\" $(srcdir)/prim.b\" ' output-c ' output-c-combined process-file bye"| \
                   tr -d '\015' | diff -c - $(srcdir)/engine/prim.i                    tr -d '\015' | diff -c - $(srcdir)/engine/prim.i
   
   test/primtest.fi: test/primtest.fs mach32l.fs cross.fs
                   $(FORTHB) -e 's" mach32l.fs"' $(srcdir)/test/primtest.fs -e "save-cross $@ $(bindir)/gforth-$(VERSION) bye"
   
   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 $$?
   
 bench:          gforth-fast$(EXE) gforth.fi  bench:          gforth-fast$(EXE) gforth.fi
                 @echo 'Each benchmark takes about 30s on a 486-66 (gcc-2.6.3 -DFORCE_REG)'                  @echo 'Each benchmark takes about 30s on a 486-66 (gcc-2.6.3 -DFORCE_REG)'
                 time $(FORTH_FAST) siev.fs -e "main bye"                  time $(FORTH_FAST) siev.fs -e "main bye"
Line 696  gforth.fi: $(kernel_fi) gforthmi gforth$ Line 713  gforth.fi: $(kernel_fi) gforthmi gforth$
   
 # ------------- Make c-engine  # ------------- Make c-engine
   
 prim.b:         prim peeprules.vmg  prim.b:         prim cache0.vmg
                 m4 -s $(srcdir)/prim >$@                  m4 -s $(srcdir)/prim >$@
                 sleep 1 #should make hpux-workaround unnecessary                  sleep 1 #should make hpux-workaround unnecessary
   
 engine/prim.i:          prim.b prims2x.fs  prim-fast.b:    prim cache1.vmg peeprules.vmg
                 $(FORTHP) prims2x.fs -e "c-flag on s\" prim.i\" save-mem out-filename 2! s\" prim.b\" ' output-c ' output-c-combined process-file bye" >$@-                  m4 -DM4_ENGINE_FAST -s $(srcdir)/prim >$@
                 $(CP) $@- $@                  sleep 1 #should make hpux-workaround unnecessary
                 $(RM) $@-  
   
 engine/prim_lab.i:      prim.b prims2x.fs  
                 $(FORTHP) prims2x.fs -e "c-flag on s\" prim.b\" ' output-label dup process-file bye" >$@-  
                 $(CP) $@- $@  
                 $(RM) $@-  
   
 engine/prim_grp.i:      prim.b prims2x.fs  
                 $(FORTHP) prims2x.fs -e "c-flag on s\" prim.b\" ' noop dup process-file bye" >$@-  
                 $(CP) $@- $@  
                 $(RM) $@-  
   
 engine/prim_names.i:    prim.b prims2x.fs  
                 $(FORTHP) prims2x.fs -e "c-flag on s\" prim.b\" ' output-forthname dup process-file bye" >$@-  
                 $(CP) $@- $@  
                 $(RM) $@-  
   
 engine/prim_superend.i: prim.b prims2x.fs  
                 $(FORTHP) prims2x.fs -e "c-flag on s\" prim.b\" ' output-superend dup process-file bye" >$@-  
                 $(CP) $@- $@  
                 $(RM) $@-  
   
 engine/peephole.i:      prim.b prims2x.fs  
                 $(FORTHP) prims2x.fs -e "c-flag on s\" prim.b\" ' noop ' output-peephole process-file bye" >$@-  
                 $(CP) $@- $@  
                 $(RM) $@-  
   
 engine/profile.i:       prim.b prims2x.fs  
                 $(FORTHP) prims2x.fs -e "c-flag on s\" prim.b\" ' output-profile ' output-profile-combined process-file bye" >$@-  
                 $(CP) $@- $@  
                 $(RM) $@-  
   
 engine/super2.i:        prim.b prims2x.fs  $(FORTH_GEN_ENGINE_FAST): prim-fast.b prims2x.fs
                 $(FORTHP) prims2x.fs -e "c-flag on s\" prim.b\" ' output-super2 dup process-file bye" >$@-                  GFORTH="$(FORTHP)" $(srcdir)/gfgen -fast
                 $(CP) $@- $@  
                 $(RM) $@-  
   
 engine/costs.i: prim.b prims2x.fs  $(FORTH_GEN_ENGINE): prim.b prims2x.fs
                 $(FORTHP) prims2x.fs -e "c-flag on s\" prim.b\" ' output-costs-gforth-simple ' output-costs-gforth-combined process-file bye" >$@-                  GFORTH="$(FORTHP)" $(srcdir)/gfgen
                 $(CP) $@- $@  
                 $(RM) $@-  
   
 kernel/aliases.fs:      prim.b prims2x.fs kernel/aliases0.fs  kernel/aliases.fs:      prim.b prims2x.fs kernel/aliases0.fs
                 $(CP) kernel/aliases0.fs $@-                  $(CP) kernel/aliases0.fs $@-
Line 757  kernel/prim.fs: prim.b prims2x.fs kernel Line 739  kernel/prim.fs: prim.b prims2x.fs kernel
                 $(CP) $@- $@                  $(CP) $@- $@
                 $(RM) $@-                  $(RM) $@-
   
 engine/prim_num.i:      prim.b prims2x.fs  
                 $(FORTHP) prims2x.fs -e "c-flag on s\" prim.b\" ' output-c-prim-num ' noop process-file bye" >$@  
   
 gforth$(EXE):           engines  gforth$(EXE):           engines
                 -$(CP) gforth$(EXE) gforth~                  -$(CP) gforth$(EXE) gforth~
                 $(CP) engine/$@ $@                  $(CP) engine/$@ $@
                 @GFORTH_EXE@                  @GFORTH_EXE@
   
 gforth-fast$(EXE):      engines  gforth-fast$(EXE):      engines-fast
                 $(CP) engine/$@ $@                  $(CP) engine/$@ $@
                 @GFORTHFAST_EXE@                  @GFORTHFAST_EXE@
   
 gforth-native$(EXE):    engines  gforth-native$(EXE):    engines-fast
                 $(CP) engine/$@ $@                  $(CP) engine/$@ $@
 #@GFORTHX_EXE@  #@GFORTHX_EXE@
   
Line 784  gforth-ditc$(EXE): engines Line 763  gforth-ditc$(EXE): engines
 gforth-prof$(EXE):      engines  gforth-prof$(EXE):      engines
                 $(CP) engine/$@ $@                  $(CP) engine/$@ $@
   
 gforths: $(ENGINES)  gforths: $(ENGINES) $(ENGINES_FAST)
   
 engines:        FORCE $(FORTH_GEN_ENGINE) engine/Makefile  engines:        FORCE $(FORTH_GEN_ENGINE) engine/Makefile
                 cd engine && $(MAKE) $(ENGINES)                  cd engine && $(MAKE) $(ENGINES)
   
   engines-fast:   FORCE $(FORTH_GEN_ENGINE_FAST) engine/Makefile
                   cd engine && $(MAKE) $(ENGINES_FAST)
   
 # ------------- additional C primitives  # ------------- additional C primitives
   
 %.c:            %.pri prim2cl.fs  %.c:            %.pri prim2cl.fs
Line 924  engine/config.h: stamp-h Line 906  engine/config.h: stamp-h
 stamp-h: engine/config.h.in config.status  stamp-h: engine/config.h.in config.status
         ./config.status          ./config.status
   
 Makedist engine/Makefile gforthmi vmgen machpc.fs doc/version.texi:     Makefile.in Makedist.in engine/Makefile.in gforthmi.in vmgen.in machpc.fs.in doc/version.texi.in config.status configure.in  Makefile Makedist engine/Makefile gforthmi vmgen machpc.fs doc/version.texi:    Makefile.in Makedist.in engine/Makefile.in gforthmi.in vmgen.in machpc.fs.in doc/version.texi.in config.status configure.in
         ./config.status          ./config.status
   
 config.status: configure  config.status: configure

Removed from v.1.282  
changed lines
  Added in v.1.299


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>