]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - usr.sbin/Makefile
Upgrade our Clang in base to r108428.
[FreeBSD/FreeBSD.git] / usr.sbin / Makefile
1 #       From: @(#)Makefile      5.20 (Berkeley) 6/12/93
2 # $FreeBSD$
3
4 .include <bsd.own.mk>
5
6 SUBDIR= ${_ac} \
7         ${_accton} \
8         ${_acpi} \
9         adduser \
10         ${_amd} \
11         ${_ancontrol} \
12         ${_apm} \
13         ${_apmd} \
14         arp \
15         ${_asf} \
16         ${_atm} \
17         ${_audit} \
18         ${_auditd} \
19         ${_auditreduce} \
20         ${_authpf} \
21         ${_bluetooth} \
22         ${_boot0cfg} \
23         ${_boot98cfg} \
24         bootparamd \
25         ${_bsnmpd} \
26         ${_btxld} \
27         burncd \
28         cdcontrol \
29         chkgrp \
30         chown \
31         chroot \
32         ckdist \
33         clear_locks \
34         ${_config} \
35         ${_cpucontrol} \
36         crashinfo \
37         cron \
38         ${_crunch} \
39         ${_ctm} \
40         daemon \
41         dconschat \
42         devinfo \
43         digictl \
44         diskinfo \
45         ${_dnssec-dsfromkey} \
46         ${_dnssec-keyfromlabel} \
47         ${_dnssec-keygen} \
48         ${_dnssec-signzone} \
49         dumpcis \
50         ${_editmap} \
51         ${_edquota} \
52         ${_eeprom} \
53         extattr \
54         extattrctl \
55         ${_faithd} \
56         ${_fdcontrol} \
57         ${_fdformat} \
58         ${_fdread} \
59         ${_fdwrite} \
60         fifolog \
61         ${_flowctl} \
62         ${_freebsd-update} \
63         ${_ftp-proxy} \
64         fwcontrol \
65         getfmac \
66         getpmac \
67         gstat \
68         ${_gssd} \
69         i2c \
70         ifmcstat \
71         inetd \
72         iostat \
73         ${_ip6addrctl} \
74         ${_ipfwpcap} \
75         ${_IPXrouted} \
76         ${_jail} \
77         ${_jexec} \
78         ${_jls} \
79         ${_kbdcontrol} \
80         ${_kbdmap} \
81         ${_keyserv} \
82         ${_kgmon} \
83         ${_kgzip} \
84         kldxref \
85         lastlogin \
86         ${_lmcconfig} \
87         ${_lpr} \
88         ${_lptcontrol} \
89         ${_mailstats} \
90         mailwrapper \
91         makefs \
92         ${_makemap} \
93         ${_manctl} \
94         memcontrol \
95         mergemaster \
96         mfiutil \
97         mixer \
98         ${_mld6query} \
99         mlxcontrol \
100         mountd \
101         ${_mount_nwfs} \
102         mount_portalfs \
103         ${_mount_smbfs} \
104         ${_moused} \
105         ${_mptable} \
106         mptutil \
107         mtest \
108         mtree \
109         ${_named} \
110         ${_named-checkconf} \
111         ${_named-checkzone} \
112         ${_named.reload} \
113         ${_ndiscvt} \
114         ${_ndp} \
115         newsyslog \
116         nfscbd \
117         nfsd \
118         nfsdumpstate \
119         nfsrevoke \
120         nfsuserd \
121         ${_ngctl} \
122         ${_nghook} \
123         nologin \
124         ${_nscd} \
125         ${_ntp} \
126         ${_nvram} \
127         ${_ofwdump} \
128         pc-sysinstall \
129         pciconf \
130         periodic \
131         ${_pkg_install} \
132         ${_pmcannotate} \
133         ${_pmccontrol} \
134         ${_pmcstat} \
135         ${_pnpinfo} \
136         ${_portsnap} \
137         powerd \
138         ${_ppp} \
139         ${_pppctl} \
140         ${_praliases} \
141         ${_praudit} \
142         procctl \
143         pstat \
144         pw \
145         pwd_mkdb \
146         quot \
147         ${_quotaon} \
148         rarpd \
149         ${_repquota} \
150         ${_rip6query} \
151         rmt \
152         ${_rndc} \
153         ${_rndc-confgen} \
154         ${_route6d} \
155         rpcbind \
156         rpc.lockd \
157         rpc.statd \
158         rpc.umntall \
159         ${_rpc.yppasswdd} \
160         ${_rpc.ypupdated} \
161         ${_rpc.ypxfrd} \
162         ${_rrenumd} \
163         ${_rtadvd} \
164         rtprio \
165         ${_rtsold} \
166         ${_rwhod} \
167         ${_sa} \
168         ${_sade} \
169         ${_sendmail} \
170         service \
171         services_mkdb \
172         setfib \
173         setfmac \
174         setpmac \
175         ${_sicontrol} \
176         smbmsg \
177         snapinfo \
178         ${_spkrtest} \
179         spray \
180         ${_sysinstall} \
181         syslogd \
182         tcpdchk \
183         tcpdmatch \
184         tcpdrop \
185         tcpdump \
186         timed \
187         traceroute \
188         ${_traceroute6} \
189         trpt \
190         tzsetup \
191         ${_uathload} \
192         ugidfw \
193         ${_uhsoctl} \
194         ${_usbdevs} \
195         ${_usbconfig} \
196         ${_vidcontrol} \
197         vipw \
198         wake \
199         watch \
200         watchdogd \
201         ${_wlandebug} \
202         ${_wlconfig} \
203         ${_wpa} \
204         ${_ypbind} \
205         ${_yp_mkdb} \
206         ${_yppoll} \
207         ${_yppush} \
208         ${_ypserv} \
209         ${_ypset} \
210         zic \
211         ${_zzz}
212
213 # NB: keep these sorted by MK_* knobs
214
215 .if ${MK_ACCT} != "no"
216 _ac=            ac
217 _accton=        accton
218 _sa=            sa
219 .endif
220
221 .if ${MK_AMD} != "no"
222 _amd=           amd
223 .endif
224
225 .if ${MK_AUDIT} != "no"
226 _audit=         audit
227 _auditd=        auditd
228 _auditreduce=   auditreduce
229 _praudit=       praudit
230 .endif
231
232 .if ${MK_AUTHPF} != "no"
233 _authpf=        authpf
234 .endif
235
236 .if ${MK_BIND_DNSSEC} != "no" && ${MK_OPENSSL} != "no"
237 _dnssec-dsfromkey=      dnssec-dsfromkey
238 _dnssec-keyfromlabel=   dnssec-keyfromlabel
239 _dnssec-keygen=         dnssec-keygen
240 _dnssec-signzone=       dnssec-signzone
241 .endif
242 .if ${MK_BIND_NAMED} != "no"
243 _named=                 named
244 _named-checkconf=       named-checkconf
245 _named-checkzone=       named-checkzone
246 _named.reload=          named.reload
247 _rndc=                  rndc
248 _rndc-confgen=          rndc-confgen
249 .endif
250
251 .if ${MK_BLUETOOTH} != "no"
252 _bluetooth=     bluetooth
253 .endif
254
255 .if ${MK_BSNMP} != "no"
256 _bsnmpd=        bsnmpd
257 .endif
258
259 .if ${MK_CTM} != "no"
260 _ctm=           ctm
261 .endif
262
263 .if ${MK_FLOPPY} != "no"
264 _fdcontrol=     fdcontrol
265 _fdformat=      fdformat
266 _fdread=        fdread
267 _fdwrite=       fdwrite
268 .endif
269
270 .if ${MK_FREEBSD_UPDATE} != "no"
271 _freebsd-update= freebsd-update
272 .endif
273
274 .if ${MK_GSSAPI} != no
275 _gssd=          gssd
276 .endif
277
278 .if ${MK_INET6} != "no"
279 _faithd=        faithd
280 _ip6addrctl=    ip6addrctl
281 _mld6query=     mld6query
282 _ndp=           ndp
283 _rip6query=     rip6query
284 _route6d=       route6d
285 _rrenumd=       rrenumd
286 _rtadvd=        rtadvd
287 _rtsold=        rtsold
288 _traceroute6=   traceroute6
289 .endif
290
291 .if ${MK_IPFW} != "no"
292 _ipfwpcap=      ipfwpcap
293 .endif
294
295 .if ${MK_IPX} != "no"
296 _IPXrouted=     IPXrouted
297 .endif
298
299 .if ${MK_JAIL} != "no"
300 _jail=          jail
301 _jexec=         jexec
302 _jls=           jls
303 .endif
304
305 # XXX MK_SYSCONS
306 .if ${MK_LEGACY_CONSOLE} != "no"
307 _kbdcontrol=    kbdcontrol
308 _kbdmap=        kbdmap
309 _moused=        moused
310 _vidcontrol=    vidcontrol
311 .endif
312
313 .if ${MK_LIBTHR} != "no" || ${MK_LIBPTHREAD} != "no"
314 .if ${MK_PPP} != "no"
315 _pppctl=        pppctl
316 .endif
317 .if ${MK_NS_CACHING} != "no"
318 _nscd=          nscd
319 .endif
320 .endif
321
322 .if ${MK_LPR} != "no"
323 _lpr=           lpr
324 .endif
325
326 .if ${MK_MAN_UTILS} != "no"
327 _manctl=        manctl
328 .endif
329
330 .if ${MK_NETGRAPH} != "no"
331 _flowctl=       flowctl
332 _lmcconfig=     lmcconfig
333 _ngctl=         ngctl
334 _nghook=        nghook
335 .endif
336
337 .if ${MK_NIS} != "no"
338 _rpc.yppasswdd= rpc.yppasswdd
339 _rpc.ypupdated= rpc.ypupdated
340 _rpc.ypxfrd=    rpc.ypxfrd
341 _ypbind=        ypbind
342 _yp_mkdb=       yp_mkdb
343 _yppoll=        yppoll
344 _yppush=        yppush
345 _ypserv=        ypserv
346 _ypset=         ypset
347 .endif
348
349 .if ${MK_NTP} != "no"
350 _ntp=           ntp
351 .endif
352
353 .if ${MK_OPENSSL} != "no"
354 _keyserv=       keyserv
355 .endif
356
357 .if ${MK_PF} != "no"
358 _ftp-proxy=     ftp-proxy
359 .endif
360
361 .if ${MK_PKGTOOLS} != "no"
362 _pkg_install=   pkg_install
363 .endif
364
365 # XXX MK_TOOLCHAIN?
366 .if ${MK_PMC} != "no"
367 _pmcannotate=   pmcannotate
368 _pmccontrol=    pmccontrol
369 _pmcstat=       pmcstat
370 .endif
371
372 .if ${MK_PORTSNAP} != "no"
373 _portsnap=      portsnap
374 .endif
375
376 .if ${MK_PPP} != "no"
377 _ppp=           ppp
378 #_pppctl handled below
379 .endif
380
381 .if ${MK_QUOTAS} != "no"
382 _edquota=       edquota
383 _quotaon=       quotaon
384 _repquota=      repquota
385 .endif
386
387 .if ${MK_RCMDS} != "no"
388 _rwhod=         rwhod
389 .endif
390
391 .if ${MK_SENDMAIL} != "no"
392 _editmap=       editmap
393 _mailstats=     mailstats
394 _makemap=       makemap
395 _praliases=     praliases
396 _sendmail=      sendmail
397 .endif
398
399 .if ${MK_SYSINSTALL} != "no"
400 .if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" || \
401     ${MACHINE_ARCH} == "sparc64"
402 _sade=          sade
403 .endif
404 .if ${MACHINE_ARCH} != "arm" && ${MACHINE_ARCH} != "mips"
405 _sysinstall=    sysinstall
406 .endif
407 .endif
408
409 .if ${MK_TOOLCHAIN} != "no"
410 _config=        config
411 _crunch=        crunch
412 .endif
413
414 .if ${MK_USB} != "no"
415 .if ${MACHINE_ARCH} != "ia64"
416 _uathload=      uathload
417 .endif
418 _uhsoctl=       uhsoctl
419 #_usbdevs=      usbdevs
420 _usbconfig=     usbconfig
421 .endif
422
423 .if ${MK_WIRELESS} != "no"
424 _ancontrol=     ancontrol
425 _wlandebug=     wlandebug
426 _wpa=           wpa
427 .endif
428
429 .if ${MACHINE_ARCH} == "arm"
430 _kgmon=         kgmon
431 .endif
432
433 .if ${MACHINE_ARCH} == "i386"
434 .if ${MK_APM} != "no"
435 _apm=           apm
436 _apmd=          apmd
437 .endif
438 _asf=           asf
439 .if ${MK_TOOLCHAIN} != "no"
440 _btxld=         btxld
441 .endif
442 _cpucontrol=    cpucontrol
443 _kgmon=         kgmon
444 _kgzip=         kgzip
445 _lptcontrol=    lptcontrol
446 .if ${MK_NCP} != "no"
447 _mount_nwfs=    mount_nwfs
448 .endif
449 _mount_smbfs=   mount_smbfs
450 _mptable=       mptable
451 .if ${MK_NDIS} != "no"
452 _ndiscvt=       ndiscvt
453 .endif
454 _pnpinfo=       pnpinfo
455 _sicontrol=     sicontrol
456 _spkrtest=      spkrtest
457 _zzz=           zzz
458 .if ${MACHINE} == "i386"
459 .if ${MK_ACPI} != "no"
460 _acpi=          acpi
461 .endif
462 _boot0cfg=      boot0cfg
463 .if ${MK_WIRELESS} != "no"
464 _wlconfig=      wlconfig
465 .endif
466 .elif ${MACHINE} == "pc98"
467 _boot98cfg=     boot98cfg
468 .endif
469 .endif
470
471 # kgzip: builds, but missing support files
472 # mptable: broken (not 64 bit clean)
473 # pnpinfo: crashes (not really useful anyway)
474 .if ${MACHINE_ARCH} == "amd64"
475 .if ${MK_ACPI} != "no"
476 _acpi=          acpi
477 .endif
478 .if ${MK_APM} != "no"
479 _apm=           apm
480 .endif
481 _asf=           asf
482 _boot0cfg=      boot0cfg
483 .if ${MK_TOOLCHAIN} != "no"
484 _btxld=         btxld
485 .endif
486 _cpucontrol=    cpucontrol
487 _kgmon=         kgmon
488 _lptcontrol=    lptcontrol
489 .if ${MK_NCP} != "no"
490 _mount_nwfs=    mount_nwfs
491 .endif
492 _mount_smbfs=   mount_smbfs
493 _mptable=       mptable
494 .if ${MK_NDIS} != "no"
495 _ndiscvt=       ndiscvt
496 .endif
497 _sicontrol=     sicontrol
498 _spkrtest=      spkrtest
499 _zzz=           zzz
500 .endif
501
502 .if ${MACHINE_ARCH} == "arm"
503 _ofwdump=       ofwdump
504 .endif
505
506 .if ${MACHINE_ARCH} == "ia64"
507 .if ${MK_ACPI} != "no"
508 _acpi=          acpi
509 .endif
510 _kgmon=         kgmon
511 _mount_smbfs=   mount_smbfs
512 _zzz=           zzz
513 .endif
514
515 .if ${MACHINE_CPUARCH} == "powerpc"
516 _mount_smbfs=   mount_smbfs
517 _nvram=         nvram
518 _ofwdump=       ofwdump
519 .endif
520
521 .if ${MACHINE_ARCH} == "sparc64"
522 _eeprom=        eeprom
523 _mount_smbfs=   mount_smbfs
524 _ofwdump=       ofwdump
525 .endif
526
527 .include <bsd.subdir.mk>