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