]> CyberLeo.Net >> Repos - FreeBSD/releng/7.2.git/blob - usr.sbin/Makefile
Change the current working directory to be inside the jail created by
[FreeBSD/releng/7.2.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         ${_arlcontrol} \
16         arp \
17         ${_asf} \
18         ${_atm} \
19         ${_audit} \
20         ${_auditd} \
21         ${_auditreduce} \
22         ${_authpf} \
23         ${_bluetooth} \
24         ${_boot0cfg} \
25         ${_boot98cfg} \
26         bootparamd \
27         ${_bsnmpd} \
28         ${_btxld} \
29         burncd \
30         cdcontrol \
31         chkgrp \
32         chown \
33         chroot \
34         ckdist \
35         clear_locks \
36         ${_config} \
37         ${_cpucontrol} \
38         crashinfo \
39         cron \
40         ${_crunch} \
41         ${_ctm} \
42         daemon \
43         dconschat \
44         devinfo \
45         digictl \
46         diskinfo \
47         ${_dnssec-keygen} \
48         ${_dnssec-signzone} \
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         ${_i4b} \
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         mixer \
95         ${_mld6query} \
96         mlxcontrol \
97         mountd \
98         ${_mount_nwfs} \
99         mount_portalfs \
100         ${_mount_smbfs} \
101         ${_moused} \
102         ${_mptable} \
103         mtest \
104         mtree \
105         ${_named} \
106         ${_named-checkconf} \
107         ${_named-checkzone} \
108         ${_named.reload} \
109         ${_ndiscvt} \
110         ${_ndp} \
111         newsyslog \
112         nfsd \
113         ${_ngctl} \
114         ${_nghook} \
115         nologin \
116         ${_nscd} \
117         ${_ntp} \
118         ${_nvram} \
119         ${_ofwdump} \
120         pccard \
121         pciconf \
122         periodic \
123         ${_pkg_install} \
124         ${_pmccontrol} \
125         ${_pmcstat} \
126         ${_pnpinfo} \
127         ${_portsnap} \
128         powerd \
129         ${_ppp} \
130         ${_pppctl} \
131         ${_pppd} \
132         ${_pppstats} \
133         ${_praliases} \
134         ${_praudit} \
135         procctl \
136         pstat \
137         pw \
138         pwd_mkdb \
139         quot \
140         ${_quotaon} \
141         rarpd \
142         ${_raycontrol} \
143         ${_repquota} \
144         ${_rip6query} \
145         rmt \
146         ${_rndc} \
147         ${_rndc-confgen} \
148         ${_route6d} \
149         rpcbind \
150         rpc.lockd \
151         rpc.statd \
152         rpc.umntall \
153         ${_rpc.yppasswdd} \
154         ${_rpc.ypupdated} \
155         ${_rpc.ypxfrd} \
156         ${_rrenumd} \
157         ${_rtadvd} \
158         rtprio \
159         ${_rtsold} \
160         ${_rwhod} \
161         ${_sa} \
162         ${_sade} \
163         ${_sendmail} \
164         setfib \
165         setfmac \
166         setpmac \
167         ${_sicontrol} \
168         ${_sliplogin} \
169         ${_slstat} \
170         smbmsg \
171         snapinfo \
172         ${_spkrtest} \
173         spray \
174         ${_sysinstall} \
175         syslogd \
176         tcpdchk \
177         tcpdmatch \
178         tcpdrop \
179         tcpdump \
180         timed \
181         traceroute \
182         ${_traceroute6} \
183         trpt \
184         tzsetup \
185         ugidfw \
186         ${_usbdevs} \
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_INET6} != "no"
263 _faithd=        faithd
264 _ip6addrctl=    ip6addrctl
265 _mld6query=     mld6query
266 _ndp=           ndp
267 _rip6query=     rip6query
268 _route6d=       route6d
269 _rrenumd=       rrenumd
270 _rtadvd=        rtadvd
271 _rtsold=        rtsold
272 _traceroute6=   traceroute6
273 .endif
274
275 .if ${MK_IPFW} != "no"
276 _ipfwpcap=      ipfwpcap
277 .endif
278
279 .if ${MK_IPX} != "no"
280 _IPXrouted=     IPXrouted
281 .endif
282
283 .if ${MK_JAIL} != "no"
284 _jail=          jail
285 _jexec=         jexec
286 _jls=           jls
287 .endif
288
289 # XXX MK_SYSCONS
290 # XXX is moused w/ usb useful?
291 .if ${MK_LEGACY_CONSOLE} != "no"
292 _kbdcontrol=    kbdcontrol
293 _kbdmap=        kbdmap
294 _moused=        moused
295 _vidcontrol=    vidcontrol
296 .endif
297
298 .if ${MK_LIBTHR} != "no" || ${MK_LIBKSE} != "no"
299 .if ${MK_PPP} != "no"
300 _pppctl=        pppctl
301 .endif
302 .if ${MK_NS_CACHING} != "no"
303 _nscd=          nscd
304 .endif
305 .endif
306
307 .if ${MK_LPR} != "no"
308 _lpr=           lpr
309 .endif
310
311 .if ${MK_NETGRAPH} != "no"
312 _flowctl=       flowctl
313 _lmcconfig=     lmcconfig
314 _ngctl=         ngctl
315 _nghook=        nghook
316 .endif
317
318 .if ${MK_NIS} != "no"
319 _rpc.yppasswdd= rpc.yppasswdd
320 _rpc.ypupdated= rpc.ypupdated
321 _rpc.ypxfrd=    rpc.ypxfrd
322 _ypbind=        ypbind
323 _yp_mkdb=       yp_mkdb
324 _yppoll=        yppoll
325 _yppush=        yppush
326 _ypserv=        ypserv
327 _ypset=         ypset
328 .endif
329
330 .if ${MK_NTP} != "no"
331 _ntp=           ntp
332 .endif
333
334 .if ${MK_OPENSSL} != "no"
335 _keyserv=       keyserv
336 .endif
337
338 .if ${MK_PF} != "no"
339 _ftp-proxy=     ftp-proxy
340 .endif
341
342 .if ${MK_PKGTOOLS} != "no"
343 _pkg_install=   pkg_install
344 .endif
345
346 # XXX MK_TOOLCHAIN?
347 .if ${MK_PMC} != "no"
348 _pmccontrol=    pmccontrol
349 _pmcstat=       pmcstat
350 .endif
351
352 .if ${MK_PORTSNAP} != "no"
353 _portsnap=      portsnap
354 .endif
355
356 .if ${MK_PPP} != "no"
357 _ppp=           ppp
358 #_pppctl handled below
359 _pppd=          pppd
360 _pppstats=      pppstats
361 .endif
362
363 .if ${MK_QUOTAS} != "no"
364 _edquota=       edquota
365 _quotaon=       quotaon
366 _repquota=      repquota
367 .endif
368
369 .if ${MK_RCMDS} != "no"
370 _rwhod=         rwhod
371 .endif
372
373 .if ${MK_SENDMAIL} != "no"
374 _editmap=       editmap
375 _mailstats=     mailstats
376 _makemap=       makemap
377 _praliases=     praliases
378 _sendmail=      sendmail
379 .endif
380
381 .if ${MK_SLIP} != "no"
382 _sliplogin=     sliplogin
383 _slstat=        slstat
384 .endif
385
386 .if ${MK_SYSINSTALL} != "no"
387 .if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" || \
388     ${MACHINE_ARCH} == "sparc64"
389 _sade=          sade
390 .endif
391 .if ${MACHINE_ARCH} != "arm" && ${MACHINE_ARCH} != "mips"
392 _sysinstall=    sysinstall
393 .endif
394 .endif
395
396 .if ${MK_TOOLCHAIN} != "no"
397 _config=        config
398 _crunch=        crunch
399 .endif
400
401 .if ${MK_USB} != "no"
402 _usbdevs=       usbdevs
403 .endif
404
405 .if ${MK_WIRELESS} != "no"
406 _ancontrol=     ancontrol
407 _raycontrol=    raycontrol
408 _wlandebug=     wlandebug
409 _wpa=           wpa
410 .endif
411
412 .if ${MACHINE_ARCH} == "arm"
413 _kgmon=         kgmon
414 .endif
415
416 .if ${MACHINE_ARCH} == "i386"
417 .if ${MK_APM} != "no"
418 _apm=           apm
419 _apmd=          apmd
420 .endif
421 _asf=           asf
422 .if ${MK_TOOLCHAIN} != "no"
423 _btxld=         btxld
424 .endif
425 _cpucontrol=    cpucontrol
426 .if ${MK_I4B} != "no"
427 _i4b=           i4b
428 .endif
429 _kgmon=         kgmon
430 _kgzip=         kgzip
431 _lptcontrol=    lptcontrol
432 .if ${MK_NCP} != "no"
433 _mount_nwfs=    mount_nwfs
434 .endif
435 _mount_smbfs=   mount_smbfs
436 _mptable=       mptable
437 .if ${MK_NDIS} != "no"
438 _ndiscvt=       ndiscvt
439 .endif
440 _pnpinfo=       pnpinfo
441 _sicontrol=     sicontrol
442 _spkrtest=      spkrtest
443 _zzz=           zzz
444 .if ${MACHINE} == "i386"
445 .if ${MK_ACPI} != "no"
446 _acpi=          acpi
447 .endif
448 _arlcontrol=    arlcontrol
449 _boot0cfg=      boot0cfg
450 .if ${MK_WIRELESS} != "no"
451 _wlconfig=      wlconfig
452 .endif
453 .elif ${MACHINE} == "pc98"
454 _boot98cfg=     boot98cfg
455 .endif
456 .endif
457
458 # kgzip: builds, but missing support files
459 # mptable: broken (not 64 bit clean)
460 # pnpinfo: crashes (not really useful anyway)
461 .if ${MACHINE_ARCH} == "amd64"
462 .if ${MK_ACPI} != "no"
463 _acpi=          acpi
464 .endif
465 _asf=           asf
466 _boot0cfg=      boot0cfg
467 .if ${MK_TOOLCHAIN} != "no"
468 _btxld=         btxld
469 .endif
470 _cpucontrol=    cpucontrol
471 _kgmon=         kgmon
472 _lptcontrol=    lptcontrol
473 .if ${MK_NCP} != "no"
474 _mount_nwfs=    mount_nwfs
475 .endif
476 _mount_smbfs=   mount_smbfs
477 _mptable=       mptable
478 .if ${MK_NDIS} != "no"
479 _ndiscvt=       ndiscvt
480 .endif
481 _sicontrol=     sicontrol
482 _spkrtest=      spkrtest
483 _zzz=           zzz
484 .endif
485
486 .if ${MACHINE_ARCH} == "ia64"
487 .if ${MK_ACPI} != "no"
488 _acpi=          acpi
489 .endif
490 _kgmon=         kgmon
491 _mount_smbfs=   mount_smbfs
492 _zzz=           zzz
493 .endif
494
495 .if ${MACHINE_ARCH} == "powerpc"
496 _mount_smbfs=   mount_smbfs
497 _nvram=         nvram
498 .endif
499
500 .if ${MACHINE_ARCH} == "sparc64"
501 _eeprom=        eeprom
502 _ofwdump=       ofwdump
503 .endif
504
505 .include <bsd.subdir.mk>