No empty .Rs/.Re
[netbsd-mini2440.git] / distrib / sets / mkvars.mk
blob9ca828a53c139ead0aea9dbd45c3ef479c33daef
1 # $NetBSD$
3 MKEXTRAVARS= \
4 MACHINE \
5 MACHINE_ARCH \
6 MACHINE_CPU \
7 HAVE_BINUTILS \
8 HAVE_GCC \
9 HAVE_GDB \
10 OBJECT_FMT \
11 TOOLCHAIN_MISSING \
12 EXTSRCS \
13 MKMANZ \
14 MKBFD \
15 MKCOMPAT \
16 MKDYNAMICROOT \
17 MKMANPAGES \
18 MKXORG \
19 X11FLAVOR \
20 USE_INET6 \
21 USE_KERBEROS \
22 USE_LDAP \
23 USE_YP \
24 NETBSDSRCDIR \
25 MAKEVERBOSE
27 #####
29 .include <bsd.own.mk>
31 .if (${MKMAN} == "no" || empty(MANINSTALL:Mmaninstall))
32 MKMANPAGES=no
33 .else
34 MKMANPAGES=yes
35 .endif
37 .if ${MKX11} != "no"
38 . if ${X11FLAVOUR} == "Xorg"
39 MKXORG:=yes
40 MKX11:=no
41 . else
42 MKXORG:=no
43 . endif
44 .endif
46 #####
48 mkvars: mkvarsyesno mkextravars .PHONY
50 mkvarsyesno: .PHONY
51 .for i in ${_MKVARS.yes}
52 @echo $i="${$i}"
53 .endfor
54 .for i in ${_MKVARS.no}
55 @echo $i="${$i}"
56 .endfor
58 mkextravars: .PHONY
59 .for i in ${MKEXTRAVARS}
60 @echo $i="${$i}"
61 .endfor