Define lists of MK* variable names as _MKVARS.yes and _MKVARS.no. They're

referred to by syspkg.
This commit is contained in:
uebayasi 2009-12-02 14:11:20 +00:00
parent 52d0d7030d
commit 0cd6b4b257
1 changed files with 5 additions and 3 deletions

View File

@ -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_) .if !defined(_BSD_OWN_MK_)
_BSD_OWN_MK_=1 _BSD_OWN_MK_=1
@ -665,7 +665,7 @@ MKBINUTILS?= ${MKBFD}
# #
# MK* options which default to "yes". # MK* options which default to "yes".
# #
.for var in \ _MKVARS.yes= \
MKATF \ MKATF \
MKBINUTILS \ MKBINUTILS \
MKCATPAGES MKCRYPTO MKCOMPLEX MKCVS \ MKCATPAGES MKCRYPTO MKCOMPLEX MKCVS \
@ -685,13 +685,14 @@ MKBINUTILS?= ${MKBFD}
MKSHARE MKSKEY MKSTATICLIB \ MKSHARE MKSKEY MKSTATICLIB \
MKX11FONTS \ MKX11FONTS \
MKYP MKYP
.for var in ${_MKVARS.yes}
${var}?= yes ${var}?= yes
.endfor .endfor
# #
# MK* options which default to "no". # MK* options which default to "no".
# #
.for var in \ _MKVARS.no= \
MKCRYPTO_IDEA MKCRYPTO_MDC2 MKCRYPTO_RC5 MKDEBUG MKDEBUGLIB \ MKCRYPTO_IDEA MKCRYPTO_MDC2 MKCRYPTO_RC5 MKDEBUG MKDEBUGLIB \
MKEXTSRC \ MKEXTSRC \
MKLVM \ MKLVM \
@ -699,6 +700,7 @@ ${var}?= yes
MKPCC MKPCCCMDS \ MKPCC MKPCCCMDS \
MKSOFTFLOAT MKSTRIPIDENT \ MKSOFTFLOAT MKSTRIPIDENT \
MKUNPRIVED MKUPDATE MKX11 MKUNPRIVED MKUPDATE MKX11
.for var in ${_MKVARS.no}
${var}?=no ${var}?=no
.endfor .endfor