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