Diff for /gforth/Attic/Makefile between versions 1.6 and 1.11

version 1.6, 1994/07/07 14:59:19 version 1.11, 1994/08/19 17:47:19
Line 2 Line 2
   
 RM      = echo 'Trying to remove'  RM      = echo 'Trying to remove'
 GCC     = gcc  GCC     = gcc
   FORTH   = gforth
 CC      = gcc  CC      = gcc
 SWITCHES = -D_POSIX_VERSION -DDEFAULTBIN='"'$(PWD)'"' -DUSE_TOS -DUSE_FTOS # -DDIRECT_THREADED   SWITCHES = -D_POSIX_VERSION -DUSE_FTOS -DDEFAULTBIN='"'`pwd`'"' -DDIRECT_THREADED -fcaller-saves #-DNDEBUG #turn off assertions
 CFLAGS  = -O4 -Wall -g $(SWITCHES)  CFLAGS  = -O4 -Wall -g $(SWITCHES)
   
 #-Xlinker -n puts text and data into the same 256M region  #-Xlinker -n puts text and data into the same 256M region
 #John Wavrik should use -Xlinker -N to get a writable text (executable)  #John Wavrik should use -Xlinker -N to get a writable text (executable)
 LDFLAGS = -g # -Xlinker -N  LDFLAGS = -g -Xlinker -N
 LDLIBS = -lm  LDLIBS = -lm
   
 EMACS   = emacs  EMACS   = emacs
Line 26  SOURCES = Makefile primitives primitives Line 27  SOURCES = Makefile primitives primitives
   
 RCS_FILES = $(SOURCES) INSTALL ToDo model high-level  RCS_FILES = $(SOURCES) INSTALL ToDo model high-level
   
 GEN = ansforth  GEN = gforth
   
 GEN_PRECIOUS = primitives.i prim_labels.i primitives.b prim_alias.4th aliases.fs  GEN_PRECIOUS = primitives.i prim_labels.i primitives.b prim_alias.4th aliases.fs
   
Line 34  OBJECTS = engine.o io.o main.o Line 35  OBJECTS = engine.o io.o main.o
   
 # things that need a working forth system to be generated  # things that need a working forth system to be generated
 # this is used for antidependences,  # this is used for antidependences,
 FORTH_GEN = primitives.i prim_labels.i prim_alias.4th kernal.32limg  FORTH_GEN = primitives.i prim_labels.i prim_alias.4th kernal.fi
   
 all:    ansforth aliases.fs  all:    gforth aliases.fs
   
 #from the gcc Makefile:   #from the gcc Makefile: 
 #"Deletion of files made during compilation.  #"Deletion of files made during compilation.
Line 60  realclean: distclean Line 61  realclean: distclean
   
 current:        $(RCS_FILES)  current:        $(RCS_FILES)
   
 ansforth:       $(OBJECTS) $(FORTH_GEN)  gforth: $(OBJECTS) $(FORTH_GEN)
                 -cp ansforth ansforth.old                  -cp gforth gforth.old
                 $(GCC) $(LDFLAGS) $(OBJECTS) $(LDLIBS) -o $@                  $(GCC) $(LDFLAGS) $(OBJECTS) $(LDLIBS) -o $@
   
 kernal.32limg:  search-order.fs cross.fs aliases.fs vars.fs add.fs \  kernal.fi:      main.fs search-order.fs cross.fs aliases.fs vars.fs add.fs \
                 environ.fs errore.fs kernal.fs extend.fs tools.fs toolsext.fs \                  errore.fs kernal.fs extend.fs tools.fs toolsext.fs \
                 $(FORTH_GEN)                  $(FORTH_GEN)
                 -cp kernal.32limg kernal.32limg.old                  -cp kernal.32limg kernal.32limg.old
                 ansforth "include main.fs"                  $(FORTH) main.fs
   
   
 engine.s:       engine.c primitives.i prim_labels.i machine.h $(INCLUDES)  engine.s:       engine.c primitives.i prim_labels.i machine.h $(INCLUDES)
Line 80  primitives.b: primitives Line 81  primitives.b: primitives
                 m4 primitives >$@                   m4 primitives >$@ 
   
 primitives.i :  primitives.b prims2x.fs  primitives.i :  primitives.b prims2x.fs
                 ansforth "include prims2x.fs s\" primitives.b\" ' output-c process-file bye" >$@                  $(FORTH) prims2x.fs -e "s\" primitives.b\" ' output-c process-file bye" >$@
   
 prim_labels.i : primitives.b prims2x.fs  prim_labels.i : primitives.b prims2x.fs
                 ansforth "include prims2x.fs s\" primitives.b\" ' output-label process-file bye" >$@                  $(FORTH) prims2x.fs -e "s\" primitives.b\" ' output-label process-file bye" >$@
   
 prim_alias.4th: primitives.b prims2x.fs  aliases.fs:     primitives.b prims2x.fs
                 ansforth "include prims2x.fs s\" primitives.b\" ' output-alias process-file bye" >$@                  $(FORTH) prims2x.fs -e "s\" primitives.b\" ' output-alias process-file bye" >$@
   
 aliases.fs:     prim_alias.4th  
                 cp prim_alias.4th $@  
   
 #primitives.4th:        primitives.b primitives2c.el  #primitives.4th:        primitives.b primitives2c.el
 #               $(EMACS) -batch -load primitives2c.el -funcall make-forth  #               $(EMACS) -batch -load primitives2c.el -funcall make-forth

Removed from v.1.6  
changed lines
  Added in v.1.11


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