Module Name: src
Committed By: uebayasi
Date: Wed Dec 2 14:11:20 UTC 2009
Modified Files:
src/share/mk: bsd.own.mk
Log Message:
Define lists of MK* variable names as _MKVARS.yes and _MKVARS.no. They're
referred to by syspkg.
To generate a diff of this commit:
cvs rdiff -u -r1.599 -r1.600 src/share/mk/bsd.own.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/mk/bsd.own.mk
diff -u src/share/mk/bsd.own.mk:1.599 src/share/mk/bsd.own.mk:1.600
--- src/share/mk/bsd.own.mk:1.599 Tue Dec 1 09:09:40 2009
+++ src/share/mk/bsd.own.mk Wed Dec 2 14:11:20 2009
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.own.mk,v 1.599 2009/12/01 09:09:40 uebayasi Exp $
+# $NetBSD: bsd.own.mk,v 1.600 2009/12/02 14:11:20 uebayasi Exp $
.if !defined(_BSD_OWN_MK_)
_BSD_OWN_MK_=1
@@ -665,7 +665,7 @@
#
# MK* options which default to "yes".
#
-.for var in \
+_MKVARS.yes= \
MKATF \
MKBINUTILS \
MKCATPAGES MKCRYPTO MKCOMPLEX MKCVS \
@@ -685,13 +685,14 @@
MKSHARE MKSKEY MKSTATICLIB \
MKX11FONTS \
MKYP
+.for var in ${_MKVARS.yes}
${var}?= yes
.endfor
#
# MK* options which default to "no".
#
-.for var in \
+_MKVARS.no= \
MKCRYPTO_IDEA MKCRYPTO_MDC2 MKCRYPTO_RC5 MKDEBUG MKDEBUGLIB \
MKEXTSRC \
MKLVM \
@@ -699,6 +700,7 @@
MKPCC MKPCCCMDS \
MKSOFTFLOAT MKSTRIPIDENT \
MKUNPRIVED MKUPDATE MKX11
+.for var in ${_MKVARS.no}
${var}?=no
.endfor