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/Makefile,v retrieving revision 1.299.2.1 retrieving revision 1.300 diff -u -p -r1.299.2.1 -r1.300 --- src/Makefile 2012/11/20 02:57:27 1.299.2.1 +++ src/Makefile 2012/11/04 11:02:11 1.300 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.299.2.1 2012/11/20 02:57:27 tls Exp $ +# $NetBSD: Makefile,v 1.300 2012/11/04 11:02:11 apb Exp $ # # This is the top-level makefile for building NetBSD. For an outline of @@ -92,6 +92,8 @@ # obj: creates object directories. # do-distrib-dirs: creates the distribution directories. # includes: installs include files. +# do-tools-compat: builds the "libnbcompat" library; needed for some +# random host tool programs in the source tree. # do-lib: builds and installs prerequisites from lib # if ${MKCOMPAT} != "no". # do-compat-lib: builds and installs prerequisites from compat/lib @@ -453,8 +455,12 @@ do-${targ}: .PHONY ${targ} @true .endfor -do-tools: .PHONY .MAKE - ${MAKEDIRTARGET} tools build_install +.for dir in tools tools/compat +do-${dir:S/\//-/g}: .PHONY .MAKE +.for targ in dependall install + ${MAKEDIRTARGET} ${dir} ${targ} +.endfor +.endfor do-lib: .PHONY .MAKE ${MAKEDIRTARGET} lib build_install