xref: /freebsd/libexec/Makefile (revision 62a52c15422470f97fc7b311d89c83f910bcc1b1)
1.include <src.opts.mk>
2
3.include <bsd.compat.pre.mk>
4
5SUBDIR=	${_atf} \
6	${_atrun} \
7	${_blacklistd-helper} \
8	${_comsat} \
9	${_dma} \
10	flua \
11	getty \
12	${_hyperv} \
13	kgdb \
14	${_mail.local} \
15	${_makewhatis.local} \
16	${_mknetid} \
17	${_phttpget} \
18	${_pppoed} \
19	rc \
20	revnetgroup \
21	${_rlogind} \
22	rpc.rquotad \
23	rpc.rstatd \
24	rpc.rusersd \
25	rpc.rwalld \
26	rpc.sprayd \
27	${_rshd} \
28	${_rtld-elf} \
29	save-entropy \
30	${_smrsh} \
31	${_tests} \
32	${_tftp-proxy} \
33	ulog-helper \
34	${_ypxfr}
35
36.if ${MK_AT} != "no"
37_atrun=		atrun
38.endif
39
40.if ${MK_BLACKLIST} != "no"
41_blacklistd-helper+=	blacklistd-helper
42.endif
43
44.if ${MK_BOOTPD} != "no"
45SUBDIR+=	bootpd
46.endif
47
48.if ${MK_FINGER} != "no"
49SUBDIR+=	fingerd
50.endif
51
52.if ${MK_FREEBSD_UPDATE} != "no"
53_phttpget=	phttpget
54.endif
55
56.if ${MK_FTP} != "no"
57SUBDIR+=	ftpd
58.endif
59
60.if ${MK_MAIL} != "no"
61_comsat=	comsat
62.endif
63
64.if ${MK_DMAGENT} != "no"
65_dma=		dma
66.endif
67
68.if ${MK_HYPERV} != "no"
69_hyperv+=	hyperv
70.endif
71
72.if ${MK_NIS} != "no"
73_mknetid=	mknetid
74_ypxfr=		ypxfr
75.endif
76
77.if ${MK_NETGRAPH} != "no"
78_pppoed=	pppoed
79.endif
80
81.if ${MK_PF} != "no"
82_tftp-proxy=	tftp-proxy
83.endif
84
85.if !defined(NO_PIC) && !defined(NO_RTLD)
86_rtld-elf=	rtld-elf
87.for LIBCOMPAT libcompat in ${_ALL_LIBCOMPATS_libcompats}
88SUBDIR.${MK_LIB${LIBCOMPAT}}+=	rtld-elf${libcompat}
89.endfor
90.endif
91
92.if ${MK_RBOOTD} != "no"
93SUBDIR+=	rbootd
94.endif
95
96.if ${MK_SENDMAIL} != "no"
97_mail.local=	mail.local
98_smrsh=		smrsh
99.endif
100
101.if ${MK_MAN_UTILS} != "no"
102_makewhatis.local=	makewhatis.local
103.endif
104
105.if ${MK_TALK} != "no"
106SUBDIR+=	talkd
107.endif
108
109.if ${MK_TCP_WRAPPERS} != "no"
110SUBDIR+=	tcpd
111.endif
112
113.if ${MK_TFTP} != "no"
114SUBDIR+=	tftpd
115.endif
116
117.if ${MK_TESTS} != "no"
118_atf=		atf
119_tests=		tests
120.endif
121
122.include <bsd.arch.inc.mk>
123
124.include <bsd.subdir.mk>
125