Honor MK_AT, MK_FTP, MK_MAIL, and MK_OPENSSH

This commit is contained in:
Enji Cooper 2014-11-30 00:51:00 +00:00
parent b4f9f0de1d
commit ba9cbbdb5a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/projects/building-blocks/; revision=275291

View File

@ -5,16 +5,34 @@ NO_OBJ=
.include <src.opts.mk>
FILES= README \
atrun \
cron \
ftpd \
imap \
login \
other \
passwd pop3 \
sshd su system \
passwd \
su \
system \
xdm
LINKS=
.if ${MK_AT} != "no"
FILES+= atrun
.endif
.if ${MK_FTP} != "no"
FILES+= ftpd
LINKS+= ${FILESDIR}/ftpd ${FILESDIR}/ftp
.endif
.if ${MK_MAIL} != "no"
FILES+= imap
FILES+= pop3
.endif
.if ${MK_OPENSSH} != "no"
FILES+= sshd
.endif
.if ${MK_RCMDS} != "no"
FILES+= rsh
.endif
@ -26,6 +44,5 @@ FILES+= telnetd
FILESDIR= /etc/pam.d
FILESMODE= 644
FILESMODE_README= 444
LINKS= ${FILESDIR}/ftpd ${FILESDIR}/ftp
.include <bsd.prog.mk>