Make ccd(4), et al conditional based on MK_CCD

This commit is contained in:
Enji Cooper 2014-12-02 19:53:55 +00:00
parent 488ced8671
commit 210607205f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/projects/building-blocks/; revision=275421
7 changed files with 33 additions and 8 deletions

View File

@ -20,7 +20,6 @@ FILES= DAEMON \
${_bsnmpd} \ ${_bsnmpd} \
${_bthidd} \ ${_bthidd} \
${_casperd} \ ${_casperd} \
ccd \
cleanvar \ cleanvar \
cleartmp \ cleartmp \
cron \ cron \
@ -167,6 +166,10 @@ _bsnmpd= bsnmpd
_casperd= casperd _casperd= casperd
.endif .endif
.if ${MK_CCD} != "no"
FILES+= ccd
.endif
.if ${MK_FTP} != "no" .if ${MK_FTP} != "no"
FILES+= ftpd FILES+= ftpd
.endif .endif
@ -226,10 +229,6 @@ FILES+= lpd
FILES+= ugidfw FILES+= ugidfw
.endif .endif
.if ${MK_NS_CACHING} != "no"
_nscd= nscd
.endif
.if ${MK_KERBEROS} != "no" .if ${MK_KERBEROS} != "no"
FILES+= ipropd_master FILES+= ipropd_master
FILES+= ipropd_slave FILES+= ipropd_slave
@ -260,6 +259,10 @@ FILES+= ypupdated
FILES+= ypxfrd FILES+= ypxfrd
.endif .endif
.if ${MK_NS_CACHING} != "no"
_nscd= nscd
.endif
.if ${MK_NTP} != "no" .if ${MK_NTP} != "no"
FILES+= ntpd FILES+= ntpd
FILES+= ntpdate FILES+= ntpdate

View File

@ -8,7 +8,6 @@
SUBDIR=adjkerntz \ SUBDIR=adjkerntz \
badsect \ badsect \
camcontrol \ camcontrol \
ccdconfig \
clri \ clri \
comcontrol \ comcontrol \
conscontrol \ conscontrol \
@ -78,6 +77,10 @@ SUBDIR+= atm
SUBDIR+= casperd SUBDIR+= casperd
.endif .endif
.if ${MK_CCD} != "no"
SUBDIR+= ccdconfig
.endif
.if ${MK_CXX} != "no" .if ${MK_CXX} != "no"
SUBDIR+= devd SUBDIR+= devd
.endif .endif

View File

@ -91,7 +91,7 @@ MAN= aac.4 \
cc_htcp.4 \ cc_htcp.4 \
cc_newreno.4 \ cc_newreno.4 \
cc_vegas.4 \ cc_vegas.4 \
ccd.4 \ ${_ccd.4} \
cd.4 \ cd.4 \
cdce.4 \ cdce.4 \
ch.4 \ ch.4 \
@ -743,6 +743,10 @@ SUBDIR= man4.${MACHINE_CPUARCH}
_bhyve.4= bhyve.4 _bhyve.4= bhyve.4
.endif .endif
.if ${MK_CCD} != "no"
_ccd.4= ccd.4
.endif
.if ${MK_ISCSI} != "no" .if ${MK_ISCSI} != "no"
MAN+= iscsi.4 MAN+= iscsi.4
MAN+= iscsi_initiator.4 MAN+= iscsi_initiator.4

View File

@ -67,6 +67,7 @@ __DEFAULT_YES_OPTIONS = \
CALENDAR \ CALENDAR \
CAPSICUM \ CAPSICUM \
CASPER \ CASPER \
CCD \
CDDL \ CDDL \
CPP \ CPP \
CROSS_COMPILER \ CROSS_COMPILER \

View File

@ -25,6 +25,7 @@
__DEFAULT_YES_OPTIONS = \ __DEFAULT_YES_OPTIONS = \
AUTOFS \ AUTOFS \
BLUETOOTH \ BLUETOOTH \
CCD \
CDDL \ CDDL \
CRYPT \ CRYPT \
FORMAT_EXTENSIONS \ FORMAT_EXTENSIONS \

View File

@ -1,8 +1,10 @@
# $FreeBSD$ # $FreeBSD$
SYSDIR?=${.CURDIR}/../..
.include "${SYSDIR}/conf/kern.opts.mk"
SUBDIR= geom_bde \ SUBDIR= geom_bde \
geom_cache \ geom_cache \
geom_ccd \
geom_concat \ geom_concat \
geom_eli \ geom_eli \
geom_gate \ geom_gate \
@ -25,4 +27,8 @@ SUBDIR= geom_bde \
geom_virstor \ geom_virstor \
geom_zero geom_zero
.if ${MK_CCD} != "no" || defined(ALL_MODULES)
SUBDIR+= geom_ccd
.endif
.include <bsd.subdir.mk> .include <bsd.subdir.mk>

View File

@ -934,6 +934,13 @@ OLD_FILES+=sbin/casper
OLD_FILES+=usr/lib/libcasper.a OLD_FILES+=usr/lib/libcasper.a
.endif .endif
.if ${MK_CCD} == no
OLD_FILES+=etc/rc.d/ccd
OLD_FILES+=sbin/ccdconfig
OLD_FILES+=usr/share/man/man4/ccd.4.gz
OLD_FILES+=usr/share/man/man8/ccdconfig.8.gz
.endif
.if ${MK_CDDL} == no .if ${MK_CDDL} == no
OLD_LIBS+=lib/libavl.so.2 OLD_LIBS+=lib/libavl.so.2
OLD_LIBS+=lib/libctf.so.2 OLD_LIBS+=lib/libctf.so.2