PR/4162: Chris Jones: make cleandir does not work properly; it does not
remove the object files and the .depend file in the kernel build directory.
This commit is contained in:
parent
ce5ef83f97
commit
3996b53189
@ -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 \
|
||||
|
@ -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 \
|
||||
|
@ -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 \
|
||||
|
@ -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 \
|
||||
|
@ -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 | \
|
||||
|
Loading…
Reference in New Issue
Block a user