xref: /freebsd/libexec/Makefile (revision b0f25a38d7217b04dcdf7f2272ecf5f2f314d314)
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	${_nuageinit} \
31	${_smrsh} \
32	${_tests} \
33	${_tftp-proxy} \
34	ulog-helper \
35	${_ypxfr}
36
37.if ${MK_AT} != "no"
38_atrun=		atrun
39.endif
40
41.if ${MK_BLACKLIST} != "no"
42_blacklistd-helper+=	blacklistd-helper
43.endif
44
45.if ${MK_BOOTPD} != "no"
46SUBDIR+=	bootpd
47.endif
48
49.if ${MK_FINGER} != "no"
50SUBDIR+=	fingerd
51.endif
52
53.if ${MK_FREEBSD_UPDATE} != "no"
54_phttpget=	phttpget
55.endif
56
57.if ${MK_MAIL} != "no"
58_comsat=	comsat
59.endif
60
61.if ${MK_DMAGENT} != "no"
62_dma=		dma
63.endif
64
65.if ${MK_HYPERV} != "no"
66_hyperv+=	hyperv
67.endif
68
69.if ${MK_NIS} != "no"
70_mknetid=	mknetid
71_ypxfr=		ypxfr
72.endif
73
74.if ${MK_NETGRAPH} != "no"
75_pppoed=	pppoed
76.endif
77
78.if ${MK_PF} != "no"
79_tftp-proxy=	tftp-proxy
80.endif
81
82.if !defined(NO_PIC) && !defined(NO_RTLD)
83_rtld-elf=	rtld-elf
84.for LIBCOMPAT libcompat in ${_ALL_LIBCOMPATS_libcompats}
85SUBDIR.${MK_LIB${LIBCOMPAT}}+=	rtld-elf${libcompat}
86.endfor
87.endif
88
89.if ${MK_RBOOTD} != "no"
90SUBDIR+=	rbootd
91.endif
92
93.if ${MK_SENDMAIL} != "no"
94_mail.local=	mail.local
95_smrsh=		smrsh
96.endif
97
98.if ${MK_MAN_UTILS} != "no"
99_makewhatis.local=	makewhatis.local
100.endif
101
102.if ${MK_TALK} != "no"
103SUBDIR+=	talkd
104.endif
105
106.if ${MK_TCP_WRAPPERS} != "no"
107SUBDIR+=	tcpd
108.endif
109
110.if ${MK_TFTP} != "no"
111SUBDIR+=	tftpd
112.endif
113
114.if ${MK_TESTS} != "no"
115_tests=		tests
116.endif
117
118.if ${MK_TESTS_SUPPORT} != "no"
119_atf=		atf
120.endif
121
122.if ${MK_NUAGEINIT} != "no"
123_nuageinit=	nuageinit
124.endif
125
126.include <bsd.arch.inc.mk>
127
128.include <bsd.subdir.mk>
129