version 1.13, 2003/01/20 17:07:36
|
version 1.17, 2003/07/14 20:57:06
|
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,2000 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 22
|
Line 22
|
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 engine-prof.o main-ditc.o engine-itc.o main-itc.o main-prof.o profile.o) |
|
|
#stuff in a binonly distribution |
#stuff in a binonly distribution |
BINONLYDIST = config.status Makefile Makedist \ |
BINONLYDIST = config.status Makefile Makedist \ |
gforth$(EXE) gforth-fast$(EXE) gforth-ditc$(EXE) \ |
$(ENGINES) \ |
$(DOBJECTS) engine/config.h engine/Makefile \ |
$(DOBJECTS) engine/config.h engine/Makefile \ |
engine/gforth$(EXE) engine/gforth-fast$(EXE) engine/gforth-ditc$(EXE) \ |
engine/gforth$(EXE) engine/gforth-fast$(EXE) \ |
stamp-h kernel/version.fs \ |
engine/gforth-ditc$(EXE) engine/gforth-itc$(EXE) \ |
|
engine/gforth-prof$(EXE) stamp-h kernel/version.fs \ |
INSTALL.BINDIST |
INSTALL.BINDIST |
|
|
#use dist targets only when srcdir=. |
#use dist targets only when srcdir=. |
Line 91 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}$(EXE) |
$(TAR) gforth-$(VERSION)|gzip -9 >gforth-$(VERSION).bin.@host@.tar.gz |
$(TAR) gforth-$(VERSION)|gzip -9 >gforth-$(VERSION).bin.@host@.tar.gz |
|
|
#All file names in a binary distribution |
#All file names in a binary distribution |
Line 109 dbinonlydist: $(SOURCES) $(FORTH_GEN0) @
|
Line 110 dbinonlydist: $(SOURCES) $(FORTH_GEN0) @
|
-$(RMTREE) gforth-$(VERSION) |
-$(RMTREE) gforth-$(VERSION) |
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$(EXE) |
$(TAR) gforth-$(VERSION)|gzip -9 >gforth-$(VERSION).binonly.@host@.tar.gz |
$(TAR) gforth-$(VERSION)|gzip -9 >gforth-$(VERSION).binonly.@host@.tar.gz |