Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib/sets Don't hardcode the list of MK* variables but us...



details:   https://anonhg.NetBSD.org/src/rev/ae91ef1636d1
branches:  trunk
changeset: 749559:ae91ef1636d1
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Wed Dec 02 14:13:12 2009 +0000

description:
Don't hardcode the list of MK* variables but use ${_MKVARS.yes} and
${_MKVARS.no} provided by bsd.own.mk.

diffstat:

 distrib/sets/sets.subr |  52 ++-----------------------------------------------
 1 files changed, 3 insertions(+), 49 deletions(-)

diffs (80 lines):

diff -r cc84fcf39bec -r ae91ef1636d1 distrib/sets/sets.subr
--- a/distrib/sets/sets.subr    Wed Dec 02 14:11:20 2009 +0000
+++ b/distrib/sets/sets.subr    Wed Dec 02 14:13:12 2009 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: sets.subr,v 1.93 2009/12/01 15:49:21 apb Exp $
+#      $NetBSD: sets.subr,v 1.94 2009/12/02 14:13:12 uebayasi Exp $
 #
 
 #
@@ -24,52 +24,6 @@
 # as well as:
 #
 MKVARS="\
-       MKBFD           \
-       MKBINUTILS      \
-       MKCATPAGES      \
-       MKCOMPAT        \
-       MKCRYPTO        \
-       MKCRYPTO_IDEA   \
-       MKCRYPTO_MDC2   \
-       MKCRYPTO_RC5    \
-       MKCVS           \
-       MKDEBUG         \
-       MKDEBUGLIB      \
-       MKDOC           \
-       MKDYNAMICROOT   \
-       MKEXTSRC        \
-       MKGCC           \
-       MKGCCCMDS       \
-       MKGDB           \
-       MKHESIOD        \
-       MKHTML          \
-       MKINET6         \
-       MKINFO          \
-       MKIPFILTER      \
-       MKISCSI         \
-       MKKERBEROS      \
-       MKKMOD          \
-       MKLDAP          \
-       MKLINT          \
-       MKLVM           \
-       MKMAN           \
-       MKMANPAGES      \
-       MKMANZ          \
-       MKMDNS          \
-       MKNLS           \
-       MKNVI           \
-       MKPAM           \
-       MKPF            \
-       MKPIC           \
-       MKPOSTFIX       \
-       MKPROFILE       \
-       MKSHARE         \
-       MKSKEY          \
-       MKX11           \
-       MKX11FONTS      \
-       MKXORG          \
-       MKYP            \
-       MKZFS           \
        USE_INET6       \
        USE_KERBEROS    \
        USE_LDAP        \
@@ -187,7 +141,7 @@
 all:
 .for i in MACHINE MACHINE_ARCH MACHINE_CPU \
                HAVE_BINUTILS HAVE_GCC HAVE_GDB OBJECT_FMT TOOLCHAIN_MISSING \
-               ${MKVARS}
+               \${_MKVARS.yes} \${_MKVARS.no}
        @echo "export \$i=\${\$i}"
 .endfor
 
@@ -241,7 +195,7 @@
 # In each file, a record consists of a path and a System Package name,
 # separated by whitespace. E.g.,
 #
-#      # $NetBSD: sets.subr,v 1.93 2009/12/01 15:49:21 apb Exp $
+#      # $NetBSD: sets.subr,v 1.94 2009/12/02 14:13:12 uebayasi Exp $
 #      .                       base-sys-root   [keyword[,...]]
 #      ./altroot               base-sys-root
 #      ./bin                   base-sys-root



Home | Main Index | Thread Index | Old Index