]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/blob - usr.sbin/Makefile
MFC r226697 and r226708:
[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         ${_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         ${_usbdump} \
196         ${_usbconfig} \
197         ${_vidcontrol} \
198         vipw \
199         wake \
200         watch \
201         watchdogd \
202         ${_wlandebug} \
203         ${_wlconfig} \
204         ${_wpa} \
205         ${_ypbind} \
206         ${_yp_mkdb} \
207         ${_yppoll} \
208         ${_yppush} \
209         ${_ypserv} \
210         ${_ypset} \
211         zic \
212         ${_zzz}
213
214 # NB: keep these sorted by MK_* knobs
215
216 .if ${MK_ACCT} != "no"
217 _ac=            ac
218 _accton=        accton
219 _sa=            sa
220 .endif
221
222 .if ${MK_AMD} != "no"
223 _amd=           amd
224 .endif
225
226 .if ${MK_AUDIT} != "no"
227 _audit=         audit
228 _auditd=        auditd
229 _auditreduce=   auditreduce
230 _praudit=       praudit
231 .endif
232
233 .if ${MK_AUTHPF} != "no"
234 _authpf=        authpf
235 .endif
236
237 .if ${MK_BIND_DNSSEC} != "no" && ${MK_OPENSSL} != "no"
238 _dnssec-dsfromkey=      dnssec-dsfromkey
239 _dnssec-keyfromlabel=   dnssec-keyfromlabel
240 _dnssec-keygen=         dnssec-keygen
241 _dnssec-signzone=       dnssec-signzone
242 .endif
243 .if ${MK_BIND_NAMED} != "no"
244 _named=                 named
245 _named-checkconf=       named-checkconf
246 _named-checkzone=       named-checkzone
247 _named.reload=          named.reload
248 _rndc=                  rndc
249 _rndc-confgen=          rndc-confgen
250 .endif
251
252 .if ${MK_BLUETOOTH} != "no"
253 _bluetooth=     bluetooth
254 .endif
255
256 .if ${MK_BSNMP} != "no"
257 _bsnmpd=        bsnmpd
258 .endif
259
260 .if ${MK_CTM} != "no"
261 _ctm=           ctm
262 .endif
263
264 .if ${MK_FLOPPY} != "no"
265 _fdcontrol=     fdcontrol
266 _fdformat=      fdformat
267 _fdread=        fdread
268 _fdwrite=       fdwrite
269 .endif
270
271 .if ${MK_FREEBSD_UPDATE} != "no"
272 _freebsd-update= freebsd-update
273 .endif
274
275 .if ${MK_GSSAPI} != no
276 _gssd=          gssd
277 .endif
278
279 .if ${MK_INET6} != "no"
280 _faithd=        faithd
281 _ip6addrctl=    ip6addrctl
282 _mld6query=     mld6query
283 _ndp=           ndp
284 _rip6query=     rip6query
285 _route6d=       route6d
286 _rrenumd=       rrenumd
287 _rtadvd=        rtadvd
288 _rtsold=        rtsold
289 _traceroute6=   traceroute6
290 .endif
291
292 .if ${MK_IPFW} != "no"
293 _ipfwpcap=      ipfwpcap
294 .endif
295
296 .if ${MK_IPX} != "no"
297 _IPXrouted=     IPXrouted
298 .endif
299
300 .if ${MK_JAIL} != "no"
301 _jail=          jail
302 _jexec=         jexec
303 _jls=           jls
304 .endif
305
306 # XXX MK_SYSCONS
307 # XXX is moused w/ usb useful?
308 .if ${MK_LEGACY_CONSOLE} != "no"
309 _kbdcontrol=    kbdcontrol
310 _kbdmap=        kbdmap
311 _moused=        moused
312 _vidcontrol=    vidcontrol
313 .endif
314
315 .if ${MK_LIBTHR} != "no" || ${MK_LIBPTHREAD} != "no"
316 .if ${MK_PPP} != "no"
317 _pppctl=        pppctl
318 .endif
319 .if ${MK_NS_CACHING} != "no"
320 _nscd=          nscd
321 .endif
322 .endif
323
324 .if ${MK_LPR} != "no"
325 _lpr=           lpr
326 .endif
327
328 .if ${MK_MAN_UTILS} != "no"
329 _manctl=        manctl
330 .endif
331
332 .if ${MK_NETGRAPH} != "no"
333 _flowctl=       flowctl
334 _lmcconfig=     lmcconfig
335 _ngctl=         ngctl
336 _nghook=        nghook
337 .endif
338
339 .if ${MK_NIS} != "no"
340 _rpc.yppasswdd= rpc.yppasswdd
341 _rpc.ypupdated= rpc.ypupdated
342 _rpc.ypxfrd=    rpc.ypxfrd
343 _ypbind=        ypbind
344 _yp_mkdb=       yp_mkdb
345 _yppoll=        yppoll
346 _yppush=        yppush
347 _ypserv=        ypserv
348 _ypset=         ypset
349 .endif
350
351 .if ${MK_NTP} != "no"
352 _ntp=           ntp
353 .endif
354
355 .if ${MK_OPENSSL} != "no"
356 _keyserv=       keyserv
357 .endif
358
359 .if ${MK_PF} != "no"
360 _ftp-proxy=     ftp-proxy
361 .endif
362
363 .if ${MK_PKGTOOLS} != "no"
364 _pkg_install=   pkg_install
365 .endif
366
367 # XXX MK_TOOLCHAIN?
368 .if ${MK_PMC} != "no"
369 _pmcannotate=   pmcannotate
370 _pmccontrol=    pmccontrol
371 _pmcstat=       pmcstat
372 .endif
373
374 .if ${MK_PORTSNAP} != "no"
375 _portsnap=      portsnap
376 .endif
377
378 .if ${MK_PPP} != "no"
379 _ppp=           ppp
380 #_pppctl handled below
381 .endif
382
383 .if ${MK_QUOTAS} != "no"
384 _edquota=       edquota
385 _quotaon=       quotaon
386 _repquota=      repquota
387 .endif
388
389 .if ${MK_RCMDS} != "no"
390 _rwhod=         rwhod
391 .endif
392
393 .if ${MK_SENDMAIL} != "no"
394 _editmap=       editmap
395 _mailstats=     mailstats
396 _makemap=       makemap
397 _praliases=     praliases
398 _sendmail=      sendmail
399 .endif
400
401 .if ${MK_SYSINSTALL} != "no"
402 .if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" || \
403     ${MACHINE_ARCH} == "sparc64"
404 _sade=          sade
405 .endif
406 .if ${MACHINE_ARCH} != "arm" && ${MACHINE_ARCH} != "mips"
407 _sysinstall=    sysinstall
408 .endif
409 .endif
410
411 .if ${MK_TOOLCHAIN} != "no"
412 _config=        config
413 _crunch=        crunch
414 .endif
415
416 .if ${MK_USB} != "no"
417 .if ${MACHINE_ARCH} != "ia64"
418 _uathload=      uathload
419 .endif
420 _uhsoctl=       uhsoctl
421 #_usbdevs=      usbdevs
422 _usbdump=       usbdump
423 _usbconfig=     usbconfig
424 .endif
425
426 .if ${MK_WIRELESS} != "no"
427 _ancontrol=     ancontrol
428 _wlandebug=     wlandebug
429 _wpa=           wpa
430 .endif
431
432 .if ${MACHINE_ARCH} == "arm"
433 _kgmon=         kgmon
434 .endif
435
436 .if ${MACHINE_ARCH} == "i386"
437 .if ${MK_APM} != "no"
438 _apm=           apm
439 _apmd=          apmd
440 .endif
441 _asf=           asf
442 .if ${MK_TOOLCHAIN} != "no"
443 _btxld=         btxld
444 .endif
445 _cpucontrol=    cpucontrol
446 _kgmon=         kgmon
447 _kgzip=         kgzip
448 _lptcontrol=    lptcontrol
449 .if ${MK_NCP} != "no"
450 _mount_nwfs=    mount_nwfs
451 .endif
452 _mount_smbfs=   mount_smbfs
453 _mptable=       mptable
454 .if ${MK_NDIS} != "no"
455 _ndiscvt=       ndiscvt
456 .endif
457 _pnpinfo=       pnpinfo
458 _sicontrol=     sicontrol
459 _spkrtest=      spkrtest
460 _zzz=           zzz
461 .if ${MACHINE} == "i386"
462 .if ${MK_ACPI} != "no"
463 _acpi=          acpi
464 .endif
465 _boot0cfg=      boot0cfg
466 .if ${MK_WIRELESS} != "no"
467 _wlconfig=      wlconfig
468 .endif
469 .elif ${MACHINE} == "pc98"
470 _boot98cfg=     boot98cfg
471 .endif
472 .endif
473
474 # kgzip: builds, but missing support files
475 # mptable: broken (not 64 bit clean)
476 # pnpinfo: crashes (not really useful anyway)
477 .if ${MACHINE_ARCH} == "amd64"
478 .if ${MK_ACPI} != "no"
479 _acpi=          acpi
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} == "ia64"
503 .if ${MK_ACPI} != "no"
504 _acpi=          acpi
505 .endif
506 _kgmon=         kgmon
507 _mount_smbfs=   mount_smbfs
508 _zzz=           zzz
509 .endif
510
511 .if ${MACHINE_ARCH} == "powerpc"
512 _mount_smbfs=   mount_smbfs
513 _nvram=         nvram
514 _ofwdump=       ofwdump
515 .endif
516
517 .if ${MACHINE_ARCH} == "sparc64"
518 _eeprom=        eeprom
519 _ofwdump=       ofwdump
520 .endif
521
522 .include <bsd.subdir.mk>