Files
freebsd/gnu/usr.bin/Makefile
T
Enji Cooper 97e028fcd4 MFC r306375,r307802:
r306375 (by emaste):

Add a WITHOUT_DIALOG src.conf(5) knob

It also turns off dependencies (bsdinstall, bsdconfig, dpv, tzsetup).

r307802 (by bapt):

Fix build of tzsetup when WITHOUT_DIALOG is set

Hide dialog specific code behind HAVE_DIALOG. It allows to build a stripped
down version (missing the dialog UI) but perfectly function tzsetup when
world is built WITHOUT_DIALOG

Reorganise a bit the code to limit the number of blocks under HAVE_DIALOG
2017-05-30 07:28:27 +00:00

56 lines
659 B
Makefile

# $FreeBSD$
.include <src.opts.mk>
SUBDIR= ${_binutils} \
${_cc} \
diff \
diff3 \
${_dtc} \
${_gdb} \
${_gperf} \
grep \
${_groff} \
${_rcs} \
${_tests}
SUBDIR_DEPEND_gdb= ${_binutils}
.if ${MK_CXX} != "no"
.if ${MK_GCC} != "no"
_gperf= gperf
.endif
.if ${MK_GROFF} != "no"
_groff= groff
.endif
.endif
.if ${MK_GPL_DTC} != "no"
_dtc= dtc
.endif
.if ${MK_RCS} != "no"
_rcs= rcs
.endif
.if ${MK_TESTS} != "no"
_tests= tests
.endif
.if ${MK_BINUTILS} != "no"
_binutils= binutils
.if ${MK_GDB} != "no"
_gdb= gdb
.endif
.endif
.if ${MK_GCC} != "no"
_cc= cc
.endif
SUBDIR.${MK_DIALOG}+= dialog
SUBDIR_PARALLEL=
.include <bsd.subdir.mk>