]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - usr.sbin/Makefile
MFV of tzdata2009h:
[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         nfscbd \
114         nfsd \
115         nfsdumpstate \
116         nfsrevoke \
117         nfsuserd \
118         ${_ngctl} \
119         ${_nghook} \
120         nologin \
121         ${_nscd} \
122         ${_ntp} \
123         ${_nvram} \
124         ${_ofwdump} \
125         pciconf \
126         periodic \
127         ${_pkg_install} \
128         ${_pmcannotate} \
129         ${_pmccontrol} \
130         ${_pmcstat} \
131         ${_pnpinfo} \
132         ${_portsnap} \
133         powerd \
134         ${_ppp} \
135         ${_pppctl} \
136         ${_praliases} \
137         ${_praudit} \
138         procctl \
139         pstat \
140         pw \
141         pwd_mkdb \
142         quot \
143         ${_quotaon} \
144         rarpd \
145         ${_repquota} \
146         ${_rip6query} \
147         rmt \
148         ${_rndc} \
149         ${_rndc-confgen} \
150         ${_route6d} \
151         rpcbind \
152         rpc.lockd \
153         rpc.statd \
154         rpc.umntall \
155         ${_rpc.yppasswdd} \
156         ${_rpc.ypupdated} \
157         ${_rpc.ypxfrd} \
158         ${_rrenumd} \
159         ${_rtadvd} \
160         rtprio \
161         ${_rtsold} \
162         ${_rwhod} \
163         ${_sa} \
164         ${_sade} \
165         ${_sendmail} \
166         setfib \
167         setfmac \
168         setpmac \
169         ${_sicontrol} \
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         ${_uathload} \
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 .endif
367
368 .if ${MK_QUOTAS} != "no"
369 _edquota=       edquota
370 _quotaon=       quotaon
371 _repquota=      repquota
372 .endif
373
374 .if ${MK_RCMDS} != "no"
375 _rwhod=         rwhod
376 .endif
377
378 .if ${MK_SENDMAIL} != "no"
379 _editmap=       editmap
380 _mailstats=     mailstats
381 _makemap=       makemap
382 _praliases=     praliases
383 _sendmail=      sendmail
384 .endif
385
386 .if ${MK_SYSINSTALL} != "no"
387 .if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" || \
388     ${MACHINE_ARCH} == "sparc64"
389 _sade=          sade
390 .endif
391 .if ${MACHINE_ARCH} != "arm" && ${MACHINE_ARCH} != "mips"
392 _sysinstall=    sysinstall
393 .endif
394 .endif
395
396 .if ${MK_TOOLCHAIN} != "no"
397 _config=        config
398 _crunch=        crunch
399 .endif
400
401 .if ${MK_USB} != "no"
402 .if ${MACHINE_ARCH} != "ia64"
403 _uathload=      uathload
404 .endif
405 #_usbdevs=      usbdevs
406 _usbconfig=     usbconfig
407 .endif
408
409 .if ${MK_WIRELESS} != "no"
410 _ancontrol=     ancontrol
411 _wlandebug=     wlandebug
412 _wpa=           wpa
413 .endif
414
415 .if ${MACHINE_ARCH} == "arm"
416 _kgmon=         kgmon
417 .endif
418
419 .if ${MACHINE_ARCH} == "i386"
420 .if ${MK_APM} != "no"
421 _apm=           apm
422 _apmd=          apmd
423 .endif
424 _asf=           asf
425 .if ${MK_TOOLCHAIN} != "no"
426 _btxld=         btxld
427 .endif
428 _cpucontrol=    cpucontrol
429 _kgmon=         kgmon
430 _kgzip=         kgzip
431 _lptcontrol=    lptcontrol
432 .if ${MK_NCP} != "no"
433 _mount_nwfs=    mount_nwfs
434 .endif
435 _mount_smbfs=   mount_smbfs
436 _mptable=       mptable
437 .if ${MK_NDIS} != "no"
438 _ndiscvt=       ndiscvt
439 .endif
440 _pnpinfo=       pnpinfo
441 _sicontrol=     sicontrol
442 _spkrtest=      spkrtest
443 _zzz=           zzz
444 .if ${MACHINE} == "i386"
445 .if ${MK_ACPI} != "no"
446 _acpi=          acpi
447 .endif
448 _boot0cfg=      boot0cfg
449 .if ${MK_WIRELESS} != "no"
450 _wlconfig=      wlconfig
451 .endif
452 .elif ${MACHINE} == "pc98"
453 _boot98cfg=     boot98cfg
454 .endif
455 .endif
456
457 # kgzip: builds, but missing support files
458 # mptable: broken (not 64 bit clean)
459 # pnpinfo: crashes (not really useful anyway)
460 .if ${MACHINE_ARCH} == "amd64"
461 .if ${MK_ACPI} != "no"
462 _acpi=          acpi
463 .endif
464 _asf=           asf
465 _boot0cfg=      boot0cfg
466 .if ${MK_TOOLCHAIN} != "no"
467 _btxld=         btxld
468 .endif
469 _cpucontrol=    cpucontrol
470 _kgmon=         kgmon
471 _lptcontrol=    lptcontrol
472 .if ${MK_NCP} != "no"
473 _mount_nwfs=    mount_nwfs
474 .endif
475 _mount_smbfs=   mount_smbfs
476 _mptable=       mptable
477 .if ${MK_NDIS} != "no"
478 _ndiscvt=       ndiscvt
479 .endif
480 _sicontrol=     sicontrol
481 _spkrtest=      spkrtest
482 _zzz=           zzz
483 .endif
484
485 .if ${MACHINE_ARCH} == "ia64"
486 .if ${MK_ACPI} != "no"
487 _acpi=          acpi
488 .endif
489 _kgmon=         kgmon
490 _mount_smbfs=   mount_smbfs
491 _zzz=           zzz
492 .endif
493
494 .if ${MACHINE_ARCH} == "powerpc"
495 _mount_smbfs=   mount_smbfs
496 _nvram=         nvram
497 _ofwdump=       ofwdump
498 .endif
499
500 .if ${MACHINE_ARCH} == "sparc64"
501 _eeprom=        eeprom
502 _ofwdump=       ofwdump
503 .endif
504
505 .include <bsd.subdir.mk>