xref: /freebsd-14.2/libexec/Makefile (revision 0a2fa7bb)
1706d0ee0SWarner Losh#	@(#)Makefile	8.1 (Berkeley) 6/4/93
2ea022d16SRodney W. Grimes
3c6063d0dSWarner Losh.include <src.opts.mk>
4e1fe3dbaSRuslan Ermilov
5195e5054SJessica Clarke.include <bsd.compat.pre.mk>
6195e5054SJessica Clarke
7c175365cSMarcel MoolenaarSUBDIR=	${_atf} \
8c175365cSMarcel Moolenaar	${_atrun} \
995856e14SKurt Lidl	${_blacklistd-helper} \
10690f477dSSam Leffler	${_comsat} \
11a9e8641dSBaptiste Daroussin	${_dma} \
12506f3640SKyle Evans	flua \
13fe6d3fe5SPeter Wemm	getty \
14f051d723SWarner Losh	${_hyperv} \
15*0a2fa7bbSMark Johnston	kgdb \
16d10a8d6cSRuslan Ermilov	${_mail.local} \
1724e9c818SBryan Drewery	${_makewhatis.local} \
186c58990dSBjoern A. Zeeb	${_mknetid} \
196703731dSKyle Evans	${_phttpget} \
20690f477dSSam Leffler	${_pppoed} \
210696600cSBjoern A. Zeeb	rc \
22fe6d3fe5SPeter Wemm	revnetgroup \
23c71158d4STom Rhodes	${_rlogind} \
24fe6d3fe5SPeter Wemm	rpc.rquotad \
250b15d9a1SMike Barcroft	rpc.rstatd \
26fe6d3fe5SPeter Wemm	rpc.rusersd \
27fe6d3fe5SPeter Wemm	rpc.rwalld \
28fe6d3fe5SPeter Wemm	rpc.sprayd \
29c71158d4STom Rhodes	${_rshd} \
30d10a8d6cSRuslan Ermilov	${_rtld-elf} \
3127a803d6SDoug Barton	save-entropy \
32d10a8d6cSRuslan Ermilov	${_smrsh} \
33fba3cde9SJulio Merino	${_tests} \
3460ee3847SMax Laier	${_tftp-proxy} \
352208eadfSEd Schouten	ulog-helper \
366c58990dSBjoern A. Zeeb	${_ypxfr}
376c58990dSBjoern A. Zeeb
38690f477dSSam Leffler.if ${MK_AT} != "no"
39690f477dSSam Leffler_atrun=		atrun
40690f477dSSam Leffler.endif
41690f477dSSam Leffler
42c0759dacSKurt Lidl.if ${MK_BLACKLIST} != "no"
4395856e14SKurt Lidl_blacklistd-helper+=	blacklistd-helper
4495856e14SKurt Lidl.endif
4595856e14SKurt Lidl
4611981695SEnji Cooper.if ${MK_BOOTPD} != "no"
4711981695SEnji CooperSUBDIR+=	bootpd
4811981695SEnji Cooper.endif
4911981695SEnji Cooper
5011981695SEnji Cooper.if ${MK_FINGER} != "no"
5111981695SEnji CooperSUBDIR+=	fingerd
5211981695SEnji Cooper.endif
5311981695SEnji Cooper
54df53ae0fSColin Percival.if ${MK_FREEBSD_UPDATE} != "no"
556703731dSKyle Evans_phttpget=	phttpget
566703731dSKyle Evans.endif
576703731dSKyle Evans
5811981695SEnji Cooper.if ${MK_FTP} != "no"
5911981695SEnji CooperSUBDIR+=	ftpd
6011981695SEnji Cooper.endif
6111981695SEnji Cooper
62690f477dSSam Leffler.if ${MK_MAIL} != "no"
63690f477dSSam Leffler_comsat=	comsat
64690f477dSSam Leffler.endif
65690f477dSSam Leffler
666a54f620SBaptiste Daroussin.if ${MK_DMAGENT} != "no"
67a9e8641dSBaptiste Daroussin_dma=		dma
68a9e8641dSBaptiste Daroussin.endif
69a9e8641dSBaptiste Daroussin
70f051d723SWarner Losh.if ${MK_HYPERV} != "no"
71f051d723SWarner Losh_hyperv+=	hyperv
72f051d723SWarner Losh.endif
73f051d723SWarner Losh
74e1fe3dbaSRuslan Ermilov.if ${MK_NIS} != "no"
756c58990dSBjoern A. Zeeb_mknetid=	mknetid
766c58990dSBjoern A. Zeeb_ypxfr=		ypxfr
776c58990dSBjoern A. Zeeb.endif
78fe6d3fe5SPeter Wemm
79690f477dSSam Leffler.if ${MK_NETGRAPH} != "no"
80690f477dSSam Leffler_pppoed=	pppoed
81690f477dSSam Leffler.endif
82690f477dSSam Leffler
83e1fe3dbaSRuslan Ermilov.if ${MK_PF} != "no"
8460ee3847SMax Laier_tftp-proxy=	tftp-proxy
858d69c48bSMax Laier.endif
868d69c48bSMax Laier
87b2c4f888SYaroslav Tykhiy.if !defined(NO_PIC) && !defined(NO_RTLD)
88d10a8d6cSRuslan Ermilov_rtld-elf=	rtld-elf
89195e5054SJessica Clarke.for LIBCOMPAT libcompat in ${_ALL_LIBCOMPATS_libcompats}
90195e5054SJessica ClarkeSUBDIR.${MK_LIB${LIBCOMPAT}}+=	rtld-elf${libcompat}
91195e5054SJessica Clarke.endfor
92fe6d3fe5SPeter Wemm.endif
93558914c4SMark Murray
9411981695SEnji Cooper.if ${MK_RBOOTD} != "no"
9511981695SEnji CooperSUBDIR+=	rbootd
9611981695SEnji Cooper.endif
9711981695SEnji Cooper
98e1fe3dbaSRuslan Ermilov.if ${MK_SENDMAIL} != "no"
99d10a8d6cSRuslan Ermilov_mail.local=	mail.local
100d10a8d6cSRuslan Ermilov_smrsh=		smrsh
1014add781bSPeter Wemm.endif
1024add781bSPeter Wemm
10324e9c818SBryan Drewery.if ${MK_MAN_UTILS} != "no"
10424e9c818SBryan Drewery_makewhatis.local=	makewhatis.local
10524e9c818SBryan Drewery.endif
10624e9c818SBryan Drewery
1073f802165SEnji Cooper.if ${MK_TALK} != "no"
1083f802165SEnji CooperSUBDIR+=	talkd
1093f802165SEnji Cooper.endif
1103f802165SEnji Cooper
11111981695SEnji Cooper.if ${MK_TCP_WRAPPERS} != "no"
11211981695SEnji CooperSUBDIR+=	tcpd
11311981695SEnji Cooper.endif
11411981695SEnji Cooper
11511981695SEnji Cooper.if ${MK_TFTP} != "no"
11611981695SEnji CooperSUBDIR+=	tftpd
11711981695SEnji Cooper.endif
11811981695SEnji Cooper
119e01d128aSJulio Merino.if ${MK_TESTS} != "no"
120e01d128aSJulio Merino_atf=		atf
121fba3cde9SJulio Merino_tests=		tests
122e01d128aSJulio Merino.endif
123e01d128aSJulio Merino
124f8080a99SWarner Losh.include <bsd.arch.inc.mk>
125f8080a99SWarner Losh
126ea022d16SRodney W. Grimes.include <bsd.subdir.mk>
127