]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - usr.sbin/Makefile
Fix build breakages on ia64 introduced some commits ago.
[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 SUBDIR= ${_ac} \
7         ${_accton} \
8         ${_acpi} \
9         adduser \
10         ${_amd} \
11         ${_ancontrol} \
12         ${_apm} \
13         ${_apmd} \
14         arp \
15         ${_asf} \
16         ${_atm} \
17         ${_audit} \
18         ${_auditd} \
19         ${_auditreduce} \
20         ${_authpf} \
21         ${_bluetooth} \
22         ${_boot0cfg} \
23         ${_boot98cfg} \
24         bootparamd \
25         ${_bsnmpd} \
26         ${_btxld} \
27         burncd \
28         cdcontrol \
29         chkgrp \
30         chown \
31         chroot \
32         ckdist \
33         clear_locks \
34         ${_config} \
35         ${_cpucontrol} \
36         crashinfo \
37         cron \
38         ${_crunch} \
39         ${_ctm} \
40         daemon \
41         dconschat \
42         devinfo \
43         digictl \
44         diskinfo \
45         ${_dnssec-dsfromkey} \
46         ${_dnssec-keyfromlabel} \
47         ${_dnssec-keygen} \
48         ${_dnssec-signzone} \
49         dumpcis \
50         ${_editmap} \
51         ${_edquota} \
52         ${_eeprom} \
53         extattr \
54         extattrctl \
55         ${_faithd} \
56         ${_fdcontrol} \
57         ${_fdformat} \
58         ${_fdread} \
59         ${_fdwrite} \
60         fifolog \
61         ${_flowctl} \
62         ${_freebsd-update} \
63         ${_ftp-proxy} \
64         fwcontrol \
65         getfmac \
66         getpmac \
67         gstat \
68         ${_gssd} \
69         i2c \
70         ifmcstat \
71         inetd \
72         iostat \
73         ${_ip6addrctl} \
74         ${_ipfwpcap} \
75         ${_IPXrouted} \
76         ${_jail} \
77         ${_jexec} \
78         ${_jls} \
79         ${_kbdcontrol} \
80         ${_kbdmap} \
81         ${_keyserv} \
82         ${_kgmon} \
83         ${_kgzip} \
84         kldxref \
85         lastlogin \
86         ${_lmcconfig} \
87         ${_lpr} \
88         ${_lptcontrol} \
89         ${_mailstats} \
90         mailwrapper \
91         makefs \
92         ${_makemap} \
93         ${_manctl} \
94         memcontrol \
95         mergemaster \
96         mfiutil \
97         mixer \
98         ${_mld6query} \
99         mlxcontrol \
100         mountd \
101         ${_mount_nwfs} \
102         mount_portalfs \
103         ${_mount_smbfs} \
104         ${_moused} \
105         ${_mptable} \
106         mptutil \
107         mtest \
108         mtree \
109         ${_named} \
110         ${_named-checkconf} \
111         ${_named-checkzone} \
112         ${_named.reload} \
113         ${_ndiscvt} \
114         ${_ndp} \
115         newsyslog \
116         nfscbd \
117         nfsd \
118         nfsdumpstate \
119         nfsrevoke \
120         nfsuserd \
121         ${_ngctl} \
122         ${_nghook} \
123         nologin \
124         ${_nscd} \
125         ${_ntp} \
126         ${_nvram} \
127         ${_ofwdump} \
128         pciconf \
129         periodic \
130         ${_pkg_install} \
131         ${_pmcannotate} \
132         ${_pmccontrol} \
133         ${_pmcstat} \
134         ${_pnpinfo} \
135         ${_portsnap} \
136         powerd \
137         ${_ppp} \
138         ${_pppctl} \
139         ${_praliases} \
140         ${_praudit} \
141         procctl \
142         pstat \
143         pw \
144         pwd_mkdb \
145         quot \
146         ${_quotaon} \
147         rarpd \
148         ${_repquota} \
149         ${_rip6query} \
150         rmt \
151         ${_rndc} \
152         ${_rndc-confgen} \
153         ${_route6d} \
154         rpcbind \
155         rpc.lockd \
156         rpc.statd \
157         rpc.umntall \
158         ${_rpc.yppasswdd} \
159         ${_rpc.ypupdated} \
160         ${_rpc.ypxfrd} \
161         ${_rrenumd} \
162         ${_rtadvd} \
163         rtprio \
164         ${_rtsold} \
165         ${_rwhod} \
166         ${_sa} \
167         ${_sade} \
168         ${_sendmail} \
169         service \
170         services_mkdb \
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 .if ${MK_LEGACY_CONSOLE} != "no"
306 _kbdcontrol=    kbdcontrol
307 _kbdmap=        kbdmap
308 _moused=        moused
309 _vidcontrol=    vidcontrol
310 .endif
311
312 .if ${MK_LIBTHR} != "no" || ${MK_LIBPTHREAD} != "no"
313 .if ${MK_PPP} != "no"
314 _pppctl=        pppctl
315 .endif
316 .if ${MK_NS_CACHING} != "no"
317 _nscd=          nscd
318 .endif
319 .endif
320
321 .if ${MK_LPR} != "no"
322 _lpr=           lpr
323 .endif
324
325 .if ${MK_MAN_UTILS} != "no"
326 _manctl=        manctl
327 .endif
328
329 .if ${MK_NETGRAPH} != "no"
330 _flowctl=       flowctl
331 _lmcconfig=     lmcconfig
332 _ngctl=         ngctl
333 _nghook=        nghook
334 .endif
335
336 .if ${MK_NIS} != "no"
337 _rpc.yppasswdd= rpc.yppasswdd
338 _rpc.ypupdated= rpc.ypupdated
339 _rpc.ypxfrd=    rpc.ypxfrd
340 _ypbind=        ypbind
341 _yp_mkdb=       yp_mkdb
342 _yppoll=        yppoll
343 _yppush=        yppush
344 _ypserv=        ypserv
345 _ypset=         ypset
346 .endif
347
348 .if ${MK_NTP} != "no"
349 _ntp=           ntp
350 .endif
351
352 .if ${MK_OPENSSL} != "no"
353 _keyserv=       keyserv
354 .endif
355
356 .if ${MK_PF} != "no"
357 _ftp-proxy=     ftp-proxy
358 .endif
359
360 .if ${MK_PKGTOOLS} != "no"
361 _pkg_install=   pkg_install
362 .endif
363
364 # XXX MK_TOOLCHAIN?
365 .if ${MK_PMC} != "no"
366 _pmcannotate=   pmcannotate
367 _pmccontrol=    pmccontrol
368 _pmcstat=       pmcstat
369 .endif
370
371 .if ${MK_PORTSNAP} != "no"
372 _portsnap=      portsnap
373 .endif
374
375 .if ${MK_PPP} != "no"
376 _ppp=           ppp
377 #_pppctl handled below
378 .endif
379
380 .if ${MK_QUOTAS} != "no"
381 _edquota=       edquota
382 _quotaon=       quotaon
383 _repquota=      repquota
384 .endif
385
386 .if ${MK_RCMDS} != "no"
387 _rwhod=         rwhod
388 .endif
389
390 .if ${MK_SENDMAIL} != "no"
391 _editmap=       editmap
392 _mailstats=     mailstats
393 _makemap=       makemap
394 _praliases=     praliases
395 _sendmail=      sendmail
396 .endif
397
398 .if ${MK_SYSINSTALL} != "no"
399 .if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" || \
400     ${MACHINE_ARCH} == "sparc64"
401 _sade=          sade
402 .endif
403 .if ${MACHINE_ARCH} != "arm" && ${MACHINE_ARCH} != "mips"
404 _sysinstall=    sysinstall
405 .endif
406 .endif
407
408 .if ${MK_TOOLCHAIN} != "no"
409 _config=        config
410 _crunch=        crunch
411 .endif
412
413 .if ${MK_USB} != "no"
414 .if ${MACHINE_ARCH} != "ia64"
415 _uathload=      uathload
416 .endif
417 _uhsoctl=       uhsoctl
418 #_usbdevs=      usbdevs
419 _usbconfig=     usbconfig
420 .endif
421
422 .if ${MK_WIRELESS} != "no"
423 _ancontrol=     ancontrol
424 _wlandebug=     wlandebug
425 _wpa=           wpa
426 .endif
427
428 .if ${MACHINE_ARCH} == "arm"
429 _kgmon=         kgmon
430 .endif
431
432 .if ${MACHINE_ARCH} == "i386"
433 .if ${MK_APM} != "no"
434 _apm=           apm
435 _apmd=          apmd
436 .endif
437 _asf=           asf
438 .if ${MK_TOOLCHAIN} != "no"
439 _btxld=         btxld
440 .endif
441 _cpucontrol=    cpucontrol
442 _kgmon=         kgmon
443 _kgzip=         kgzip
444 _lptcontrol=    lptcontrol
445 .if ${MK_NCP} != "no"
446 _mount_nwfs=    mount_nwfs
447 .endif
448 _mount_smbfs=   mount_smbfs
449 _mptable=       mptable
450 .if ${MK_NDIS} != "no"
451 _ndiscvt=       ndiscvt
452 .endif
453 _pnpinfo=       pnpinfo
454 _sicontrol=     sicontrol
455 _spkrtest=      spkrtest
456 _zzz=           zzz
457 .if ${MACHINE} == "i386"
458 .if ${MK_ACPI} != "no"
459 _acpi=          acpi
460 .endif
461 _boot0cfg=      boot0cfg
462 .if ${MK_WIRELESS} != "no"
463 _wlconfig=      wlconfig
464 .endif
465 .elif ${MACHINE} == "pc98"
466 _boot98cfg=     boot98cfg
467 .endif
468 .endif
469
470 # kgzip: builds, but missing support files
471 # mptable: broken (not 64 bit clean)
472 # pnpinfo: crashes (not really useful anyway)
473 .if ${MACHINE_ARCH} == "amd64"
474 .if ${MK_ACPI} != "no"
475 _acpi=          acpi
476 .endif
477 .if ${MK_APM} != "no"
478 _apm=           apm
479 .endif
480 _asf=           asf
481 _boot0cfg=      boot0cfg
482 .if ${MK_TOOLCHAIN} != "no"
483 _btxld=         btxld
484 .endif
485 _cpucontrol=    cpucontrol
486 _kgmon=         kgmon
487 _lptcontrol=    lptcontrol
488 .if ${MK_NCP} != "no"
489 _mount_nwfs=    mount_nwfs
490 .endif
491 _mount_smbfs=   mount_smbfs
492 _mptable=       mptable
493 .if ${MK_NDIS} != "no"
494 _ndiscvt=       ndiscvt
495 .endif
496 _sicontrol=     sicontrol
497 _spkrtest=      spkrtest
498 _zzz=           zzz
499 .endif
500
501 .if ${MACHINE_ARCH} == "arm"
502 _ofwdump=       ofwdump
503 .endif
504
505 .if ${MACHINE_ARCH} == "ia64"
506 .if ${MK_ACPI} != "no"
507 _acpi=          acpi
508 .endif
509 _kgmon=         kgmon
510 _mount_smbfs=   mount_smbfs
511 _zzz=           zzz
512 .endif
513
514 .if ${MACHINE_ARCH} == "powerpc"
515 _mount_smbfs=   mount_smbfs
516 _nvram=         nvram
517 _ofwdump=       ofwdump
518 .endif
519
520 .if ${MACHINE_ARCH} == "sparc64"
521 _eeprom=        eeprom
522 _mount_smbfs=   mount_smbfs
523 _ofwdump=       ofwdump
524 .endif
525
526 .include <bsd.subdir.mk>