Add MK_TIMED option for optionally building usr.sbin/timed, et al

This commit is contained in:
Enji Cooper 2014-11-26 13:25:09 +00:00
parent 046cc7b93e
commit a3f5edf093
5 changed files with 20 additions and 2 deletions

View File

@ -137,7 +137,6 @@ FILES= DAEMON \
syscons \
sysctl \
syslogd \
timed \
tmp \
${_ubthidhci} \
ugidfw \
@ -236,6 +235,10 @@ FILES+= ftp-proxy
FILES+= rwho
.endif
.if ${MK_TIMED} != "no"
FILES+= timed
.endif
.if ${MK_UNBOUND} != "no"
_unbound= local_unbound
.endif

View File

@ -157,6 +157,7 @@ __DEFAULT_YES_OPTIONS = \
TESTS \
TEXTPROC \
TFTP \
TIMED \
UNBOUND \
USB \
UTMPX \

View File

@ -4911,6 +4911,14 @@ OLD_FILES+=${TESTS_FILES}
. endif
.endif # Test suite.
.if ${MK_TIMED} == no
OLD_FILES+=etc/rc.d/timed
OLD_FILES+=usr/sbin/timed
OLD_FILES+=usr/sbin/timedc
OLD_FILES+=usr/share/man/man8/timed.8.gz
OLD_FILES+=usr/share/man/man8/timedc.8.gz
.endif
#.if ${MK_TOOLCHAIN} == no
# to be filled in
#.endif

View File

@ -0,0 +1,3 @@
.\" $FreeBSD$
Set to not build or install
.Xr timed 8 .

View File

@ -82,7 +82,6 @@ SUBDIR= adduser \
sysrc \
tcpdrop \
tcpdump \
timed \
traceroute \
trpt \
tzsetup \
@ -307,6 +306,10 @@ SUBDIR+= tcpdmatch
SUBDIR+= tests
.endif
.if ${MK_TIMED} != "no"
SUBDIR+= timed
.endif
.if ${MK_TOOLCHAIN} != "no"
SUBDIR+= config
SUBDIR+= crunch