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