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.207 retrieving revision 1.209 diff -u -p -r1.207 -r1.209 --- src/Makefile 2003/06/26 17:46:56 1.207 +++ src/Makefile 2003/07/06 13:04:01 1.209 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.207 2003/06/26 17:46:56 drochner Exp $ +# $NetBSD: Makefile,v 1.209 2003/07/06 13:04:01 lukem Exp $ # # This is the top-level makefile for building NetBSD. For an outline of @@ -61,16 +61,18 @@ # cleandir: cleans the tree. # obj: creates object directories. # do-tools: builds host toolchain. -# do-tools-compat: builds the "libnbcompat" library; needed for some -# random host tool programs in the source tree. # 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-gnu-lib-libgcc: builds and installs prerequisites from gnu/lib/libgcc # do-lib-csu: builds and installs prerequisites from lib/csu. # do-lib-libc: builds and installs prerequisites from lib/libc. # do-lib: builds and installs prerequisites from lib. # do-gnu-lib: builds and installs prerequisites from gnu/lib. # do-ld.so: builds and installs prerequisites from libexec/ld.*_so. # do-build: builds and installs the entire system. +# do-obsolete: builds and installs the entire system. # .if ${.MAKEFLAGS:M${.CURDIR}/share/mk} == "" @@ -346,8 +348,26 @@ dependall-distrib depend-distrib all-dis @true .include +.include .include build-docs: ${.CURDIR}/BUILDING ${.CURDIR}/BUILDING: doc/BUILDING.mdoc groff -mdoc -Tascii -P-b -P-u -P-o $> >$@ + + +# +# Display current make(1) parameters +# +params: +.for var in BSDSRCDIR BSDOBJDIR BUILDID DESTDIR EXTERNAL_TOOLCHAIN \ + KERNARCHDIR KERNCONFDIR KERNOBJDIR KERNSRCDIR \ + MACHINE MACHINE_ARCH MAKEFLAGS MAKEOBJDIR MAKEOBJDIRPREFIX \ + MKOBJDIRS RELEASEDIR TOOLCHAIN_MISSING TOOLDIR \ + UNPRIVED UPDATE USETOOLS +.if defined(${var}) + @printf "%20s = '%-s'\n" ${var} ${${var}:Q} +.else + @printf "%20s = (undefined)\n" ${var} +.endif +.endfor