diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2005-06-29 14:05:09 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2005-06-29 14:05:09 +0000 |
commit | 33c6f1ba35e1071f464cb6cf6420298a8e9af423 (patch) | |
tree | 08534fd28f022b9b3b30877aa89df7ff227191a5 | |
parent | 2c72bbb9c39607d3108e6f832ae9531f50bfea00 (diff) |
only include copy-to-libkern-* targets if making copy-to-libkern to avoid zombie dependancies elsewhere
-rw-r--r-- | lib/libc/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/Makefile b/lib/libc/Makefile index 0ce15a4b62f..fc6daf515f1 100644 --- a/lib/libc/Makefile +++ b/lib/libc/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.22 2004/01/28 17:58:12 deraadt Exp $ +# $OpenBSD: Makefile,v 1.23 2005/06/29 14:05:08 mickey Exp $ # # All library objects contain sccsid strings by default; they may be # excluded as a space-saving measure. To produce a library that does @@ -27,6 +27,7 @@ NLS= C.msg Pig.msg de.msg es.msg fi.msg fr.msg nl.msg no.msg ru.msg sv.msg copy-to-libkern: copy-to-libkern-machind copy-to-libkern-machdep +.if make(copy-to-libkern) copy-to-libkern-machind: ${KSRCS} cp -p ${.ALLSRC} ${LIBKERN} .if defined(KINCLUDES) && !empty(KINCLUDES) @@ -46,6 +47,7 @@ rm-from-libkern: .if defined(KMSRCS) && !empty(KMSRCS) for i in ${KMSRCS}; do rm -f ${LIBKERN}/arch/${MACHINE_ARCH}/$$i; done .endif +.endif all: tags tags: ${SRCS} |