--- gforth/Makedist.in 2000/09/23 15:46:50 1.9 +++ gforth/Makedist.in 2003/07/14 20:57:06 1.17 @@ -1,7 +1,7 @@ #make dist targets (workaround for broken makes) #use GNU make if your make does not grok this. -#Copyright (C) 1995,1996,1997,1998,2000 Free Software Foundation, Inc. +#Copyright (C) 1995,1996,1997,1998,2000,2003 Free Software Foundation, Inc. #This file is part of Gforth. @@ -22,14 +22,15 @@ include Makefile #!! redundancy with engine/Makefile.in -DOBJECTS=$(addprefix engine/,io.o signals.o memcmpc.o @LIBOBJS@ engine.o main.o engine-fast.o main-fast.o engine-ditc.o main-ditc.o) +DOBJECTS=$(addprefix engine/,io.o signals.o support.o @LIBOBJS@ engine.o engine2.o main.o engine-fast.o engine-fast2.o main-fast.o engine-ditc.o engine-prof.o main-ditc.o engine-itc.o main-itc.o main-prof.o profile.o) #stuff in a binonly distribution BINONLYDIST = config.status Makefile Makedist \ - gforth$(EXE) gforth-fast$(EXE) gforth-ditc$(EXE) \ + $(ENGINES) \ $(DOBJECTS) engine/config.h engine/Makefile \ - engine/gforth$(EXE) engine/gforth-fast$(EXE) engine/gforth-ditc$(EXE) \ - stamp-h kernel/version.fs \ + engine/gforth$(EXE) engine/gforth-fast$(EXE) \ + engine/gforth-ditc$(EXE) engine/gforth-itc$(EXE) \ + engine/gforth-prof$(EXE) stamp-h kernel/version.fs \ INSTALL.BINDIST #use dist targets only when srcdir=. @@ -91,8 +92,12 @@ dbindist: $(SOURCES) $(FORTH_GEN0) @KERN -$(RMTREE) gforth-$(VERSION) mkdir gforth-$(VERSION) $(TAR) $(SOURCES) $(FORTH_GEN0) @KERNEL@ $(DOCDIST) $(BINONLYDIST) | (cd gforth-$(VERSION); tar xf -) - strip gforth-$(VERSION)/gforth - $(TAR) gforth-$(VERSION)|gzip -9 >gforth-$(VERSION)-@host@.tar.gz + $(STRIP) gforth-$(VERSION){,/engine}/gforth{,-fast,-ditc,-itc}$(EXE) + $(TAR) gforth-$(VERSION)|gzip -9 >gforth-$(VERSION).bin.@host@.tar.gz + +#All file names in a binary distribution +distfiles: + @echo $(SOURCES) $(FORTH_GEN0) @KERNEL@ $(DOCDIST) $(BINONLYDIST) #makes a package with only the stuff not present in the source #package. For installation the source package is still needed! @@ -105,5 +110,5 @@ dbinonlydist: $(SOURCES) $(FORTH_GEN0) @ -$(RMTREE) gforth-$(VERSION) mkdir gforth-$(VERSION) $(TAR) $(BINONLYDIST) | (cd gforth-$(VERSION); tar xf -) - strip gforth-$(VERSION)/gforth - $(TAR) gforth-$(VERSION)|gzip -9 >gforth-$(VERSION)-binonly-@host@.tar.gz + $(STRIP) gforth-$(VERSION)/gforth$(EXE) + $(TAR) gforth-$(VERSION)|gzip -9 >gforth-$(VERSION).binonly.@host@.tar.gz