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