The number of arguments to the shell during a make cleandir in
some of the libraries was too many. This splits the rm's up into 2
parts, making it easier for the shell to handle.
AUTHOR: Rodney W. Grimes
386BSD-Patchkit: patch00157
# @(#)bsd.lib.mk 5.26 (Berkeley) 5/2/91
# @(#)bsd.lib.mk 5.26 (Berkeley) 5/2/91
+#
+# PATCHES MAGIC LEVEL PATCH THAT GOT US HERE
+# -------------------- ----- ----------------------
+# CURRENT PATCH LEVEL: 1 00157
+# -------------------- ----- ----------------------
+#
+# 27 Apr 93 Rodney W. Grimes Break up cleandir so that we do not
+# overflow shell args
.if exists(${.CURDIR}/../Makefile.inc)
.include "${.CURDIR}/../Makefile.inc"
.if exists(${.CURDIR}/../Makefile.inc)
.include "${.CURDIR}/../Makefile.inc"
.if !target(cleandir)
cleandir:
.if !target(cleandir)
cleandir:
- rm -f a.out Errs errs mklog core ${CLEANFILES} ${OBJS} ${POBJS} \
- profiled/*.o lib${LIB}.a lib${LIB}_p.a llib-l${LIB}.ln \
+ rm -f a.out Errs errs mklog core ${CLEANFILES} ${OBJS} \
+ lib${LIB}.a llib-l${LIB}.ln \
${MANALL} ${.CURDIR}/tags .depend
${MANALL} ${.CURDIR}/tags .depend
+ rm -f ${POBJS} profiled/*.o lib${LIB}_p.a
cd ${.CURDIR}; rm -rf obj;
.endif
cd ${.CURDIR}; rm -rf obj;
.endif