--- gforth/Makefile.in 1995/11/15 17:29:06 1.41 +++ gforth/Makefile.in 1995/11/24 18:05:32 1.42 @@ -49,7 +49,7 @@ XDEFINES = @DEFS@ SWITCHES = $(XCFLAGS) $(XDEFINES) #-DNDEBUG #turn off assertions ENGINE_FLAGS = -fno-defer-pop -fcaller-saves DEBUGFLAG = @DEBUGFLAG@ -CFLAGS = $(DEBUGFLAG) -O4 -Wall $(SWITCHES) -DDEFAULTPATH=\"$(datadir)/gforth/$(VERSION):$(libdir)/gforth/$(VERSION):.\" +CFLAGS = $(DEBUGFLAG) -O4 -Wall $(SWITCHES) -DDEFAULTPATH=\"$(libdir)/gforth/site-forth:$(datadir)/gforth/site-forth:$(libdir)/gforth/$(VERSION):$(datadir)/gforth/$(VERSION):.\" #John Wavrik should use -Xlinker -N to get a writable text (executable) XLDFLAGS = @LDFLAGS@ @@ -81,8 +81,8 @@ FORTH_SRC = anslocal.fs add.fs assert.fs kernal.fs locals-test.fs look.fs main.fs makedoc.fs \ mach16b.fs mach16l.fs mach32b.fs mach32l.fs mach64b.fs mach64l.fs \ other.fs prims2x.fs random.fs search-order.fs see.fs sieve.fs source.fs \ - startup.fs struct.fs tools.fs toolsext.fs tt.fs vars.fs vt100.fs \ - vt100key.fs wordinfo.fs wordsets.fs \ + startup.fs site-init.fs struct.fs tools.fs toolsext.fs tt.fs vars.fs \ + vt100.fs vt100key.fs wordinfo.fs wordsets.fs \ tester.fs coretest.fs \ bubble.fs siev.fs matrix.fs fib.fs @@ -188,7 +188,8 @@ binonlydist: $(SOURCES) $(FORTH_GEN) gfo # gforth manages to execute more than a few primitives install: gforth $(FORTH_SRC) kernal.fi gforth.fi gforth.1 gforth.info - $(INSTALL) -d $(bindir) $(mandir) $(infodir) $(libdir)/gforth/$(VERSION) $(datadir)/gforth/$(VERSION) + $(INSTALL) -d $(bindir) $(mandir) $(infodir) $(libdir)/gforth/$(VERSION) $(datadir)/gforth/$(VERSION) $(libdir)/gforth/site-forth $(datadir)/gforth/site-forth + touch $(datadir)/gforth/site-forth/site-init.fs $(INSTALL_PROGRAM) -s gforth $(bindir) ln -f $(bindir)/gforth $(bindir)/gforth-$(VERSION) $(INSTALL_DATA) gforth.1 $(mandir)