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.292 retrieving revision 1.297 diff -u -p -r1.292 -r1.297 --- src/Makefile 2012/04/21 08:28:00 1.292 +++ src/Makefile 2012/08/14 13:12:15 1.297 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.292 2012/04/21 08:28:00 veego Exp $ +# $NetBSD: Makefile,v 1.297 2012/08/14 13:12:15 apb Exp $ # # This is the top-level makefile for building NetBSD. For an outline of @@ -188,20 +188,26 @@ afterinstall: .PHONY .MAKE .endif _POSTINSTALL= ${.CURDIR}/usr.sbin/postinstall/postinstall +_POSTINSTALL_ENV= \ + AWK=${TOOL_AWK:Q} \ + DB=${TOOL_DB:Q} \ + MAKE=${MAKE:Q} \ + PWD_MKDB=${TOOL_PWD_MKDB:Q} \ + STAT=${TOOL_STAT:Q} postinstall-check: .PHONY @echo " === Post installation checks ===" - AWK=${TOOL_AWK:Q} MAKE=${MAKE:Q} ${HOST_SH} ${_POSTINSTALL} -s ${.CURDIR} -d ${DESTDIR}/ check; if [ $$? -gt 1 ]; then exit 1; fi + ${_POSTINSTALL_ENV} ${HOST_SH} ${_POSTINSTALL} -s ${.CURDIR} -d ${DESTDIR}/ check; if [ $$? -gt 1 ]; then exit 1; fi @echo " ================================" postinstall-fix: .NOTMAIN .PHONY @echo " === Post installation fixes ===" - AWK=${TOOL_AWK:Q} MAKE=${MAKE:Q} ${HOST_SH} ${_POSTINSTALL} -s ${.CURDIR} -d ${DESTDIR}/ fix + ${_POSTINSTALL_ENV} ${HOST_SH} ${_POSTINSTALL} -s ${.CURDIR} -d ${DESTDIR}/ fix @echo " ===============================" postinstall-fix-obsolete: .NOTMAIN .PHONY @echo " === Removing obsolete files ===" - AWK=${TOOL_AWK:Q} MAKE=${MAKE:Q} ${HOST_SH} ${_POSTINSTALL} -s ${.CURDIR} -d ${DESTDIR}/ fix obsolete + ${_POSTINSTALL_ENV} ${HOST_SH} ${_POSTINSTALL} -s ${.CURDIR} -d ${DESTDIR}/ fix obsolete @echo " ===============================" @@ -256,8 +262,10 @@ BUILDTARGETS+= do-lib .if ${MKKMOD} != "no" BUILDTARGETS+= do-sys-modules .endif +.if ${MKRUMP} != "no" BUILDTARGETS+= do-sys-rump-dev-lib do-sys-rump-fs-lib BUILDTARGETS+= do-sys-rump-kern-lib do-sys-rump-net-lib +.endif .if ${MKCOMPAT} != "no" BUILDTARGETS+= do-compat-lib-csu BUILDTARGETS+= do-compat-libgcc