From db944f8fc1293b01dd723182816f013bdb339676 Mon Sep 17 00:00:00 2001 From: pw <pw> Date: Thu, 26 Apr 2001 16:33:50 +0000 Subject: [PATCH] (a) Add a new target 'initial-map' that can make a 'lisp.nm' file from whatever 'lisp' executable is in the "target:lisp/" directory without depending on the rest of the source code being available. Used when setting up a build directory and/or when internals.h doesn't yet exist. (b) Don't whine when 'Depends' target is missing. --- lisp/GNUmakefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/lisp/GNUmakefile b/lisp/GNUmakefile index 3c269a48c..28029e7cc 100644 --- a/lisp/GNUmakefile +++ b/lisp/GNUmakefile @@ -1,4 +1,4 @@ -# $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/lisp/GNUmakefile,v 1.13 1997/06/07 15:25:37 pw Exp $ +# $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/lisp/GNUmakefile,v 1.14 2001/04/26 16:33:50 pw Exp $ all: lisp.nm @@ -23,6 +23,13 @@ OBJS = $(patsubst %.c,%.o,$(patsubst %.S,%.o,$(patsubst %.s,%.o,$(SRCS)))) ### Don't look in RCS for the files, because we might not want the latest. %: RCS/%,v +### Special target used to make a lisp.nm file for genesis. +### Use when internals.h does not yet exist. +initial-map: + echo 'Map file for lisp version 0' > ,lisp.nm + $(NM) lisp | grep -v " F \| U " >> ,lisp.nm + mv ,lisp.nm lisp.nm + lisp.nm: lisp echo 'Map file for lisp version ' `cat version` > ,lisp.nm $(NM) lisp | grep -v " F \| U " >> ,lisp.nm @@ -55,4 +62,6 @@ depend: ${SRCS} $(CC) -MM -E ${DEPEND_FLAGS} ${CFLAGS} ${CPPFLAGS} $? > ,depends mv ,depends Depends +ifneq (,$(wildcard Depends)) include Depends +endif -- GitLab