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