diff --git a/lisp/GNUmakefile b/lisp/GNUmakefile index 3c269a48cf25bf12e298cb52651e5ff87bbdf3c5..28029e7cce1b76f2dd785fad93337ded72ac5949 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