xref: /freebsd/libexec/Makefile (revision 4f0d0ed5cbe6d66c496ed124110e24fb6092d480)
1c6063d0dSWarner Losh.include <src.opts.mk>
2e1fe3dbaSRuslan Ermilov
3195e5054SJessica Clarke.include <bsd.compat.pre.mk>
4195e5054SJessica Clarke
5c175365cSMarcel MoolenaarSUBDIR=	${_atf} \
6c175365cSMarcel Moolenaar	${_atrun} \
772383174SJose Luis Duran	${_blocklistd-helper} \
8690f477dSSam Leffler	${_comsat} \
9a9e8641dSBaptiste Daroussin	${_dma} \
10506f3640SKyle Evans	flua \
11fe6d3fe5SPeter Wemm	getty \
12f051d723SWarner Losh	${_hyperv} \
13d10a8d6cSRuslan Ermilov	${_mail.local} \
1424e9c818SBryan Drewery	${_makewhatis.local} \
156c58990dSBjoern A. Zeeb	${_mknetid} \
166703731dSKyle Evans	${_phttpget} \
17*4f0d0ed5SJose Luis Duran	${_pkgserve} \
18690f477dSSam Leffler	${_pppoed} \
190696600cSBjoern A. Zeeb	rc \
20fe6d3fe5SPeter Wemm	revnetgroup \
21c71158d4STom Rhodes	${_rlogind} \
22fe6d3fe5SPeter Wemm	rpc.rquotad \
230b15d9a1SMike Barcroft	rpc.rstatd \
24fe6d3fe5SPeter Wemm	rpc.rusersd \
25fe6d3fe5SPeter Wemm	rpc.rwalld \
26fe6d3fe5SPeter Wemm	rpc.sprayd \
27c71158d4STom Rhodes	${_rshd} \
28d10a8d6cSRuslan Ermilov	${_rtld-elf} \
2927a803d6SDoug Barton	save-entropy \
30a42d6f76SBaptiste Daroussin	${_nuageinit} \
31d10a8d6cSRuslan Ermilov	${_smrsh} \
32fba3cde9SJulio Merino	${_tests} \
3360ee3847SMax Laier	${_tftp-proxy} \
342208eadfSEd Schouten	ulog-helper \
356c58990dSBjoern A. Zeeb	${_ypxfr}
366c58990dSBjoern A. Zeeb
37690f477dSSam Leffler.if ${MK_AT} != "no"
38690f477dSSam Leffler_atrun=		atrun
39690f477dSSam Leffler.endif
40690f477dSSam Leffler
4172383174SJose Luis Duran.if ${MK_BLOCKLIST} != "no"
4272383174SJose Luis Duran_blocklistd-helper+=	blocklistd-helper
4395856e14SKurt Lidl.endif
4495856e14SKurt Lidl
4511981695SEnji Cooper.if ${MK_BOOTPD} != "no"
4611981695SEnji CooperSUBDIR+=	bootpd
4711981695SEnji Cooper.endif
4811981695SEnji Cooper
4911981695SEnji Cooper.if ${MK_FINGER} != "no"
5011981695SEnji CooperSUBDIR+=	fingerd
5111981695SEnji Cooper.endif
5211981695SEnji Cooper
53df53ae0fSColin Percival.if ${MK_FREEBSD_UPDATE} != "no"
546703731dSKyle Evans_phttpget=	phttpget
556703731dSKyle Evans.endif
566703731dSKyle Evans
57690f477dSSam Leffler.if ${MK_MAIL} != "no"
58690f477dSSam Leffler_comsat=	comsat
59690f477dSSam Leffler.endif
60690f477dSSam Leffler
616a54f620SBaptiste Daroussin.if ${MK_DMAGENT} != "no"
62a9e8641dSBaptiste Daroussin_dma=		dma
63a9e8641dSBaptiste Daroussin.endif
64a9e8641dSBaptiste Daroussin
65f051d723SWarner Losh.if ${MK_HYPERV} != "no"
66f051d723SWarner Losh_hyperv+=	hyperv
67f051d723SWarner Losh.endif
68f051d723SWarner Losh
69b42e852eSBaptiste Daroussin.if ${MK_PKGSERVE} != "no"
70b42e852eSBaptiste Daroussin_pkgserve=	pkg-serve
71b42e852eSBaptiste Daroussin.endif
72b42e852eSBaptiste Daroussin
73e1fe3dbaSRuslan Ermilov.if ${MK_NIS} != "no"
746c58990dSBjoern A. Zeeb_mknetid=	mknetid
756c58990dSBjoern A. Zeeb_ypxfr=		ypxfr
766c58990dSBjoern A. Zeeb.endif
77fe6d3fe5SPeter Wemm
78690f477dSSam Leffler.if ${MK_NETGRAPH} != "no"
79690f477dSSam Leffler_pppoed=	pppoed
80690f477dSSam Leffler.endif
81690f477dSSam Leffler
82e1fe3dbaSRuslan Ermilov.if ${MK_PF} != "no"
8360ee3847SMax Laier_tftp-proxy=	tftp-proxy
848d69c48bSMax Laier.endif
858d69c48bSMax Laier
86b2c4f888SYaroslav Tykhiy.if !defined(NO_PIC) && !defined(NO_RTLD)
87d10a8d6cSRuslan Ermilov_rtld-elf=	rtld-elf
88195e5054SJessica Clarke.for LIBCOMPAT libcompat in ${_ALL_LIBCOMPATS_libcompats}
89195e5054SJessica ClarkeSUBDIR.${MK_LIB${LIBCOMPAT}}+=	rtld-elf${libcompat}
90195e5054SJessica Clarke.endfor
91fe6d3fe5SPeter Wemm.endif
92558914c4SMark Murray
9311981695SEnji Cooper.if ${MK_RBOOTD} != "no"
9411981695SEnji CooperSUBDIR+=	rbootd
9511981695SEnji Cooper.endif
9611981695SEnji Cooper
97e1fe3dbaSRuslan Ermilov.if ${MK_SENDMAIL} != "no"
98d10a8d6cSRuslan Ermilov_mail.local=	mail.local
99d10a8d6cSRuslan Ermilov_smrsh=		smrsh
1004add781bSPeter Wemm.endif
1014add781bSPeter Wemm
10224e9c818SBryan Drewery.if ${MK_MAN_UTILS} != "no"
10324e9c818SBryan Drewery_makewhatis.local=	makewhatis.local
10424e9c818SBryan Drewery.endif
10524e9c818SBryan Drewery
1063f802165SEnji Cooper.if ${MK_TALK} != "no"
1073f802165SEnji CooperSUBDIR+=	talkd
1083f802165SEnji Cooper.endif
1093f802165SEnji Cooper
11011981695SEnji Cooper.if ${MK_TCP_WRAPPERS} != "no"
11111981695SEnji CooperSUBDIR+=	tcpd
11211981695SEnji Cooper.endif
11311981695SEnji Cooper
11411981695SEnji Cooper.if ${MK_TFTP} != "no"
11511981695SEnji CooperSUBDIR+=	tftpd
11611981695SEnji Cooper.endif
11711981695SEnji Cooper
118e01d128aSJulio Merino.if ${MK_TESTS} != "no"
119fba3cde9SJulio Merino_tests=		tests
120e01d128aSJulio Merino.endif
121e01d128aSJulio Merino
12243e045c1SFranco Fichtner.if ${MK_TESTS_SUPPORT} != "no"
12343e045c1SFranco Fichtner_atf=		atf
12443e045c1SFranco Fichtner.endif
12543e045c1SFranco Fichtner
126a42d6f76SBaptiste Daroussin.if ${MK_NUAGEINIT} != "no"
127a42d6f76SBaptiste Daroussin_nuageinit=	nuageinit
128a42d6f76SBaptiste Daroussin.endif
129a42d6f76SBaptiste Daroussin
130f8080a99SWarner Losh.include <bsd.arch.inc.mk>
131f8080a99SWarner Losh
132ea022d16SRodney W. Grimes.include <bsd.subdir.mk>
133