opnsense-src/gnu/usr.bin/Makefile
Jung-uk Kim 2ddf40c67d MFC: r208320
Add a new build option, MAN_UTILS.  This option lets you control building
utilities and related support files for manual pages, which were previously
controlled by MAN.  For POLA, the default depends on MAN, i.e., WITHOUT_MAN
implies WITHOUT_MAN_UTILS and WITH_MAN implies WITH_MAN_UTILS.
Note this patch implicitly fixes a documentation bug of src.conf(5), which
says WITHOUT_MAN may be used to not build manual pages while it was also
disabling some utilities for manual pages.

Approved by:	re (kib)
2010-05-25 20:16:36 +00:00

64 lines
746 B
Makefile

# $FreeBSD$
.include <bsd.own.mk>
SUBDIR= bc \
${_binutils} \
${_cc} \
${_cvs} \
dc \
dialog \
diff \
diff3 \
${_gdb} \
${_gperf} \
${_grep} \
${_groff} \
${_man} \
patch \
${_rcs} \
sdiff \
send-pr \
sort \
${_texinfo}
.if ${MACHINE_ARCH} == "mips"
MK_GDB=no # not yet
.endif
.if ${MK_CXX} != "no"
_gperf= gperf
.if ${MK_GROFF} != "no"
_groff= groff
.endif
.endif
.if ${MK_CVS} != "no"
_cvs= cvs
.endif
.if ${MK_GNU_GREP} != "no"
_grep= grep
.endif
.if ${MK_INFO} != "no"
_texinfo= texinfo
.endif
.if ${MK_MAN_UTILS} != "no"
_man= man
.endif
.if ${MK_RCS} != "no"
_rcs= rcs
.endif
.if ${MK_TOOLCHAIN} != "no"
_binutils= binutils
_cc= cc
.if ${MK_GDB} != "no"
_gdb= gdb
.endif
.endif
.include <bsd.subdir.mk>