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.289.2.4 retrieving revision 1.299.2.1 diff -u -p -r1.289.2.4 -r1.299.2.1 --- src/Makefile 2013/01/16 05:25:52 1.289.2.4 +++ src/Makefile 2012/11/20 02:57:27 1.299.2.1 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.289.2.4 2013/01/16 05:25:52 yamt Exp $ +# $NetBSD: Makefile,v 1.299.2.1 2012/11/20 02:57:27 tls Exp $ # # This is the top-level makefile for building NetBSD. For an outline of @@ -259,11 +259,11 @@ includes-gnu: .PHONY includes-lib # # This is referenced by _NETBSD_VERSION_DEPENDS in . # -.include "${NETBSDSRCDIR}/etc/Makefile.params" + CLEANDIRFILES+= params params: .EXEC ${_MKMSG_CREATE} params - @${PRINT_PARAMS} >${.TARGET}.new + @(${MAKEDIRTARGET:S/^@//} etc params) >${.TARGET}.new @if cmp -s ${.TARGET}.new ${.TARGET} > /dev/null 2>&1; then \ : "params is unchanged" ; \ rm ${.TARGET}.new ; \ @@ -273,12 +273,6 @@ params: .EXEC fi # -# Display current make(1) parameters -# -show-params: .PHONY .MAKE - @${PRINT_PARAMS} - -# # Build the system and install into DESTDIR. # @@ -527,3 +521,9 @@ dependall-distrib depend-distrib all-dis .include .include .include + +# +# Display current make(1) parameters +# +show-params: .PHONY .MAKE + ${MAKEDIRTARGET} etc params