xref: /freebsd/libexec/Makefile (revision 43e045c1733d50fad79f3a53e05140b8dc0d7fa6)
1c6063d0dSWarner Losh.include <src.opts.mk>
2e1fe3dbaSRuslan Ermilov
3195e5054SJessica Clarke.include <bsd.compat.pre.mk>
4195e5054SJessica Clarke
5c175365cSMarcel MoolenaarSUBDIR=	${_atf} \
6c175365cSMarcel Moolenaar	${_atrun} \
795856e14SKurt Lidl	${_blacklistd-helper} \
8690f477dSSam Leffler	${_comsat} \
9a9e8641dSBaptiste Daroussin	${_dma} \
10506f3640SKyle Evans	flua \
11fe6d3fe5SPeter Wemm	getty \
12f051d723SWarner Losh	${_hyperv} \
132524b7dfSMark Johnston	kgdb \
14d10a8d6cSRuslan Ermilov	${_mail.local} \
1524e9c818SBryan Drewery	${_makewhatis.local} \
166c58990dSBjoern A. Zeeb	${_mknetid} \
176703731dSKyle Evans	${_phttpget} \
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
41c0759dacSKurt Lidl.if ${MK_BLACKLIST} != "no"
4295856e14SKurt Lidl_blacklistd-helper+=	blacklistd-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
5711981695SEnji Cooper.if ${MK_FTP} != "no"
5811981695SEnji CooperSUBDIR+=	ftpd
5911981695SEnji Cooper.endif
6011981695SEnji Cooper
61690f477dSSam Leffler.if ${MK_MAIL} != "no"
62690f477dSSam Leffler_comsat=	comsat
63690f477dSSam Leffler.endif
64690f477dSSam Leffler
656a54f620SBaptiste Daroussin.if ${MK_DMAGENT} != "no"
66a9e8641dSBaptiste Daroussin_dma=		dma
67a9e8641dSBaptiste Daroussin.endif
68a9e8641dSBaptiste Daroussin
69f051d723SWarner Losh.if ${MK_HYPERV} != "no"
70f051d723SWarner Losh_hyperv+=	hyperv
71f051d723SWarner Losh.endif
72f051d723SWarner Losh
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
122*43e045c1SFranco Fichtner.if ${MK_TESTS_SUPPORT} != "no"
123*43e045c1SFranco Fichtner_atf=		atf
124*43e045c1SFranco Fichtner.endif
125*43e045c1SFranco 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