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