]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/blob - usr.sbin/Makefile
MFC r263778:
[FreeBSD/stable/8.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         dumpcis \
47         ${_editmap} \
48         ${_edquota} \
49         ${_eeprom} \
50         extattr \
51         extattrctl \
52         ${_faithd} \
53         ${_fdcontrol} \
54         ${_fdformat} \
55         ${_fdread} \
56         ${_fdwrite} \
57         fifolog \
58         ${_flowctl} \
59         ${_freebsd-update} \
60         ${_ftp-proxy} \
61         fwcontrol \
62         getfmac \
63         getpmac \
64         gstat \
65         ${_gssd} \
66         i2c \
67         ifmcstat \
68         inetd \
69         iostat \
70         ${_ip6addrctl} \
71         ${_ipfwpcap} \
72         ${_IPXrouted} \
73         ${_jail} \
74         ${_jexec} \
75         ${_jls} \
76         ${_kbdcontrol} \
77         ${_kbdmap} \
78         ${_keyserv} \
79         ${_kgmon} \
80         ${_kgzip} \
81         kldxref \
82         lastlogin \
83         ${_lmcconfig} \
84         ${_lpr} \
85         ${_lptcontrol} \
86         ${_mailstats} \
87         mailwrapper \
88         makefs \
89         ${_makemap} \
90         ${_manctl} \
91         memcontrol \
92         mergemaster \
93         mfiutil \
94         mixer \
95         ${_mld6query} \
96         mlxcontrol \
97         mountd \
98         ${_mount_nwfs} \
99         mount_portalfs \
100         ${_mount_smbfs} \
101         ${_moused} \
102         ${_mptable} \
103         mptutil \
104         mtest \
105         mtree \
106         ${_ndiscvt} \
107         ${_ndp} \
108         newsyslog \
109         nfscbd \
110         nfsd \
111         nfsdumpstate \
112         nfsrevoke \
113         nfsuserd \
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         ${_praliases} \
133         ${_praudit} \
134         procctl \
135         pstat \
136         pw \
137         pwd_mkdb \
138         quot \
139         ${_quotaon} \
140         rarpd \
141         ${_repquota} \
142         ${_rip6query} \
143         rmt \
144         ${_route6d} \
145         rpcbind \
146         rpc.lockd \
147         rpc.statd \
148         rpc.umntall \
149         ${_rpc.yppasswdd} \
150         ${_rpc.ypupdated} \
151         ${_rpc.ypxfrd} \
152         ${_rrenumd} \
153         ${_rtadvctl} \
154         ${_rtadvd} \
155         rtprio \
156         ${_rtsold} \
157         ${_rwhod} \
158         ${_sa} \
159         ${_sade} \
160         ${_sendmail} \
161         service \
162         services_mkdb \
163         setfib \
164         setfmac \
165         setpmac \
166         ${_sicontrol} \
167         smbmsg \
168         snapinfo \
169         ${_spkrtest} \
170         spray \
171         ${_sysinstall} \
172         syslogd \
173         tcpdchk \
174         tcpdmatch \
175         tcpdrop \
176         tcpdump \
177         timed \
178         traceroute \
179         ${_traceroute6} \
180         trpt \
181         tzsetup \
182         ${_uathload} \
183         ugidfw \
184         ${_uhsoctl} \
185         ${_usbdevs} \
186         ${_usbdump} \
187         ${_usbconfig} \
188         ${_vidcontrol} \
189         vipw \
190         wake \
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 SUBDIR+=        dnssec-dsfromkey
230 SUBDIR+=        dnssec-keyfromlabel
231 SUBDIR+=        dnssec-keygen
232 SUBDIR+=        dnssec-revoke
233 SUBDIR+=        dnssec-settime
234 SUBDIR+=        dnssec-signzone
235 .endif
236 .if ${MK_BIND_NAMED} != "no"
237 SUBDIR+=        arpaname
238 SUBDIR+=        ddns-confgen
239 SUBDIR+=        genrandom
240 SUBDIR+=        isc-hmac-fixup
241 SUBDIR+=        named
242 SUBDIR+=        named-checkconf
243 SUBDIR+=        named-checkzone
244 SUBDIR+=        named-journalprint
245 SUBDIR+=        named.reload
246 SUBDIR+=        nsec3hash
247 SUBDIR+=        rndc
248 SUBDIR+=        rndc-confgen
249 .endif
250
251 .if ${MK_BLUETOOTH} != "no"
252 _bluetooth=     bluetooth
253 .endif
254
255 .if ${MK_BSNMP} != "no"
256 _bsnmpd=        bsnmpd
257 .endif
258
259 .if ${MK_CTM} != "no"
260 _ctm=           ctm
261 .endif
262
263 .if ${MK_FLOPPY} != "no"
264 _fdcontrol=     fdcontrol
265 _fdformat=      fdformat
266 _fdread=        fdread
267 _fdwrite=       fdwrite
268 .endif
269
270 .if ${MK_FREEBSD_UPDATE} != "no"
271 _freebsd-update= freebsd-update
272 .endif
273
274 .if ${MK_GSSAPI} != no
275 _gssd=          gssd
276 .endif
277
278 .if ${MK_INET6} != "no"
279 _faithd=        faithd
280 _ip6addrctl=    ip6addrctl
281 _mld6query=     mld6query
282 _ndp=           ndp
283 _rip6query=     rip6query
284 _route6d=       route6d
285 _rrenumd=       rrenumd
286 _rtadvctl=      rtadvctl
287 _rtadvd=        rtadvd
288 _rtsold=        rtsold
289 _traceroute6=   traceroute6
290 .endif
291
292 .if ${MK_IPFW} != "no"
293 _ipfwpcap=      ipfwpcap
294 .endif
295
296 .if ${MK_IPX} != "no"
297 _IPXrouted=     IPXrouted
298 .endif
299
300 .if ${MK_JAIL} != "no"
301 _jail=          jail
302 _jexec=         jexec
303 _jls=           jls
304 .endif
305
306 # XXX MK_SYSCONS
307 # XXX is moused w/ usb useful?
308 .if ${MK_LEGACY_CONSOLE} != "no"
309 _kbdcontrol=    kbdcontrol
310 _kbdmap=        kbdmap
311 _moused=        moused
312 _vidcontrol=    vidcontrol
313 .endif
314
315 .if ${MK_LIBTHR} != "no" || ${MK_LIBPTHREAD} != "no"
316 .if ${MK_PPP} != "no"
317 _pppctl=        pppctl
318 .endif
319 .if ${MK_NS_CACHING} != "no"
320 _nscd=          nscd
321 .endif
322 .endif
323
324 .if ${MK_LPR} != "no"
325 _lpr=           lpr
326 .endif
327
328 .if ${MK_MAN_UTILS} != "no"
329 _manctl=        manctl
330 .endif
331
332 .if ${MK_NETGRAPH} != "no"
333 _flowctl=       flowctl
334 _lmcconfig=     lmcconfig
335 _ngctl=         ngctl
336 _nghook=        nghook
337 .endif
338
339 .if ${MK_NIS} != "no"
340 _rpc.yppasswdd= rpc.yppasswdd
341 _rpc.ypupdated= rpc.ypupdated
342 _rpc.ypxfrd=    rpc.ypxfrd
343 _ypbind=        ypbind
344 _yp_mkdb=       yp_mkdb
345 _yppoll=        yppoll
346 _yppush=        yppush
347 _ypserv=        ypserv
348 _ypset=         ypset
349 .endif
350
351 .if ${MK_NTP} != "no"
352 _ntp=           ntp
353 .endif
354
355 .if ${MK_OPENSSL} != "no"
356 _keyserv=       keyserv
357 .endif
358
359 .if ${MK_PF} != "no"
360 _ftp-proxy=     ftp-proxy
361 .endif
362
363 .if ${MK_PKGTOOLS} != "no"
364 _pkg_install=   pkg_install
365 SUBDIR+=        pkg
366 .endif
367
368 # XXX MK_TOOLCHAIN?
369 .if ${MK_PMC} != "no"
370 _pmcannotate=   pmcannotate
371 _pmccontrol=    pmccontrol
372 _pmcstat=       pmcstat
373 .endif
374
375 .if ${MK_PORTSNAP} != "no"
376 _portsnap=      portsnap
377 .endif
378
379 .if ${MK_PPP} != "no"
380 _ppp=           ppp
381 #_pppctl handled below
382 .endif
383
384 .if ${MK_QUOTAS} != "no"
385 _edquota=       edquota
386 _quotaon=       quotaon
387 _repquota=      repquota
388 .endif
389
390 .if ${MK_RCMDS} != "no"
391 _rwhod=         rwhod
392 .endif
393
394 .if ${MK_SENDMAIL} != "no"
395 _editmap=       editmap
396 _mailstats=     mailstats
397 _makemap=       makemap
398 _praliases=     praliases
399 _sendmail=      sendmail
400 .endif
401
402 .if ${MK_SYSINSTALL} != "no"
403 .if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" || \
404     ${MACHINE_ARCH} == "sparc64"
405 _sade=          sade
406 .endif
407 .if ${MACHINE_ARCH} != "arm" && ${MACHINE_ARCH} != "mips"
408 _sysinstall=    sysinstall
409 .endif
410 .endif
411
412 .if ${MK_TOOLCHAIN} != "no"
413 _config=        config
414 _crunch=        crunch
415 .endif
416
417 .if ${MK_USB} != "no"
418 .if ${MACHINE_ARCH} != "ia64"
419 _uathload=      uathload
420 .endif
421 _uhsoctl=       uhsoctl
422 #_usbdevs=      usbdevs
423 _usbdump=       usbdump
424 _usbconfig=     usbconfig
425 .endif
426
427 .if ${MK_WIRELESS} != "no"
428 _ancontrol=     ancontrol
429 _wlandebug=     wlandebug
430 _wpa=           wpa
431 .endif
432
433 .if ${MACHINE_ARCH} == "arm"
434 _kgmon=         kgmon
435 .endif
436
437 .if ${MACHINE_ARCH} == "i386"
438 .if ${MK_APM} != "no"
439 _apm=           apm
440 _apmd=          apmd
441 .endif
442 _asf=           asf
443 .if ${MK_TOOLCHAIN} != "no"
444 _btxld=         btxld
445 .endif
446 _cpucontrol=    cpucontrol
447 _kgmon=         kgmon
448 _kgzip=         kgzip
449 _lptcontrol=    lptcontrol
450 .if ${MK_NCP} != "no"
451 _mount_nwfs=    mount_nwfs
452 .endif
453 _mount_smbfs=   mount_smbfs
454 _mptable=       mptable
455 .if ${MK_NDIS} != "no"
456 _ndiscvt=       ndiscvt
457 .endif
458 _pnpinfo=       pnpinfo
459 _sicontrol=     sicontrol
460 _spkrtest=      spkrtest
461 _zzz=           zzz
462 .if ${MACHINE} == "i386"
463 .if ${MK_ACPI} != "no"
464 _acpi=          acpi
465 .endif
466 _boot0cfg=      boot0cfg
467 .if ${MK_WIRELESS} != "no"
468 _wlconfig=      wlconfig
469 .endif
470 .elif ${MACHINE} == "pc98"
471 _boot98cfg=     boot98cfg
472 .endif
473 .endif
474
475 # kgzip: builds, but missing support files
476 # mptable: broken (not 64 bit clean)
477 # pnpinfo: crashes (not really useful anyway)
478 .if ${MACHINE_ARCH} == "amd64"
479 .if ${MK_ACPI} != "no"
480 _acpi=          acpi
481 .endif
482 _asf=           asf
483 _boot0cfg=      boot0cfg
484 .if ${MK_TOOLCHAIN} != "no"
485 _btxld=         btxld
486 .endif
487 _cpucontrol=    cpucontrol
488 _kgmon=         kgmon
489 _lptcontrol=    lptcontrol
490 .if ${MK_NCP} != "no"
491 _mount_nwfs=    mount_nwfs
492 .endif
493 _mount_smbfs=   mount_smbfs
494 _mptable=       mptable
495 .if ${MK_NDIS} != "no"
496 _ndiscvt=       ndiscvt
497 .endif
498 _sicontrol=     sicontrol
499 _spkrtest=      spkrtest
500 _zzz=           zzz
501 .endif
502
503 .if ${MACHINE_ARCH} == "ia64"
504 .if ${MK_ACPI} != "no"
505 _acpi=          acpi
506 .endif
507 _kgmon=         kgmon
508 _mount_smbfs=   mount_smbfs
509 _zzz=           zzz
510 .endif
511
512 .if ${MACHINE_ARCH} == "powerpc"
513 _mount_smbfs=   mount_smbfs
514 _nvram=         nvram
515 _ofwdump=       ofwdump
516 .endif
517
518 .if ${MACHINE_ARCH} == "sparc64"
519 _eeprom=        eeprom
520 _ofwdump=       ofwdump
521 .endif
522
523 SUBDIR_PARALLEL=
524
525 .include <bsd.subdir.mk>