freebsd-dev/libexec/Makefile
Bjoern A. Zeeb 0696600c41 Move the rc framework out of sbin/init into libexec/rc.
The reasons for this are forward looking to pkgbase:
 * /sbin/init is a special binary; try not to replace it with
   every package update because an rc script was touched.
   (a follow-up commit will make init its own package)
 * having rc in its own place will allow more easy replacement
   of the rc framework with alternatives, such as openrc.

Discussed with:		brd (during BSDCam), kmoore
Requested by:		cem, bz
PR:			231522
Approved by:		re (gjb)
2018-10-17 16:49:11 +00:00

116 lines
1.5 KiB
Makefile

# @(#)Makefile 8.1 (Berkeley) 6/4/93
# $FreeBSD$
.include <src.opts.mk>
SUBDIR= ${_atf} \
${_atrun} \
${_blacklistd-helper} \
${_comsat} \
${_dma} \
getty \
${_mail.local} \
${_makewhatis.local} \
${_mknetid} \
${_pppoed} \
rc \
revnetgroup \
${_rlogind} \
rpc.rquotad \
rpc.rstatd \
rpc.rusersd \
rpc.rwalld \
rpc.sprayd \
${_rshd} \
${_rtld-elf} \
save-entropy \
${_smrsh} \
${_telnetd} \
${_tests} \
${_tftp-proxy} \
ulog-helper \
${_ypxfr}
.if ${MK_AT} != "no"
_atrun= atrun
.endif
.if ${MK_BLACKLIST} != "no"
_blacklistd-helper+= blacklistd-helper
.endif
.if ${MK_BOOTPD} != "no"
SUBDIR+= bootpd
.endif
.if ${MK_FINGER} != "no"
SUBDIR+= fingerd
.endif
.if ${MK_FTP} != "no"
SUBDIR+= ftpd
.endif
.if ${MK_MAIL} != "no"
_comsat= comsat
.endif
.if ${MK_DMAGENT} != "no"
_dma= dma
.endif
.if ${MK_NIS} != "no"
_mknetid= mknetid
_ypxfr= ypxfr
.endif
.if ${MK_NETGRAPH} != "no"
_pppoed= pppoed
.endif
.if ${MK_PF} != "no"
_tftp-proxy= tftp-proxy
.endif
.if !defined(NO_PIC) && !defined(NO_RTLD)
_rtld-elf= rtld-elf
.endif
.if ${MK_RBOOTD} != "no"
SUBDIR+= rbootd
.endif
.if ${MK_SENDMAIL} != "no"
_mail.local= mail.local
_smrsh= smrsh
.endif
.if ${MK_MAN_UTILS} != "no"
_makewhatis.local= makewhatis.local
.endif
.if ${MK_TALK} != "no"
SUBDIR+= talkd
.endif
.if ${MK_TCP_WRAPPERS} != "no"
SUBDIR+= tcpd
.endif
.if ${MK_TELNET} != "no"
_telnetd= telnetd
.endif
.if ${MK_TFTP} != "no"
SUBDIR+= tftpd
.endif
.if ${MK_TESTS} != "no"
_atf= atf
_tests= tests
.endif
.include <bsd.arch.inc.mk>
.include <bsd.subdir.mk>