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