]> CyberLeo.Net >> Repos - FreeBSD/releng/8.1.git/blob - usr.sbin/Makefile
Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.
[FreeBSD/releng/8.1.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         ${_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 # XXX is moused w/ usb useful?
307 .if ${MK_LEGACY_CONSOLE} != "no"
308 _kbdcontrol=    kbdcontrol
309 _kbdmap=        kbdmap
310 _moused=        moused
311 _vidcontrol=    vidcontrol
312 .endif
313
314 .if ${MK_LIBTHR} != "no" || ${MK_LIBPTHREAD} != "no"
315 .if ${MK_PPP} != "no"
316 _pppctl=        pppctl
317 .endif
318 .if ${MK_NS_CACHING} != "no"
319 _nscd=          nscd
320 .endif
321 .endif
322
323 .if ${MK_LPR} != "no"
324 _lpr=           lpr
325 .endif
326
327 .if ${MK_MAN_UTILS} != "no"
328 _manctl=        manctl
329 .endif
330
331 .if ${MK_NETGRAPH} != "no"
332 _flowctl=       flowctl
333 _lmcconfig=     lmcconfig
334 _ngctl=         ngctl
335 _nghook=        nghook
336 .endif
337
338 .if ${MK_NIS} != "no"
339 _rpc.yppasswdd= rpc.yppasswdd
340 _rpc.ypupdated= rpc.ypupdated
341 _rpc.ypxfrd=    rpc.ypxfrd
342 _ypbind=        ypbind
343 _yp_mkdb=       yp_mkdb
344 _yppoll=        yppoll
345 _yppush=        yppush
346 _ypserv=        ypserv
347 _ypset=         ypset
348 .endif
349
350 .if ${MK_NTP} != "no"
351 _ntp=           ntp
352 .endif
353
354 .if ${MK_OPENSSL} != "no"
355 _keyserv=       keyserv
356 .endif
357
358 .if ${MK_PF} != "no"
359 _ftp-proxy=     ftp-proxy
360 .endif
361
362 .if ${MK_PKGTOOLS} != "no"
363 _pkg_install=   pkg_install
364 .endif
365
366 # XXX MK_TOOLCHAIN?
367 .if ${MK_PMC} != "no"
368 _pmcannotate=   pmcannotate
369 _pmccontrol=    pmccontrol
370 _pmcstat=       pmcstat
371 .endif
372
373 .if ${MK_PORTSNAP} != "no"
374 _portsnap=      portsnap
375 .endif
376
377 .if ${MK_PPP} != "no"
378 _ppp=           ppp
379 #_pppctl handled below
380 .endif
381
382 .if ${MK_QUOTAS} != "no"
383 _edquota=       edquota
384 _quotaon=       quotaon
385 _repquota=      repquota
386 .endif
387
388 .if ${MK_RCMDS} != "no"
389 _rwhod=         rwhod
390 .endif
391
392 .if ${MK_SENDMAIL} != "no"
393 _editmap=       editmap
394 _mailstats=     mailstats
395 _makemap=       makemap
396 _praliases=     praliases
397 _sendmail=      sendmail
398 .endif
399
400 .if ${MK_SYSINSTALL} != "no"
401 .if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" || \
402     ${MACHINE_ARCH} == "sparc64"
403 _sade=          sade
404 .endif
405 .if ${MACHINE_ARCH} != "arm" && ${MACHINE_ARCH} != "mips"
406 _sysinstall=    sysinstall
407 .endif
408 .endif
409
410 .if ${MK_TOOLCHAIN} != "no"
411 _config=        config
412 _crunch=        crunch
413 .endif
414
415 .if ${MK_USB} != "no"
416 .if ${MACHINE_ARCH} != "ia64"
417 _uathload=      uathload
418 .endif
419 _uhsoctl=       uhsoctl
420 #_usbdevs=      usbdevs
421 _usbconfig=     usbconfig
422 .endif
423
424 .if ${MK_WIRELESS} != "no"
425 _ancontrol=     ancontrol
426 _wlandebug=     wlandebug
427 _wpa=           wpa
428 .endif
429
430 .if ${MACHINE_ARCH} == "arm"
431 _kgmon=         kgmon
432 .endif
433
434 .if ${MACHINE_ARCH} == "i386"
435 .if ${MK_APM} != "no"
436 _apm=           apm
437 _apmd=          apmd
438 .endif
439 _asf=           asf
440 .if ${MK_TOOLCHAIN} != "no"
441 _btxld=         btxld
442 .endif
443 _cpucontrol=    cpucontrol
444 _kgmon=         kgmon
445 _kgzip=         kgzip
446 _lptcontrol=    lptcontrol
447 .if ${MK_NCP} != "no"
448 _mount_nwfs=    mount_nwfs
449 .endif
450 _mount_smbfs=   mount_smbfs
451 _mptable=       mptable
452 .if ${MK_NDIS} != "no"
453 _ndiscvt=       ndiscvt
454 .endif
455 _pnpinfo=       pnpinfo
456 _sicontrol=     sicontrol
457 _spkrtest=      spkrtest
458 _zzz=           zzz
459 .if ${MACHINE} == "i386"
460 .if ${MK_ACPI} != "no"
461 _acpi=          acpi
462 .endif
463 _boot0cfg=      boot0cfg
464 .if ${MK_WIRELESS} != "no"
465 _wlconfig=      wlconfig
466 .endif
467 .elif ${MACHINE} == "pc98"
468 _boot98cfg=     boot98cfg
469 .endif
470 .endif
471
472 # kgzip: builds, but missing support files
473 # mptable: broken (not 64 bit clean)
474 # pnpinfo: crashes (not really useful anyway)
475 .if ${MACHINE_ARCH} == "amd64"
476 .if ${MK_ACPI} != "no"
477 _acpi=          acpi
478 .endif
479 _asf=           asf
480 _boot0cfg=      boot0cfg
481 .if ${MK_TOOLCHAIN} != "no"
482 _btxld=         btxld
483 .endif
484 _cpucontrol=    cpucontrol
485 _kgmon=         kgmon
486 _lptcontrol=    lptcontrol
487 .if ${MK_NCP} != "no"
488 _mount_nwfs=    mount_nwfs
489 .endif
490 _mount_smbfs=   mount_smbfs
491 _mptable=       mptable
492 .if ${MK_NDIS} != "no"
493 _ndiscvt=       ndiscvt
494 .endif
495 _sicontrol=     sicontrol
496 _spkrtest=      spkrtest
497 _zzz=           zzz
498 .endif
499
500 .if ${MACHINE_ARCH} == "ia64"
501 .if ${MK_ACPI} != "no"
502 _acpi=          acpi
503 .endif
504 _kgmon=         kgmon
505 _mount_smbfs=   mount_smbfs
506 _zzz=           zzz
507 .endif
508
509 .if ${MACHINE_ARCH} == "powerpc"
510 _mount_smbfs=   mount_smbfs
511 _nvram=         nvram
512 _ofwdump=       ofwdump
513 .endif
514
515 .if ${MACHINE_ARCH} == "sparc64"
516 _eeprom=        eeprom
517 _ofwdump=       ofwdump
518 .endif
519
520 .include <bsd.subdir.mk>