Remove building with NOCRYPTO option
[minix.git] / distrib / sets / mkvars.mk
blobbe9f153c445f4fa60746c68b5a37d021575e1bff
1 # $NetBSD: mkvars.mk,v 1.24 2015/07/23 08:03:25 mrg Exp $
3 MKEXTRAVARS= \
4 MACHINE \
5 MACHINE_ARCH \
6 MACHINE_CPU \
7 HAVE_GCC \
8 HAVE_GDB \
9 HAVE_LIBGCC_EH \
10 HAVE_SSP \
11 OBJECT_FMT \
12 TOOLCHAIN_MISSING \
13 EXTSRCS \
14 MKMANZ \
15 MKBFD \
16 MKCOMPAT \
17 MKCOMPATTESTS \
18 MKCOMPATMODULES \
19 MKDYNAMICROOT \
20 MKMANPAGES \
21 MKSLJIT \
22 MKSOFTFLOAT \
23 MKXORG \
24 MKXORG_SERVER \
25 MKRADEONFIRMWARE \
26 USE_INET6 \
27 USE_KERBEROS \
28 USE_LDAP \
29 USE_YP \
30 NETBSDSRCDIR \
31 MAKEVERBOSE \
32 TARGET_ENDIANNESS \
33 EABI \
34 ARCH64
36 #####
38 .include <bsd.own.mk>
39 .include <bsd.endian.mk>
41 .if (${MKMAN} == "no" || empty(MANINSTALL:Mmaninstall))
42 MKMANPAGES=no
43 .else
44 MKMANPAGES=yes
45 .endif
47 .if ${MKCOMPAT} != "no"
48 ARCHDIR_SUBDIR:=
49 .include "${NETBSDSRCDIR}/compat/archdirs.mk"
50 COMPATARCHDIRS:=${ARCHDIR_SUBDIR:T}
51 .endif
53 .if ${MKKMOD} != "no" && ${MKCOMPATMODULES} != "no"
54 ARCHDIR_SUBDIR:=
55 .include "${NETBSDSRCDIR}/sys/modules/arch/archdirs.mk"
56 KMODARCHDIRS:=${ARCHDIR_SUBDIR:T}
57 .endif
59 .if ${MKX11} != "no"
60 MKXORG:=yes
61 # We have to force this off, because "MKX11" is still an option
62 # that is in _MKVARS.
63 MKX11:=no
64 .endif
66 .if (!empty(MACHINE_ARCH:Mearm*))
67 EABI=yes
68 .else
69 EABI=no
70 .endif
72 .if (!empty(MACHINE_ARCH:M*64*) || ${MACHINE_ARCH} == alpha)
73 ARCH64=yes
74 .else
75 ARCH64=no
76 .endif
78 #####
80 mkvars: mkvarsyesno mkextravars mksolaris .PHONY
82 mkvarsyesno: .PHONY
83 .for i in ${_MKVARS.yes}
84 @echo $i="${$i}"
85 .endfor
86 .for i in ${_MKVARS.no}
87 @echo $i="${$i}"
88 .endfor
90 mkextravars: .PHONY
91 .for i in ${MKEXTRAVARS}
92 @echo $i="${$i}"
93 .endfor
94 .if ${MKCOMPAT} != "no"
95 @echo COMPATARCHDIRS=${COMPATARCHDIRS} | ${TOOL_SED} -e's/ /,/g'
96 .else
97 @echo COMPATARCHDIRS=
98 .endif
99 .if ${MKKMOD} != "no" && ${MKCOMPATMODULES} != "no"
100 @echo KMODARCHDIRS=${KMODARCHDIRS} | ${TOOL_SED} -e's/ /,/g'
101 .else
102 @echo KMODARCHDIRS=
103 .endif
105 mksolaris: .PHONY
106 .if (${MKDTRACE} != "no" || ${MKZFS} != "no")
107 @echo MKSOLARIS="yes"
108 .else
109 @echo MKSOLARIS="no"
110 .endif
112 .include <bsd.files.mk>