From 9256fd1a8b333d21752ad3adc2795921a32771f5 Mon Sep 17 00:00:00 2001
From: fgilham <fgilham>
Date: Sat, 7 Jul 2007 15:49:50 +0000
Subject: [PATCH] Add target "lisp.a" to create library to be linked in to Lisp
 executable binaries.

---
 lisp/GNUmakefile | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/lisp/GNUmakefile b/lisp/GNUmakefile
index 5ba005a9b..c1100f647 100644
--- a/lisp/GNUmakefile
+++ b/lisp/GNUmakefile
@@ -1,4 +1,4 @@
-# $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/lisp/GNUmakefile,v 1.23 2006/11/06 07:44:51 cshapiro Exp $
+# $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/lisp/GNUmakefile,v 1.24 2007/07/07 15:49:50 fgilham Exp $
 
 all: lisp.nm
 
@@ -25,7 +25,7 @@ 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
 
-lisp.nm: lisp
+lisp.nm: lisp lisp.a
 	echo 'Map file for lisp version ' `cat version` > ,lisp.nm
 	$(NM) lisp | grep -v " [F] " >> ,lisp.nm
 	mv ,lisp.nm lisp.nm
@@ -39,6 +39,9 @@ lisp: version.c ${OBJS} version
 		${OS_LIBS} -lm
 	mv -f ,lisp lisp
 
+lisp.a:	version.o ${OBJS}
+	ar crs lisp.a version.o ${OBJS}
+
 version:
 	echo 0 > version
 
-- 
GitLab