Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/share/mk/bsd.prog.mk,v rcsdiff: /ftp/cvs/cvsroot/src/share/mk/bsd.prog.mk,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.239 retrieving revision 1.239.2.1 diff -u -p -r1.239 -r1.239.2.1 --- src/share/mk/bsd.prog.mk 2008/10/19 15:22:50 1.239 +++ src/share/mk/bsd.prog.mk 2008/12/06 21:56:37 1.239.2.1 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.prog.mk,v 1.239 2008/10/19 15:22:50 christos Exp $ +# $NetBSD: bsd.prog.mk,v 1.239.2.1 2008/12/06 21:56:37 snj Exp $ # @(#)bsd.prog.mk 8.2 (Berkeley) 4/2/94 .ifndef HOSTPROG @@ -27,11 +27,6 @@ clean: cleanprog echo "source ${__gdbinit}" >> .gdbinit .endfor -cleanextra: .PHONY -.if defined(CLEANFILES) && !empty(CLEANFILES) - rm -f ${CLEANFILES} -.endif - cleanobjs: .PHONY cleanprog: .PHONY cleanobjs cleanextra @@ -455,6 +450,11 @@ scriptsinstall:: .include .include +cleanextra: .PHONY +.if defined(CLEANFILES) && !empty(CLEANFILES) + rm -f ${CLEANFILES} +.endif + ${TARGETS}: # ensure existence .endif # HOSTPROG