1 # $NetBSD: mkvars.mk,v 1.24 2015/07/23 08:03:25 mrg Exp $
39 .
include <bsd.endian.mk
>
41 .if
(${MKMAN} == "no" || empty
(MANINSTALL
:Mmaninstall
))
47 .if
${MKCOMPAT} != "no"
49 .
include "${NETBSDSRCDIR}/compat/archdirs.mk"
50 COMPATARCHDIRS
:=${ARCHDIR_SUBDIR
:T
}
53 .if
${MKKMOD} != "no" && ${MKCOMPATMODULES} != "no"
55 .
include "${NETBSDSRCDIR}/sys/modules/arch/archdirs.mk"
56 KMODARCHDIRS
:=${ARCHDIR_SUBDIR
:T
}
61 # We have to force this off, because "MKX11" is still an option
66 .if
(!empty
(MACHINE_ARCH
:Mearm
*))
72 .if
(!empty
(MACHINE_ARCH
:M
*64*) ||
${MACHINE_ARCH} == alpha
)
80 mkvars
: mkvarsyesno mkextravars mksolaris .PHONY
83 .for i in
${_MKVARS.yes
}
86 .for i in
${_MKVARS.no
}
91 .for i in
${MKEXTRAVARS}
94 .if
${MKCOMPAT} != "no"
95 @echo COMPATARCHDIRS
=${COMPATARCHDIRS} |
${TOOL_SED} -e
's/ /,/g'
99 .if
${MKKMOD} != "no" && ${MKCOMPATMODULES} != "no"
100 @echo KMODARCHDIRS
=${KMODARCHDIRS} |
${TOOL_SED} -e
's/ /,/g'
106 .if
(${MKDTRACE} != "no" ||
${MKZFS} != "no")
107 @echo MKSOLARIS
="yes"
112 .
include <bsd.files.mk
>