Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/mk add 'sun68k' to CLEANFILES for sun2/sun3



details:   https://anonhg.NetBSD.org/src/rev/cd1720567df7
branches:  trunk
changeset: 534549:cd1720567df7
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Mon Jul 29 07:42:52 2002 +0000

description:
add 'sun68k' to CLEANFILES for sun2/sun3
add 'sparc' to CLEANFILES for sparc64

diffstat:

 share/mk/bsd.kmod.mk |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r f6b7444572a7 -r cd1720567df7 share/mk/bsd.kmod.mk
--- a/share/mk/bsd.kmod.mk      Mon Jul 29 07:07:15 2002 +0000
+++ b/share/mk/bsd.kmod.mk      Mon Jul 29 07:42:52 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.kmod.mk,v 1.54 2002/07/20 11:44:31 mrg Exp $
+#      $NetBSD: bsd.kmod.mk,v 1.55 2002/07/29 07:42:52 jdolecek Exp $
 
 .include <bsd.init.mk>
 
@@ -19,6 +19,13 @@
 CLEANFILES+=   ${DPSRCS} ${YHEADER:D${SRCS:M*.y:.y=.h}} \
                machine ${MACHINE_CPU}
 
+# see below why this is necessary
+.if ${MACHINE} == "sun2" || ${MACHINE} == "sun3"
+CLEANFILES+=   sun68k
+.elif ${MACHINE} == "sparc64"
+CLEANFILES+=   sparc
+.endif
+
 OBJS+=         ${SRCS:N*.h:N*.sh:R:S/$/.o/g}
 PROG?=         ${KMOD}.o
 MAN?=          ${KMOD}.4



Home | Main Index | Thread Index | Old Index