version 1.6, 2000/05/31 14:37:40
|
version 1.15, 2003/03/20 10:07:50
|
Line 1
|
Line 1
|
#make dist targets (workaround for broken makes) |
#make dist targets (workaround for broken makes) |
#use GNU make if your make does not grok this. |
#use GNU make if your make does not grok this. |
|
|
#Copyright (C) 1995,1996,1997,1998 Free Software Foundation, Inc. |
#Copyright (C) 1995,1996,1997,1998,2000,2003 Free Software Foundation, Inc. |
|
|
#This file is part of Gforth. |
#This file is part of Gforth. |
|
|
Line 17
|
Line 17
|
|
|
#You should have received a copy of the GNU General Public License |
#You should have received a copy of the GNU General Public License |
#along with this program; if not, write to the Free Software |
#along with this program; if not, write to the Free Software |
#Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA. |
|
|
include Makefile |
include Makefile |
|
|
#!! redundancy with engine/Makefile.in |
#!! 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 main-ditc.o engine-itc.o main-itc.o) |
|
|
#stuff in a binonly distribution |
#stuff in a binonly distribution |
BINONLYDIST = config.status Makefile Makedist gforth$(EXE) gforth-ditc$(EXE) \ |
BINONLYDIST = config.status Makefile Makedist \ |
|
gforth$(EXE) gforth-fast$(EXE) gforth-ditc$(EXE) gforth-itc$(EXE) \ |
$(DOBJECTS) engine/config.h engine/Makefile \ |
$(DOBJECTS) engine/config.h engine/Makefile \ |
engine/gforth$(EXE) engine/gforth-ditc$(EXE) \ |
engine/gforth$(EXE) engine/gforth-fast$(EXE) \ |
|
engine/gforth-ditc$(EXE) engine/gforth-itc$(EXE) \ |
stamp-h kernel/version.fs \ |
stamp-h kernel/version.fs \ |
INSTALL.BINDIST |
INSTALL.BINDIST |
|
|
Line 47 ddosdist: $(SOURCES) $(FORTH_GEN0) @KERN
|
Line 49 ddosdist: $(SOURCES) $(FORTH_GEN0) @KERN
|
$(TAR) $(SOURCES) $(FORTH_GEN0) @KERNEL@ $(DOCDIST) | \ |
$(TAR) $(SOURCES) $(FORTH_GEN0) @KERNEL@ $(DOCDIST) | \ |
(cd gforth.$(DOSVERSION); tar xf -) |
(cd gforth.$(DOSVERSION); tar xf -) |
$(MV) gforth.$(DOSVERSION)/engine/strsignal.c gforth.$(DOSVERSION)/engine/strsig.c |
$(MV) gforth.$(DOSVERSION)/engine/strsignal.c gforth.$(DOSVERSION)/engine/strsig.c |
for i in 1 2 3 4 5 6 7 8; do \ |
for i in 1 2 3 4 5 6 7 8 9 10 11 12 13 14; do \ |
$(MV) gforth.$(DOSVERSION)/doc/gforth.info-$$i gforth.$(DOSVERSION)/doc/gforth.i$$i; \ |
$(MV) gforth.$(DOSVERSION)/doc/gforth.info-$$i gforth.$(DOSVERSION)/doc/gforth.i$$i; \ |
done |
done |
zip -r9 gf$(DOSVERSION)dos.zip gforth.$(DOSVERSION)/* |
zip -r9 gf$(DOSVERSION)dos.zip gforth.$(DOSVERSION)/* |
Line 90 dbindist: $(SOURCES) $(FORTH_GEN0) @KERN
|
Line 92 dbindist: $(SOURCES) $(FORTH_GEN0) @KERN
|
-$(RMTREE) gforth-$(VERSION) |
-$(RMTREE) gforth-$(VERSION) |
mkdir gforth-$(VERSION) |
mkdir gforth-$(VERSION) |
$(TAR) $(SOURCES) $(FORTH_GEN0) @KERNEL@ $(DOCDIST) $(BINONLYDIST) | (cd gforth-$(VERSION); tar xf -) |
$(TAR) $(SOURCES) $(FORTH_GEN0) @KERNEL@ $(DOCDIST) $(BINONLYDIST) | (cd gforth-$(VERSION); tar xf -) |
strip gforth-$(VERSION)/gforth |
strip gforth-$(VERSION){,/engine}/gforth{,-fast,-ditc,-itc} |
$(TAR) gforth-$(VERSION)|gzip -9 >gforth-$(VERSION)-@host@.tar.gz |
$(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 |
#makes a package with only the stuff not present in the source |
#package. For installation the source package is still needed! |
#package. For installation the source package is still needed! |
Line 105 dbinonlydist: $(SOURCES) $(FORTH_GEN0) @
|
Line 111 dbinonlydist: $(SOURCES) $(FORTH_GEN0) @
|
mkdir gforth-$(VERSION) |
mkdir gforth-$(VERSION) |
$(TAR) $(BINONLYDIST) | (cd gforth-$(VERSION); tar xf -) |
$(TAR) $(BINONLYDIST) | (cd gforth-$(VERSION); tar xf -) |
strip gforth-$(VERSION)/gforth |
strip gforth-$(VERSION)/gforth |
$(TAR) gforth-$(VERSION)|gzip -9 >gforth-$(VERSION)-binonly-@host@.tar.gz |
$(TAR) gforth-$(VERSION)|gzip -9 >gforth-$(VERSION).binonly.@host@.tar.gz |