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 rcsdiff: /ftp/cvs/cvsroot/src/Makefile,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.274 retrieving revision 1.275 diff -u -p -r1.274 -r1.275 --- src/Makefile 2009/09/04 17:21:33 1.274 +++ src/Makefile 2009/11/30 16:13:22 1.275 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.274 2009/09/04 17:21:33 pooka Exp $ +# $NetBSD: Makefile,v 1.275 2009/11/30 16:13:22 uebayasi Exp $ # # This is the top-level makefile for building NetBSD. For an outline of @@ -108,6 +108,7 @@ # do-x11: builds and installs X11 if ${MKX11} != "no"; either # X11R7 from src/external/mit/xorg if ${X11FLAVOUR} == "Xorg" # or X11R6 from src/x11 +# do-extsrc: builds and installs extsrc if ${MKEXTSRC} != "no". # do-obsolete: installs the obsolete sets (for the postinstall-* targets). # @@ -252,6 +253,9 @@ BUILDTARGETS+= do-build .if ${MKX11} != "no" BUILDTARGETS+= do-x11 .endif +.if ${MKEXTSRC} != "no" +BUILDTARGETS+= do-extsrc +.endif BUILDTARGETS+= do-obsolete # @@ -482,6 +486,14 @@ do-x11: .PHONY .MAKE @false .endif +do-extsrc: .PHONY .MAKE +.if ${MKEXTSRC} != "no" + ${MAKEDIRTARGET} extsrc build +.else + @echo "MKEXTSRC is not enabled" + @false +.endif + do-obsolete: .PHONY .MAKE ${MAKEDIRTARGET} etc install-obsolete-lists