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