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 retrieving revision 1.239 retrieving revision 1.239.2.2 diff -u -p -r1.239 -r1.239.2.2 --- src/share/mk/bsd.prog.mk 2008/10/19 15:22:50 1.239 +++ src/share/mk/bsd.prog.mk 2009/06/06 22:10:12 1.239.2.2 @@ -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.2 2009/06/06 22:10:12 bouyer 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 @@ -447,6 +442,9 @@ scriptsinstall:: .PHONY: scriptsinstall ##### Pull in related .mk logic +LINKSOWN?= ${BINOWN} +LINKSGRP?= ${BINGRP} +LINKSMODE?= ${BINMODE} .include .include .include @@ -455,6 +453,11 @@ scriptsinstall:: .include .include +cleanextra: .PHONY +.if defined(CLEANFILES) && !empty(CLEANFILES) + rm -f ${CLEANFILES} +.endif + ${TARGETS}: # ensure existence .endif # HOSTPROG