From: jtkohl Date: Thu, 27 Jul 1989 19:07:51 +0000 (+0000) Subject: Programmer: Jay Berkenbilt X-Git-Tag: PATCH5~1 X-Git-Url: http://andersk.mit.edu/gitweb/moira.git/commitdiff_plain/d1e9e56bceb28ec0434ba52bfda31e31599630a8 Programmer: Jay Berkenbilt Auditor: John Kohl remove old archives/move current ones, to work around filename truncation problems --- diff --git a/util/imake.includes/Imake.rules b/util/imake.includes/Imake.rules index da2a5747..1a2b9c85 100644 --- a/util/imake.includes/Imake.rules +++ b/util/imake.includes/Imake.rules @@ -58,10 +58,14 @@ all:: concat3(lib,libname,.a) concat3(lib,libname,_p.a) @@\ all:: concat3(llib-l,libname,.ln) @@\ @@\ concat3(lib,libname,.a): objs @@\ + $(RM) $@.bak @@\ + -$(MV) $@ $@.bak @@\ $(ARCHIVE) $@ objs @@\ $(RANLIB) $@ @@\ @@\ concat3(lib,libname,_p.a): objs @@\ + $(RM) $@.bak @@\ + -$(MV) $@ $@.bak @@\ cd profiled; $(ARCHIVE) ../$@ objs @@\ $(RANLIB) $@ @@\ @@\ @@ -114,6 +118,8 @@ all:: concat3(lib,libname,.a) @@\ all:: concat3(llib-l,libname,.ln) @@\ @@\ concat3(lib,libname,.a): objs @@\ + $(RM) $@.bak @@\ + -$(MV) $@ $@.bak @@\ $(ARCHIVE) $@ objs @@\ $(RANLIB) $@ @@\ @@\