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