diff --git a/sys/arch/alpha/conf/Makefile.alpha b/sys/arch/alpha/conf/Makefile.alpha index ab3598021f4c..a5a793ee88fe 100644 --- a/sys/arch/alpha/conf/Makefile.alpha +++ b/sys/arch/alpha/conf/Makefile.alpha @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.alpha,v 1.35 1997/08/22 06:37:17 cgd Exp $ +# $NetBSD: Makefile.alpha,v 1.36 1997/09/30 22:39:49 christos Exp $ # Makefile for NetBSD # @@ -125,10 +125,17 @@ newvers: ${SYSTEM_DEP} ${SYSTEM_SWAP_DEP} ${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 linterrs makelinks genassym genassym.o assym.h + [Ee]rrs linterrs makelinks assym.h.tmp assym.h + +__CLEANDEPEND: .USE + rm -f .depend + +clean: __CLEANKERNEL + +cleandir: __CLEANKERNEL __CLEANDEPEND lint: @lint -hbxncez -Dvolatile= ${CPPFLAGS} -UKGDB \ diff --git a/sys/arch/amiga/conf/Makefile.amiga b/sys/arch/amiga/conf/Makefile.amiga index 90801ef247dd..c21c630076e5 100644 --- a/sys/arch/amiga/conf/Makefile.amiga +++ b/sys/arch/amiga/conf/Makefile.amiga @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.amiga,v 1.62 1997/09/12 08:13:29 mycroft Exp $ +# $NetBSD: Makefile.amiga,v 1.63 1997/09/30 22:46:47 christos Exp $ # Makefile for NetBSD # @@ -131,11 +131,17 @@ newvers: ${SYSTEM_DEP} ${SYSTEM_SWAP_DEP} 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 linterrs makelinks assym.h + [Ee]rrs linterrs makelinks assym.h.tmp assym.h + +__CLEANDEPEND: .USE + rm -f .depend + +clean: __CLEANKERNEL + +cleandir: __CLEANKERNEL __CLEANDEPEND lint: @lint -hbxncez -Dvolatile= ${CPPFLAGS} -UKGDB \ diff --git a/sys/arch/arm32/conf/Makefile.arm32 b/sys/arch/arm32/conf/Makefile.arm32 index f96753075037..4fc62077a2fd 100644 --- a/sys/arch/arm32/conf/Makefile.arm32 +++ b/sys/arch/arm32/conf/Makefile.arm32 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.arm32,v 1.25 1997/02/04 06:19:08 mark Exp $ +# $NetBSD: Makefile.arm32,v 1.26 1997/09/30 22:47:55 christos Exp $ # Makefile for NetBSD # @@ -125,11 +125,17 @@ newvers: ${SYSTEM_DEP} ${SYSTEM_SWAP_DEP} 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 linterrs makelinks genassym genassym.o assym.h + [Ee]rrs linterrs makelinks assym.h.tmp assym.h + +__CLEANDEPEND: .USE + rm -f .depend + +clean: __CLEANKERNEL + +cleandir: __CLEANKERNEL __CLEANDEPEND lint: @lint -hbxncez -Dvolatile= ${CPPFLAGS} -UKGDB \ diff --git a/sys/arch/atari/conf/Makefile.atari b/sys/arch/atari/conf/Makefile.atari index af004c701525..abe942ec8cb9 100644 --- a/sys/arch/atari/conf/Makefile.atari +++ b/sys/arch/atari/conf/Makefile.atari @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.atari,v 1.35 1997/09/12 07:59:26 mycroft Exp $ +# $NetBSD: Makefile.atari,v 1.36 1997/09/30 22:48:36 christos Exp $ # Makefile for NetBSD # @@ -131,11 +131,17 @@ newvers: ${SYSTEM_DEP} ${SYSTEM_SWAP_DEP} 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 linterrs makelinks assym.h + [Ee]rrs linterrs makelinks assym.h.tmp assym.h + +__CLEANDEPEND: .USE + rm -f .depend + +clean: __CLEANKERNEL + +cleandir: __CLEANKERNEL __CLEANDEPEND lint: @lint -hbxncez -Dvolatile= ${CPPFLAGS} -UKGDB \ diff --git a/sys/arch/hp300/conf/Makefile.hp300 b/sys/arch/hp300/conf/Makefile.hp300 index f655729c53bb..5a8bc0e65b35 100644 --- a/sys/arch/hp300/conf/Makefile.hp300 +++ b/sys/arch/hp300/conf/Makefile.hp300 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.hp300,v 1.57 1997/09/12 08:04:14 mycroft Exp $ +# $NetBSD: Makefile.hp300,v 1.58 1997/09/30 22:49:45 christos Exp $ # Makefile for NetBSD # @@ -123,11 +123,18 @@ newvers: ${SYSTEM_DEP} ${SYSTEM_SWAP_DEP} 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 linterrs makelinks assym.h.tmp assym.h +__CLEANDEPEND: .USE + rm -f .depend + +clean: __CLEANKERNEL + +cleandir: __CLEANKERNEL __CLEANDEPEND + lint: @lint -hbxncez -Dvolatile= ${CPPFLAGS} -UKGDB \ ${CFILES} ioconf.c param.c | \