]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/blob - usr.sbin/Makefile
MFC: r245412
[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 SUBDIR+=        pkg
368 .endif
369
370 # XXX MK_TOOLCHAIN?
371 .if ${MK_PMC} != "no"
372 _pmcannotate=   pmcannotate
373 _pmccontrol=    pmccontrol
374 _pmcstat=       pmcstat
375 .endif
376
377 .if ${MK_PORTSNAP} != "no"
378 _portsnap=      portsnap
379 .endif
380
381 .if ${MK_PPP} != "no"
382 _ppp=           ppp
383 #_pppctl handled below
384 .endif
385
386 .if ${MK_QUOTAS} != "no"
387 _edquota=       edquota
388 _quotaon=       quotaon
389 _repquota=      repquota
390 .endif
391
392 .if ${MK_RCMDS} != "no"
393 _rwhod=         rwhod
394 .endif
395
396 .if ${MK_SENDMAIL} != "no"
397 _editmap=       editmap
398 _mailstats=     mailstats
399 _makemap=       makemap
400 _praliases=     praliases
401 _sendmail=      sendmail
402 .endif
403
404 .if ${MK_SYSINSTALL} != "no"
405 .if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" || \
406     ${MACHINE_ARCH} == "sparc64"
407 _sade=          sade
408 .endif
409 .if ${MACHINE_ARCH} != "arm" && ${MACHINE_ARCH} != "mips"
410 _sysinstall=    sysinstall
411 .endif
412 .endif
413
414 .if ${MK_TOOLCHAIN} != "no"
415 _config=        config
416 _crunch=        crunch
417 .endif
418
419 .if ${MK_USB} != "no"
420 .if ${MACHINE_ARCH} != "ia64"
421 _uathload=      uathload
422 .endif
423 _uhsoctl=       uhsoctl
424 #_usbdevs=      usbdevs
425 _usbdump=       usbdump
426 _usbconfig=     usbconfig
427 .endif
428
429 .if ${MK_WIRELESS} != "no"
430 _ancontrol=     ancontrol
431 _wlandebug=     wlandebug
432 _wpa=           wpa
433 .endif
434
435 .if ${MACHINE_ARCH} == "arm"
436 _kgmon=         kgmon
437 .endif
438
439 .if ${MACHINE_ARCH} == "i386"
440 .if ${MK_APM} != "no"
441 _apm=           apm
442 _apmd=          apmd
443 .endif
444 _asf=           asf
445 .if ${MK_TOOLCHAIN} != "no"
446 _btxld=         btxld
447 .endif
448 _cpucontrol=    cpucontrol
449 _kgmon=         kgmon
450 _kgzip=         kgzip
451 _lptcontrol=    lptcontrol
452 .if ${MK_NCP} != "no"
453 _mount_nwfs=    mount_nwfs
454 .endif
455 _mount_smbfs=   mount_smbfs
456 _mptable=       mptable
457 .if ${MK_NDIS} != "no"
458 _ndiscvt=       ndiscvt
459 .endif
460 _pnpinfo=       pnpinfo
461 _sicontrol=     sicontrol
462 _spkrtest=      spkrtest
463 _zzz=           zzz
464 .if ${MACHINE} == "i386"
465 .if ${MK_ACPI} != "no"
466 _acpi=          acpi
467 .endif
468 _boot0cfg=      boot0cfg
469 .if ${MK_WIRELESS} != "no"
470 _wlconfig=      wlconfig
471 .endif
472 .elif ${MACHINE} == "pc98"
473 _boot98cfg=     boot98cfg
474 .endif
475 .endif
476
477 # kgzip: builds, but missing support files
478 # mptable: broken (not 64 bit clean)
479 # pnpinfo: crashes (not really useful anyway)
480 .if ${MACHINE_ARCH} == "amd64"
481 .if ${MK_ACPI} != "no"
482 _acpi=          acpi
483 .endif
484 _asf=           asf
485 _boot0cfg=      boot0cfg
486 .if ${MK_TOOLCHAIN} != "no"
487 _btxld=         btxld
488 .endif
489 _cpucontrol=    cpucontrol
490 _kgmon=         kgmon
491 _lptcontrol=    lptcontrol
492 .if ${MK_NCP} != "no"
493 _mount_nwfs=    mount_nwfs
494 .endif
495 _mount_smbfs=   mount_smbfs
496 _mptable=       mptable
497 .if ${MK_NDIS} != "no"
498 _ndiscvt=       ndiscvt
499 .endif
500 _sicontrol=     sicontrol
501 _spkrtest=      spkrtest
502 _zzz=           zzz
503 .endif
504
505 .if ${MACHINE_ARCH} == "ia64"
506 .if ${MK_ACPI} != "no"
507 _acpi=          acpi
508 .endif
509 _kgmon=         kgmon
510 _mount_smbfs=   mount_smbfs
511 _zzz=           zzz
512 .endif
513
514 .if ${MACHINE_ARCH} == "powerpc"
515 _mount_smbfs=   mount_smbfs
516 _nvram=         nvram
517 _ofwdump=       ofwdump
518 .endif
519
520 .if ${MACHINE_ARCH} == "sparc64"
521 _eeprom=        eeprom
522 _ofwdump=       ofwdump
523 .endif
524
525 .include <bsd.subdir.mk>