Skip to content
Snippets Groups Projects
Commit db944f8f authored by pw's avatar pw
Browse files

(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.
parent f6fc0c85
No related branches found
No related tags found
No related merge requests found
# $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 all: lisp.nm
...@@ -23,6 +23,13 @@ OBJS = $(patsubst %.c,%.o,$(patsubst %.S,%.o,$(patsubst %.s,%.o,$(SRCS)))) ...@@ -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. ### Don't look in RCS for the files, because we might not want the latest.
%: RCS/%,v %: 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 lisp.nm: lisp
echo 'Map file for lisp version ' `cat version` > ,lisp.nm echo 'Map file for lisp version ' `cat version` > ,lisp.nm
$(NM) lisp | grep -v " F \| U " >> ,lisp.nm $(NM) lisp | grep -v " F \| U " >> ,lisp.nm
...@@ -55,4 +62,6 @@ depend: ${SRCS} ...@@ -55,4 +62,6 @@ depend: ${SRCS}
$(CC) -MM -E ${DEPEND_FLAGS} ${CFLAGS} ${CPPFLAGS} $? > ,depends $(CC) -MM -E ${DEPEND_FLAGS} ${CFLAGS} ${CPPFLAGS} $? > ,depends
mv ,depends Depends mv ,depends Depends
ifneq (,$(wildcard Depends))
include Depends include Depends
endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment