Deleted Added
full compact
Makefile (193149) Makefile (195200)
1# From: @(#)Makefile 5.20 (Berkeley) 6/12/93
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 \
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 \
193 watch \
194 watchdogd \
195 ${_wlandebug} \
196 ${_wlconfig} \
197 ${_wpa} \
198 ${_ypbind} \
199 ${_yp_mkdb} \
200 ${_yppoll} \
201 ${_yppush} \
202 ${_ypserv} \
203 ${_ypset} \
204 zic \
205 ${_zzz}
206
207# NB: keep these sorted by MK_* knobs
208
209.if ${MK_ACCT} != "no"
210_ac= ac
211_accton= accton
212_sa= sa
213.endif
214
215.if ${MK_AMD} != "no"
216_amd= amd
217.endif
218
219.if ${MK_AUDIT} != "no"
220_audit= audit
221_auditd= auditd
222_auditreduce= auditreduce
223_praudit= praudit
224.endif
225
226.if ${MK_AUTHPF} != "no"
227_authpf= authpf
228.endif
229
230.if ${MK_BIND_DNSSEC} != "no" && ${MK_OPENSSL} != "no"
231_dnssec-dsfromkey= dnssec-dsfromkey
232_dnssec-keyfromlabel= dnssec-keyfromlabel
233_dnssec-keygen= dnssec-keygen
234_dnssec-signzone= dnssec-signzone
235.endif
236.if ${MK_BIND_NAMED} != "no"
237_named= named
238_named-checkconf= named-checkconf
239_named-checkzone= named-checkzone
240_named.reload= named.reload
241_rndc= rndc
242_rndc-confgen= rndc-confgen
243.endif
244
245.if ${MK_BLUETOOTH} != "no"
246_bluetooth= bluetooth
247.endif
248
249.if ${MK_BSNMP} != "no"
250_bsnmpd= bsnmpd
251.endif
252
253.if ${MK_CTM} != "no"
254_ctm= ctm
255.endif
256
257.if ${MK_FLOPPY} != "no"
258_fdcontrol= fdcontrol
259_fdformat= fdformat
260_fdread= fdread
261_fdwrite= fdwrite
262.endif
263
264.if ${MK_FREEBSD_UPDATE} != "no"
265_freebsd-update= freebsd-update
266.endif
267
268.if ${MK_GSSAPI} != no
269_gssd= gssd
270.endif
271
272.if ${MK_INET6} != "no"
273_faithd= faithd
274_ip6addrctl= ip6addrctl
275_mld6query= mld6query
276_ndp= ndp
277_rip6query= rip6query
278_route6d= route6d
279_rrenumd= rrenumd
280_rtadvd= rtadvd
281_rtsold= rtsold
282_traceroute6= traceroute6
283.endif
284
285.if ${MK_IPFW} != "no"
286_ipfwpcap= ipfwpcap
287.endif
288
289.if ${MK_IPX} != "no"
290_IPXrouted= IPXrouted
291.endif
292
293.if ${MK_JAIL} != "no"
294_jail= jail
295_jexec= jexec
296_jls= jls
297.endif
298
299# XXX MK_SYSCONS
300# XXX is moused w/ usb useful?
301.if ${MK_LEGACY_CONSOLE} != "no"
302_kbdcontrol= kbdcontrol
303_kbdmap= kbdmap
304_moused= moused
305_vidcontrol= vidcontrol
306.endif
307
308.if ${MK_LIBTHR} != "no" || ${MK_LIBPTHREAD} != "no"
309.if ${MK_PPP} != "no"
310_pppctl= pppctl
311.endif
312.if ${MK_NS_CACHING} != "no"
313_nscd= nscd
314.endif
315.endif
316
317.if ${MK_LPR} != "no"
318_lpr= lpr
319.endif
320
321.if ${MK_NETGRAPH} != "no"
322_flowctl= flowctl
323_lmcconfig= lmcconfig
324_ngctl= ngctl
325_nghook= nghook
326.endif
327
328.if ${MK_NIS} != "no"
329_rpc.yppasswdd= rpc.yppasswdd
330_rpc.ypupdated= rpc.ypupdated
331_rpc.ypxfrd= rpc.ypxfrd
332_ypbind= ypbind
333_yp_mkdb= yp_mkdb
334_yppoll= yppoll
335_yppush= yppush
336_ypserv= ypserv
337_ypset= ypset
338.endif
339
340.if ${MK_NTP} != "no"
341_ntp= ntp
342.endif
343
344.if ${MK_OPENSSL} != "no"
345_keyserv= keyserv
346.endif
347
348.if ${MK_PF} != "no"
349_ftp-proxy= ftp-proxy
350.endif
351
352.if ${MK_PKGTOOLS} != "no"
353_pkg_install= pkg_install
354.endif
355
356# XXX MK_TOOLCHAIN?
357.if ${MK_PMC} != "no"
358_pmcannotate= pmcannotate
359_pmccontrol= pmccontrol
360_pmcstat= pmcstat
361.endif
362
363.if ${MK_PORTSNAP} != "no"
364_portsnap= portsnap
365.endif
366
367.if ${MK_PPP} != "no"
368_ppp= ppp
369#_pppctl handled below
370.endif
371
372.if ${MK_QUOTAS} != "no"
373_edquota= edquota
374_quotaon= quotaon
375_repquota= repquota
376.endif
377
378.if ${MK_RCMDS} != "no"
379_rwhod= rwhod
380.endif
381
382.if ${MK_SENDMAIL} != "no"
383_editmap= editmap
384_mailstats= mailstats
385_makemap= makemap
386_praliases= praliases
387_sendmail= sendmail
388.endif
389
390.if ${MK_SYSINSTALL} != "no"
391.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" || \
392 ${MACHINE_ARCH} == "sparc64"
393_sade= sade
394.endif
395.if ${MACHINE_ARCH} != "arm" && ${MACHINE_ARCH} != "mips"
396_sysinstall= sysinstall
397.endif
398.endif
399
400.if ${MK_TOOLCHAIN} != "no"
401_config= config
402_crunch= crunch
403.endif
404
405.if ${MK_USB} != "no"
406.if ${MACHINE_ARCH} != "ia64"
407_uathload= uathload
408.endif
409#_usbdevs= usbdevs
410_usbconfig= usbconfig
411.endif
412
413.if ${MK_WIRELESS} != "no"
414_ancontrol= ancontrol
415_wlandebug= wlandebug
416_wpa= wpa
417.endif
418
419.if ${MACHINE_ARCH} == "arm"
420_kgmon= kgmon
421.endif
422
423.if ${MACHINE_ARCH} == "i386"
424.if ${MK_APM} != "no"
425_apm= apm
426_apmd= apmd
427.endif
428_asf= asf
429.if ${MK_TOOLCHAIN} != "no"
430_btxld= btxld
431.endif
432_cpucontrol= cpucontrol
433_kgmon= kgmon
434_kgzip= kgzip
435_lptcontrol= lptcontrol
436.if ${MK_NCP} != "no"
437_mount_nwfs= mount_nwfs
438.endif
439_mount_smbfs= mount_smbfs
440_mptable= mptable
441.if ${MK_NDIS} != "no"
442_ndiscvt= ndiscvt
443.endif
444_pnpinfo= pnpinfo
445_sicontrol= sicontrol
446_spkrtest= spkrtest
447_zzz= zzz
448.if ${MACHINE} == "i386"
449.if ${MK_ACPI} != "no"
450_acpi= acpi
451.endif
452_boot0cfg= boot0cfg
453.if ${MK_WIRELESS} != "no"
454_wlconfig= wlconfig
455.endif
456.elif ${MACHINE} == "pc98"
457_boot98cfg= boot98cfg
458.endif
459.endif
460
461# kgzip: builds, but missing support files
462# mptable: broken (not 64 bit clean)
463# pnpinfo: crashes (not really useful anyway)
464.if ${MACHINE_ARCH} == "amd64"
465.if ${MK_ACPI} != "no"
466_acpi= acpi
467.endif
468_asf= asf
469_boot0cfg= boot0cfg
470.if ${MK_TOOLCHAIN} != "no"
471_btxld= btxld
472.endif
473_cpucontrol= cpucontrol
474_kgmon= kgmon
475_lptcontrol= lptcontrol
476.if ${MK_NCP} != "no"
477_mount_nwfs= mount_nwfs
478.endif
479_mount_smbfs= mount_smbfs
480_mptable= mptable
481.if ${MK_NDIS} != "no"
482_ndiscvt= ndiscvt
483.endif
484_sicontrol= sicontrol
485_spkrtest= spkrtest
486_zzz= zzz
487.endif
488
489.if ${MACHINE_ARCH} == "ia64"
490.if ${MK_ACPI} != "no"
491_acpi= acpi
492.endif
493_kgmon= kgmon
494_mount_smbfs= mount_smbfs
495_zzz= zzz
496.endif
497
498.if ${MACHINE_ARCH} == "powerpc"
499_mount_smbfs= mount_smbfs
500_nvram= nvram
501_ofwdump= ofwdump
502.endif
503
504.if ${MACHINE_ARCH} == "sparc64"
505_eeprom= eeprom
506_ofwdump= ofwdump
507.endif
508
509.include <bsd.subdir.mk>
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>