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