Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc64/conf copy the "sparc" clean/cleandir target...



details:   https://anonhg.NetBSD.org/src/rev/f20980daca59
branches:  trunk
changeset: 484825:f20980daca59
user:      mrg <mrg%NetBSD.org@localhost>
date:      Thu Apr 13 09:23:38 2000 +0000

description:
copy the "sparc" clean/cleandir target code, so that "cleandir" actually does a "clean"

diffstat:

 sys/arch/sparc64/conf/Makefile.sparc64 |  14 ++++++++++----
 1 files changed, 10 insertions(+), 4 deletions(-)

diffs (31 lines):

diff -r 80139f377608 -r f20980daca59 sys/arch/sparc64/conf/Makefile.sparc64
--- a/sys/arch/sparc64/conf/Makefile.sparc64    Thu Apr 13 09:12:16 2000 +0000
+++ b/sys/arch/sparc64/conf/Makefile.sparc64    Thu Apr 13 09:23:38 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.sparc64,v 1.20 2000/04/08 04:46:15 mrg Exp $
+#      $NetBSD: Makefile.sparc64,v 1.21 2000/04/13 09:23:38 mrg Exp $
 
 # Makefile for NetBSD
 #
@@ -160,12 +160,18 @@
        sh $S/conf/newvers.sh
        ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c vers.c
 
-
-clean: cleankernel
-cleankernel:
+__CLEANKERNEL: .USE
+       @echo "${.TARGET}ing the kernel objects"
        rm -f eddep *netbsd netbsd.gdb tags *.[io] [a-z]*.s \
            [Ee]rrs lderr linterrs makelinks assym.h.tmp assym.h
 
+__CLEANDEPEND: .USE
+       rm -f .depend
+
+clean: __CLEANKERNEL
+
+cleandir distclean: __CLEANKERNEL __CLEANDEPEND
+
 lint:
        @lint -hbxncez -Dvolatile= ${CPPFLAGS} -UKGDB \
            ${SPARC64}/sparc64/Locore.c ${CFILES} \



Home | Main Index | Thread Index | Old Index