version 1.21, 2006/04/08 13:48:22
|
version 1.32, 2010/12/31 18:09:01
|
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,2003 Free Software Foundation, Inc. |
#Copyright (C) 1995,1996,1997,1998,2000,2003,2006,2007,2008,2010 Free Software Foundation, Inc. |
|
|
#This file is part of Gforth. |
#This file is part of Gforth. |
|
|
#Gforth is free software; you can redistribute it and/or |
#Gforth is free software; you can redistribute it and/or |
#modify it under the terms of the GNU General Public License |
#modify it under the terms of the GNU General Public License |
#as published by the Free Software Foundation; either version 2 |
#as published by the Free Software Foundation, either version 3 |
#of the License, or (at your option) any later version. |
#of the License, or (at your option) any later version. |
|
|
#This program is distributed in the hope that it will be useful, |
#This program is distributed in the hope that it will be useful, |
Line 16
|
Line 16
|
#GNU General Public License for more details. |
#GNU General Public License for more details. |
|
|
#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, see http://www.gnu.org/licenses/. |
#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 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 $(PROFOBJS)) |
DOBJECTS=engine/*.o |
|
|
#stuff in a binonly distribution |
#stuff in a binonly distribution |
BINONLYDIST = config.status Makefile Makedist \ |
BINONLYDIST = config.status Makefile Makedist \ |
Line 31 BINONLYDIST = config.status Makefile Mak
|
Line 30 BINONLYDIST = config.status Makefile Mak
|
engine/gforth$(EXE) engine/gforth-fast$(EXE) \ |
engine/gforth$(EXE) engine/gforth-fast$(EXE) \ |
engine/gforth-ditc$(EXE) engine/gforth-itc$(EXE) \ |
engine/gforth-ditc$(EXE) engine/gforth-itc$(EXE) \ |
$(addprefix engine/,$(PROFEXES)) \ |
$(addprefix engine/,$(PROFEXES)) \ |
stamp-h kernel/version.fs INSTALL.BINDIST |
stamp-h kernel/version.fs envos.fs build-ec INSTALL.BINDIST |
|
|
#use dist targets only when srcdir=. |
#use dist targets only when srcdir=. |
ddist: $(SOURCES) $(FORTH_GEN0) @KERNEL@ $(DOCDIST) |
ddist: $(SOURCES) $(FORTH_GEN0) @KERNEL@ $(DOCDIST) |
Line 97 dbindist: $(SOURCES) $(FORTH_GEN0) @KERN
|
Line 96 dbindist: $(SOURCES) $(FORTH_GEN0) @KERN
|
|
|
#All file names in a binary distribution |
#All file names in a binary distribution |
distfiles: |
distfiles: |
@echo $(SOURCES) $(FORTH_GEN0) @KERNEL@ $(DOCDIST) $(BINONLYDIST) |
@echo $(SOURCES) $(PRECISE) machpc.fs $(FORTH_GEN0) compat/strcomp.fs gforthmi @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! |