]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - usr.sbin/Makefile
MFV of tzdata2009d:
[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         ${_pppd} \
133         ${_pppstats} \
134         ${_praliases} \
135         ${_praudit} \
136         procctl \
137         pstat \
138         pw \
139         pwd_mkdb \
140         quot \
141         ${_quotaon} \
142         rarpd \
143         ${_raycontrol} \
144         ${_repquota} \
145         ${_rip6query} \
146         rmt \
147         ${_rndc} \
148         ${_rndc-confgen} \
149         ${_route6d} \
150         rpcbind \
151         rpc.lockd \
152         rpc.statd \
153         rpc.umntall \
154         ${_rpc.yppasswdd} \
155         ${_rpc.ypupdated} \
156         ${_rpc.ypxfrd} \
157         ${_rrenumd} \
158         ${_rtadvd} \
159         rtprio \
160         ${_rtsold} \
161         ${_rwhod} \
162         ${_sa} \
163         ${_sade} \
164         ${_sendmail} \
165         setfib \
166         setfmac \
167         setpmac \
168         ${_sicontrol} \
169         ${_sliplogin} \
170         ${_slstat} \
171         smbmsg \
172         snapinfo \
173         ${_spkrtest} \
174         spray \
175         ${_sysinstall} \
176         syslogd \
177         tcpdchk \
178         tcpdmatch \
179         tcpdrop \
180         tcpdump \
181         timed \
182         traceroute \
183         ${_traceroute6} \
184         trpt \
185         tzsetup \
186         ugidfw \
187         ${_usbdevs} \
188         ${_usbconfig} \
189         ${_vidcontrol} \
190         vipw \
191         watch \
192         watchdogd \
193         ${_wlandebug} \
194         ${_wlconfig} \
195         ${_wpa} \
196         ${_ypbind} \
197         ${_yp_mkdb} \
198         ${_yppoll} \
199         ${_yppush} \
200         ${_ypserv} \
201         ${_ypset} \
202         zic \
203         ${_zzz}
204
205 # NB: keep these sorted by MK_* knobs
206
207 .if ${MK_ACCT} != "no"
208 _ac=            ac
209 _accton=        accton
210 _sa=            sa
211 .endif
212
213 .if ${MK_AMD} != "no"
214 _amd=           amd
215 .endif
216
217 .if ${MK_AUDIT} != "no"
218 _audit=         audit
219 _auditd=        auditd
220 _auditreduce=   auditreduce
221 _praudit=       praudit
222 .endif
223
224 .if ${MK_AUTHPF} != "no"
225 _authpf=        authpf
226 .endif
227
228 .if ${MK_BIND_DNSSEC} != "no" && ${MK_OPENSSL} != "no"
229 _dnssec-keygen=         dnssec-keygen
230 _dnssec-signzone=       dnssec-signzone
231 .endif
232 .if ${MK_BIND_NAMED} != "no"
233 _named=                 named
234 _named-checkconf=       named-checkconf
235 _named-checkzone=       named-checkzone
236 _named.reload=          named.reload
237 _rndc=                  rndc
238 _rndc-confgen=          rndc-confgen
239 .endif
240
241 .if ${MK_BLUETOOTH} != "no"
242 _bluetooth=     bluetooth
243 .endif
244
245 .if ${MK_BSNMP} != "no"
246 _bsnmpd=        bsnmpd
247 .endif
248
249 .if ${MK_CTM} != "no"
250 _ctm=           ctm
251 .endif
252
253 .if ${MK_FLOPPY} != "no"
254 _fdcontrol=     fdcontrol
255 _fdformat=      fdformat
256 _fdread=        fdread
257 _fdwrite=       fdwrite
258 .endif
259
260 .if ${MK_FREEBSD_UPDATE} != "no"
261 _freebsd-update= freebsd-update
262 .endif
263
264 .if ${MK_GSSAPI} != no
265 _gssd=          gssd
266 .endif
267
268 .if ${MK_INET6} != "no"
269 _faithd=        faithd
270 _ip6addrctl=    ip6addrctl
271 _mld6query=     mld6query
272 _ndp=           ndp
273 _rip6query=     rip6query
274 _route6d=       route6d
275 _rrenumd=       rrenumd
276 _rtadvd=        rtadvd
277 _rtsold=        rtsold
278 _traceroute6=   traceroute6
279 .endif
280
281 .if ${MK_IPFW} != "no"
282 _ipfwpcap=      ipfwpcap
283 .endif
284
285 .if ${MK_IPX} != "no"
286 _IPXrouted=     IPXrouted
287 .endif
288
289 .if ${MK_JAIL} != "no"
290 _jail=          jail
291 _jexec=         jexec
292 _jls=           jls
293 .endif
294
295 # XXX MK_SYSCONS
296 # XXX is moused w/ usb useful?
297 .if ${MK_LEGACY_CONSOLE} != "no"
298 _kbdcontrol=    kbdcontrol
299 _kbdmap=        kbdmap
300 _moused=        moused
301 _vidcontrol=    vidcontrol
302 .endif
303
304 .if ${MK_LIBTHR} != "no" || ${MK_LIBPTHREAD} != "no"
305 .if ${MK_PPP} != "no"
306 _pppctl=        pppctl
307 .endif
308 .if ${MK_NS_CACHING} != "no"
309 _nscd=          nscd
310 .endif
311 .endif
312
313 .if ${MK_LPR} != "no"
314 _lpr=           lpr
315 .endif
316
317 .if ${MK_NETGRAPH} != "no"
318 _flowctl=       flowctl
319 _lmcconfig=     lmcconfig
320 _ngctl=         ngctl
321 _nghook=        nghook
322 .endif
323
324 .if ${MK_NIS} != "no"
325 _rpc.yppasswdd= rpc.yppasswdd
326 _rpc.ypupdated= rpc.ypupdated
327 _rpc.ypxfrd=    rpc.ypxfrd
328 _ypbind=        ypbind
329 _yp_mkdb=       yp_mkdb
330 _yppoll=        yppoll
331 _yppush=        yppush
332 _ypserv=        ypserv
333 _ypset=         ypset
334 .endif
335
336 .if ${MK_NTP} != "no"
337 _ntp=           ntp
338 .endif
339
340 .if ${MK_OPENSSL} != "no"
341 _keyserv=       keyserv
342 .endif
343
344 .if ${MK_PF} != "no"
345 _ftp-proxy=     ftp-proxy
346 .endif
347
348 .if ${MK_PKGTOOLS} != "no"
349 _pkg_install=   pkg_install
350 .endif
351
352 # XXX MK_TOOLCHAIN?
353 .if ${MK_PMC} != "no"
354 _pmcannotate=   pmcannotate
355 _pmccontrol=    pmccontrol
356 _pmcstat=       pmcstat
357 .endif
358
359 .if ${MK_PORTSNAP} != "no"
360 _portsnap=      portsnap
361 .endif
362
363 .if ${MK_PPP} != "no"
364 _ppp=           ppp
365 #_pppctl handled below
366 _pppd=          pppd
367 _pppstats=      pppstats
368 .endif
369
370 .if ${MK_QUOTAS} != "no"
371 _edquota=       edquota
372 _quotaon=       quotaon
373 _repquota=      repquota
374 .endif
375
376 .if ${MK_RCMDS} != "no"
377 _rwhod=         rwhod
378 .endif
379
380 .if ${MK_SENDMAIL} != "no"
381 _editmap=       editmap
382 _mailstats=     mailstats
383 _makemap=       makemap
384 _praliases=     praliases
385 _sendmail=      sendmail
386 .endif
387
388 .if ${MK_SLIP} != "no"
389 _sliplogin=     sliplogin
390 _slstat=        slstat
391 .endif
392
393 .if ${MK_SYSINSTALL} != "no"
394 .if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" || \
395     ${MACHINE_ARCH} == "sparc64"
396 _sade=          sade
397 .endif
398 .if ${MACHINE_ARCH} != "arm" && ${MACHINE_ARCH} != "mips"
399 _sysinstall=    sysinstall
400 .endif
401 .endif
402
403 .if ${MK_TOOLCHAIN} != "no"
404 _config=        config
405 _crunch=        crunch
406 .endif
407
408 .if ${MK_USB} != "no"
409 #_usbdevs=      usbdevs
410 _usbconfig=     usbconfig
411 .endif
412
413 .if ${MK_WIRELESS} != "no"
414 _ancontrol=     ancontrol
415 _raycontrol=    raycontrol
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>