xref: /freebsd/libexec/Makefile (revision ea675a43f09ba569adf1dd17b4f1ced970e48de4)
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	${_mail.local} \
14	${_makewhatis.local} \
15	${_mknetid} \
16	${_phttpget} \
17	${_pppoed} \
18	rc \
19	revnetgroup \
20	${_rlogind} \
21	rpc.rquotad \
22	rpc.rstatd \
23	rpc.rusersd \
24	rpc.rwalld \
25	rpc.sprayd \
26	${_rshd} \
27	${_rtld-elf} \
28	save-entropy \
29	${_nuageinit} \
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_MAIL} != "no"
57_comsat=	comsat
58.endif
59
60.if ${MK_DMAGENT} != "no"
61_dma=		dma
62.endif
63
64.if ${MK_HYPERV} != "no"
65_hyperv+=	hyperv
66.endif
67
68.if ${MK_NIS} != "no"
69_mknetid=	mknetid
70_ypxfr=		ypxfr
71.endif
72
73.if ${MK_NETGRAPH} != "no"
74_pppoed=	pppoed
75.endif
76
77.if ${MK_PF} != "no"
78_tftp-proxy=	tftp-proxy
79.endif
80
81.if !defined(NO_PIC) && !defined(NO_RTLD)
82_rtld-elf=	rtld-elf
83.for LIBCOMPAT libcompat in ${_ALL_LIBCOMPATS_libcompats}
84SUBDIR.${MK_LIB${LIBCOMPAT}}+=	rtld-elf${libcompat}
85.endfor
86.endif
87
88.if ${MK_RBOOTD} != "no"
89SUBDIR+=	rbootd
90.endif
91
92.if ${MK_SENDMAIL} != "no"
93_mail.local=	mail.local
94_smrsh=		smrsh
95.endif
96
97.if ${MK_MAN_UTILS} != "no"
98_makewhatis.local=	makewhatis.local
99.endif
100
101.if ${MK_TALK} != "no"
102SUBDIR+=	talkd
103.endif
104
105.if ${MK_TCP_WRAPPERS} != "no"
106SUBDIR+=	tcpd
107.endif
108
109.if ${MK_TFTP} != "no"
110SUBDIR+=	tftpd
111.endif
112
113.if ${MK_TESTS} != "no"
114_tests=		tests
115.endif
116
117.if ${MK_TESTS_SUPPORT} != "no"
118_atf=		atf
119.endif
120
121.if ${MK_NUAGEINIT} != "no"
122_nuageinit=	nuageinit
123.endif
124
125.include <bsd.arch.inc.mk>
126
127.include <bsd.subdir.mk>
128