]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - usr.sbin/Makefile
MFC r292337, r292552, r292553:
[FreeBSD/stable/10.git] / usr.sbin / Makefile
1 #       From: @(#)Makefile      5.20 (Berkeley) 6/12/93
2 # $FreeBSD$
3
4 .include <bsd.own.mk>
5
6 SUBDIR= adduser \
7         arp \
8         binmiscctl \
9         bsdconfig \
10         camdd \
11         cdcontrol \
12         chkgrp \
13         chown \
14         chroot \
15         ckdist \
16         clear_locks \
17         crashinfo \
18         cron \
19         ctladm \
20         ctld \
21         daemon \
22         dconschat \
23         devinfo \
24         digictl \
25         diskinfo \
26         dumpcis \
27         extattr \
28         extattrctl \
29         fifolog \
30         fstyp \
31         fwcontrol \
32         getfmac \
33         getpmac \
34         gstat \
35         i2c \
36         ifmcstat \
37         iostat \
38         kldxref \
39         mailwrapper \
40         makefs \
41         memcontrol \
42         mergemaster \
43         mfiutil \
44         mixer \
45         mlxcontrol \
46         mountd \
47         mount_smbfs \
48         mptutil \
49         mtest \
50         ${_mtree} \
51         newsyslog \
52         nfscbd \
53         nfsd \
54         nfsdumpstate \
55         nfsrevoke \
56         nfsuserd \
57         nmtree \
58         nologin \
59         ${_pc_sysinstall} \
60         pciconf \
61         periodic \
62         powerd \
63         procctl \
64         pstat \
65         pw \
66         pwd_mkdb \
67         quot \
68         rarpd \
69         rmt \
70         rpcbind \
71         rpc.lockd \
72         rpc.statd \
73         rpc.umntall \
74         rtprio \
75         service \
76         services_mkdb \
77         sesutil \
78         setfib \
79         setfmac \
80         setpmac \
81         smbmsg \
82         snapinfo \
83         spray \
84         syslogd \
85         sysrc \
86         tcpdrop \
87         tcpdump \
88         traceroute \
89         trpt \
90         tzsetup \
91         uefisign \
92         ugidfw \
93         vipw \
94         wake \
95         watch \
96         watchdogd \
97         zic
98
99 # NB: keep these sorted by MK_* knobs
100
101 .if ${MK_ACCT} != "no"
102 SUBDIR+=        accton
103 SUBDIR+=        sa
104 .endif
105
106 .if ${MK_AMD} != "no"
107 SUBDIR+=        amd
108 .endif
109
110 .if ${MK_AUDIT} != "no"
111 SUBDIR+=        audit
112 SUBDIR+=        auditd
113 .if ${MK_OPENSSL} != "no"
114 SUBDIR+=        auditdistd
115 .endif
116 SUBDIR+=        auditreduce
117 SUBDIR+=        praudit
118 .endif
119
120 .if ${MK_AUTHPF} != "no"
121 SUBDIR+=        authpf
122 .endif
123
124 .if ${MK_AUTOFS} != "no"
125 SUBDIR+=        autofs
126 .endif
127
128 .if ${MK_BLUETOOTH} != "no"
129 SUBDIR+=        bluetooth
130 .endif
131
132 .if ${MK_BOOTPARAMD} != "no"
133 SUBDIR+=        bootparamd
134 .endif
135
136 .if ${MK_BSDINSTALL} != "no"
137 SUBDIR+=        bsdinstall
138 .endif
139
140 .if ${MK_BSNMP} != "no"
141 SUBDIR+=        bsnmpd
142 .endif
143
144 .if ${MK_CTM} != "no"
145 SUBDIR+=        ctm
146 .endif
147
148 .if ${MK_FLOPPY} != "no"
149 SUBDIR+=        fdcontrol
150 SUBDIR+=        fdformat
151 SUBDIR+=        fdread
152 SUBDIR+=        fdwrite
153 .endif
154
155 .if ${MK_FMTREE} != "no"
156 SUBDIR+=        mtree
157 .endif
158
159 .if ${MK_FREEBSD_UPDATE} != "no"
160 SUBDIR+=        freebsd-update
161 .endif
162
163 .if ${MK_GSSAPI} != "no"
164 SUBDIR+=        gssd
165 .endif
166
167 .if ${MK_GPIO} != "no"
168 SUBDIR+=        gpioctl
169 .endif
170
171 .if ${MK_INET6} != "no"
172 SUBDIR+=        faithd
173 SUBDIR+=        ip6addrctl
174 SUBDIR+=        mld6query
175 SUBDIR+=        ndp
176 SUBDIR+=        rip6query
177 SUBDIR+=        route6d
178 SUBDIR+=        rrenumd
179 SUBDIR+=        rtadvctl
180 SUBDIR+=        rtadvd
181 SUBDIR+=        rtsold
182 SUBDIR+=        traceroute6
183 .endif
184
185 .if ${MK_INETD} != "no"
186 SUBDIR+=        inetd
187 .endif
188
189 .if ${MK_IPFW} != "no"
190 SUBDIR+=        ipfwpcap
191 .endif
192
193 .if ${MK_IPX} != "no"
194 SUBDIR+=        IPXrouted
195 .endif
196
197 .if ${MK_ISCSI} != "no"
198 SUBDIR+=        iscsid
199 .endif
200
201 .if ${MK_JAIL} != "no"
202 SUBDIR+=        jail
203 SUBDIR+=        jexec
204 SUBDIR+=        jls
205 .endif
206
207 # XXX MK_SYSCONS
208 .if ${MK_LEGACY_CONSOLE} != "no"
209 SUBDIR+=        kbdcontrol
210 SUBDIR+=        kbdmap
211 SUBDIR+=        moused
212 SUBDIR+=        vidcontrol
213 .endif
214
215 .if ${MK_LIBTHR} != "no" || ${MK_LIBPTHREAD} != "no"
216 .if ${MK_PPP} != "no"
217 SUBDIR+=        pppctl
218 .endif
219 .if ${MK_NS_CACHING} != "no"
220 SUBDIR+=        nscd
221 .endif
222 .endif
223
224 .if ${MK_LPR} != "no"
225 SUBDIR+=        lpr
226 .endif
227
228 .if ${MK_MAN_UTILS} != "no"
229 SUBDIR+=        manctl
230 .endif
231
232 .if ${MK_NAND} != "no"
233 SUBDIR+=        nandsim
234 SUBDIR+=        nandtool
235 .endif
236
237 .if ${MK_NETGRAPH} != "no"
238 SUBDIR+=        flowctl
239 SUBDIR+=        lmcconfig
240 SUBDIR+=        ngctl
241 SUBDIR+=        nghook
242 .endif
243
244 .if ${MK_NIS} != "no"
245 SUBDIR+=        rpc.yppasswdd
246 SUBDIR+=        rpc.ypupdated
247 SUBDIR+=        rpc.ypxfrd
248 SUBDIR+=        ypbind
249 SUBDIR+=        yp_mkdb
250 SUBDIR+=        yppoll
251 SUBDIR+=        yppush
252 SUBDIR+=        ypserv
253 SUBDIR+=        ypset
254 .endif
255
256 .if ${MK_NTP} != "no"
257 SUBDIR+=        ntp
258 .endif
259
260 .if ${MK_OPENSSL} != "no"
261 SUBDIR+=        keyserv
262 .endif
263
264 .if ${MK_PC_SYSINSTALL} != "no"
265 _pc_sysinstall= pc-sysinstall
266 .endif
267
268 .if ${MK_PF} != "no"
269 SUBDIR+=        ftp-proxy
270 .endif
271
272 .if ${MK_PKGBOOTSTRAP} != "no"
273 SUBDIR+=        pkg
274 .endif
275
276 .if ${MK_PKGTOOLS} != "no"
277 SUBDIR+=        pkg_install
278 .endif
279
280 # XXX MK_TOOLCHAIN?
281 .if ${MK_PMC} != "no"
282 SUBDIR+=        pmcannotate
283 SUBDIR+=        pmccontrol
284 SUBDIR+=        pmcstat
285 SUBDIR+=        pmcstudy
286 .endif
287
288 .if ${MK_PORTSNAP} != "no"
289 SUBDIR+=        portsnap
290 .endif
291
292 .if ${MK_PPP} != "no"
293 SUBDIR+=        ppp
294 .endif
295
296 .if ${MK_QUOTAS} != "no"
297 SUBDIR+=        edquota
298 SUBDIR+=        quotaon
299 SUBDIR+=        repquota
300 .endif
301
302 .if ${MK_RCMDS} != "no"
303 SUBDIR+=        rwhod
304 .endif
305
306 .if ${MK_RCS} != "no"
307 SUBDIR+=        etcupdate
308 .endif
309
310 .if ${MK_SENDMAIL} != "no"
311 SUBDIR+=        editmap
312 SUBDIR+=        mailstats
313 SUBDIR+=        makemap
314 SUBDIR+=        praliases
315 SUBDIR+=        sendmail
316 .endif
317
318 .if ${MK_TCP_WRAPPERS} != "no"
319 SUBDIR+=        tcpdchk
320 SUBDIR+=        tcpdmatch
321 .endif
322
323 .if ${MK_TESTS} != "no"
324 SUBDIR+=        tests
325 .endif
326
327 .if ${MK_TIMED} != "no"
328 SUBDIR+=        timed
329 .endif
330
331 .if ${MK_TOOLCHAIN} != "no"
332 SUBDIR+=        config
333 SUBDIR+=        crunch
334 .endif
335
336 .if ${MK_UNBOUND} != "no"
337 SUBDIR+=        unbound
338 .endif
339
340 .if ${MK_USB} != "no"
341 SUBDIR+=        uathload
342 SUBDIR+=        uhsoctl
343 SUBDIR+=        usbconfig
344 SUBDIR+=        usbdump
345 .endif
346
347 .if ${MK_UTMPX} != "no"
348 SUBDIR+=        ac
349 SUBDIR+=        lastlogin
350 SUBDIR+=        utx
351 .endif
352
353 .if ${MK_WIRELESS} != "no"
354 SUBDIR+=        ancontrol
355 SUBDIR+=        wlandebug
356 SUBDIR+=        wpa
357 .endif
358
359 .include <bsd.arch.inc.mk>
360
361 SUBDIR:=        ${SUBDIR:O}
362
363 SUBDIR_PARALLEL=
364
365 .include <bsd.subdir.mk>