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