Deleted Added
full compact
Makefile (182897) Makefile (182912)
1# $FreeBSD: head/sys/modules/Makefile 182897 2008-09-09 22:32:30Z rpaulo $
1# $FreeBSD: head/sys/modules/Makefile 182912 2008-09-10 18:36:58Z jhb $
2
3.include <bsd.own.mk>
4
5SUBDIR= ${_3dfx} \
6 ${_3dfx_linux} \
7 ${_aac} \
8 accf_data \
9 accf_dns \
10 accf_http \
11 ${_acpi} \
12 age \
13 ${_agp} \
14 aha \
15 ${_ahb} \
16 ${_aic} \
17 aic7xxx \
18 aio \
19 ${_amd} \
20 amr \
21 ${_an} \
22 ${_aout} \
23 ${_apm} \
24 ${_ar} \
25 ${_arcmsr} \
26 ${_arcnet} \
27 ${_asmc} \
28 ${_asr} \
29 ata \
30 ${_ath} \
31 ${_ath_hal} \
32 ${_ath_rate_amrr} \
33 ${_ath_rate_onoe} \
34 ${_ath_rate_sample} \
35 aue \
36 ${_auxio} \
37 axe \
38 bce \
39 bfe \
40 bge \
41 ${_bios} \
42 ${_bktr} \
43 ${_bm} \
44 bridgestp \
45 cam \
46 ${_canbepm} \
47 ${_canbus} \
48 ${_cardbus} \
49 ${_cbb} \
50 cd9660 \
51 cd9660_iconv \
52 cdce \
53 ${_ce} \
54 ${_ciss} \
55 ${_cm} \
56 ${_cmx} \
57 coda \
58 coda5 \
59 ${_coff} \
60 ${_coretemp} \
61 ${_cp} \
62 ${_cpuctl} \
63 ${_cpufreq} \
64 ${_crypto} \
65 ${_cryptodev} \
66 ${_cs} \
67 ${_ctau} \
68 cue \
69 cxgb \
70 ${_cyclic} \
71 dc \
72 dcons \
73 dcons_crom \
74 de \
75 ${_dpms} \
76 ${_dpt} \
77 ${_drm} \
78 ${_dtrace} \
79 dummynet \
80 ${_ed} \
81 ${_elink} \
82 ${_em} \
83 en \
84 ${_ep} \
85 ${_et} \
86 ${_ex} \
87 ${_exca} \
88 ${_ext2fs} \
89 fatm \
90 fdc \
91 fdescfs \
92 ${_fe} \
93 firewire \
94 firmware \
95 fxp \
96 gem \
97 geom \
98 ${_glxsb} \
99 hatm \
100 hifn \
101 hme \
102 ${_hptiop} \
103 ${_hptmv} \
104 ${_hptrr} \
105 hwpmc \
106 ${_i2c} \
107 ${_ibcs2} \
108 ${_ichwd} \
109 ${_ida} \
110 ${_ie} \
111 if_bridge \
112 if_disc \
113 if_edsc \
114 if_ef \
115 if_faith \
116 if_gif \
117 if_gre \
118 if_lagg \
119 ${_if_ndis} \
120 if_stf \
121 if_tap \
122 if_tun \
123 if_vlan \
124 ${_igb} \
125 ${_iir} \
126 ${_io} \
127 ipdivert \
128 ${_ipfilter} \
129 ipfw \
130 ipfw_nat \
131 ${_ipmi} \
132 ip_mroute_mod \
133 ${_ips} \
134 ${_ipw} \
135 ${_ipwfw} \
136 iscsi \
137 isp \
138 ispfw \
139 ${_iwi} \
140 ${_iwifw} \
141 ${_iwn} \
142 ${_iwnfw} \
143 ${_ixgb} \
144 jme \
145 joy \
146 ${_k8temp} \
147 kbdmux \
148 krpc \
149 kue \
150 le \
151 lge \
152 libalias \
153 libiconv \
154 libmbpool \
155 libmchain \
156 ${_linprocfs} \
157 ${_linsysfs} \
158 ${_linux} \
159 lmc \
160 lpt \
161 mac_biba \
162 mac_bsdextended \
163 mac_ifoff \
164 mac_lomac \
165 mac_mls \
166 mac_none \
167 mac_partition \
168 mac_portacl \
169 mac_seeotheruids \
170 mac_stub \
171 mac_test \
172 malo \
173 mcd \
174 md \
175 mem \
176 mfi \
177 mii \
178 mlx \
179 ${_mly} \
180 mpt \
181 mqueue \
182 msdosfs \
183 msdosfs_iconv \
184 ${_mse} \
185 msk \
186 mxge \
187 my \
188 ${_ncp} \
189 ${_ncv} \
190 ${_ndis} \
191 netgraph \
192 ${_nfe} \
193 nfsclient \
194 nfslockd \
195 nfsserver \
196 nge \
197 nmdm \
198 ${_nsp} \
199 ntfs \
200 ntfs_iconv \
201 nullfs \
202 ${_nve} \
203 ${_nvram} \
204 ${_nwfs} \
205 ${_nxge} \
206 ${_opensolaris} \
207 ${_padlock} \
208 patm \
209 ${_pccard} \
210 ${_pcfclock} \
211 pcn \
212 ${_pf} \
213 ${_pflog} \
214 plip \
215 ${_pmc} \
216 portalfs \
217 ppbus \
218 ppc \
219 ppi \
220 pps \
221 procfs \
222 pseudofs \
223 ${_pst} \
224 puc \
225 ral \
226 ${_random} \
227 ${_ray} \
228 rc4 \
229 ${_rdma} \
230 re \
231 reiserfs \
232 rl \
233 rue \
234 rum \
235 ${_s3} \
236 ${_safe} \
2
3.include <bsd.own.mk>
4
5SUBDIR= ${_3dfx} \
6 ${_3dfx_linux} \
7 ${_aac} \
8 accf_data \
9 accf_dns \
10 accf_http \
11 ${_acpi} \
12 age \
13 ${_agp} \
14 aha \
15 ${_ahb} \
16 ${_aic} \
17 aic7xxx \
18 aio \
19 ${_amd} \
20 amr \
21 ${_an} \
22 ${_aout} \
23 ${_apm} \
24 ${_ar} \
25 ${_arcmsr} \
26 ${_arcnet} \
27 ${_asmc} \
28 ${_asr} \
29 ata \
30 ${_ath} \
31 ${_ath_hal} \
32 ${_ath_rate_amrr} \
33 ${_ath_rate_onoe} \
34 ${_ath_rate_sample} \
35 aue \
36 ${_auxio} \
37 axe \
38 bce \
39 bfe \
40 bge \
41 ${_bios} \
42 ${_bktr} \
43 ${_bm} \
44 bridgestp \
45 cam \
46 ${_canbepm} \
47 ${_canbus} \
48 ${_cardbus} \
49 ${_cbb} \
50 cd9660 \
51 cd9660_iconv \
52 cdce \
53 ${_ce} \
54 ${_ciss} \
55 ${_cm} \
56 ${_cmx} \
57 coda \
58 coda5 \
59 ${_coff} \
60 ${_coretemp} \
61 ${_cp} \
62 ${_cpuctl} \
63 ${_cpufreq} \
64 ${_crypto} \
65 ${_cryptodev} \
66 ${_cs} \
67 ${_ctau} \
68 cue \
69 cxgb \
70 ${_cyclic} \
71 dc \
72 dcons \
73 dcons_crom \
74 de \
75 ${_dpms} \
76 ${_dpt} \
77 ${_drm} \
78 ${_dtrace} \
79 dummynet \
80 ${_ed} \
81 ${_elink} \
82 ${_em} \
83 en \
84 ${_ep} \
85 ${_et} \
86 ${_ex} \
87 ${_exca} \
88 ${_ext2fs} \
89 fatm \
90 fdc \
91 fdescfs \
92 ${_fe} \
93 firewire \
94 firmware \
95 fxp \
96 gem \
97 geom \
98 ${_glxsb} \
99 hatm \
100 hifn \
101 hme \
102 ${_hptiop} \
103 ${_hptmv} \
104 ${_hptrr} \
105 hwpmc \
106 ${_i2c} \
107 ${_ibcs2} \
108 ${_ichwd} \
109 ${_ida} \
110 ${_ie} \
111 if_bridge \
112 if_disc \
113 if_edsc \
114 if_ef \
115 if_faith \
116 if_gif \
117 if_gre \
118 if_lagg \
119 ${_if_ndis} \
120 if_stf \
121 if_tap \
122 if_tun \
123 if_vlan \
124 ${_igb} \
125 ${_iir} \
126 ${_io} \
127 ipdivert \
128 ${_ipfilter} \
129 ipfw \
130 ipfw_nat \
131 ${_ipmi} \
132 ip_mroute_mod \
133 ${_ips} \
134 ${_ipw} \
135 ${_ipwfw} \
136 iscsi \
137 isp \
138 ispfw \
139 ${_iwi} \
140 ${_iwifw} \
141 ${_iwn} \
142 ${_iwnfw} \
143 ${_ixgb} \
144 jme \
145 joy \
146 ${_k8temp} \
147 kbdmux \
148 krpc \
149 kue \
150 le \
151 lge \
152 libalias \
153 libiconv \
154 libmbpool \
155 libmchain \
156 ${_linprocfs} \
157 ${_linsysfs} \
158 ${_linux} \
159 lmc \
160 lpt \
161 mac_biba \
162 mac_bsdextended \
163 mac_ifoff \
164 mac_lomac \
165 mac_mls \
166 mac_none \
167 mac_partition \
168 mac_portacl \
169 mac_seeotheruids \
170 mac_stub \
171 mac_test \
172 malo \
173 mcd \
174 md \
175 mem \
176 mfi \
177 mii \
178 mlx \
179 ${_mly} \
180 mpt \
181 mqueue \
182 msdosfs \
183 msdosfs_iconv \
184 ${_mse} \
185 msk \
186 mxge \
187 my \
188 ${_ncp} \
189 ${_ncv} \
190 ${_ndis} \
191 netgraph \
192 ${_nfe} \
193 nfsclient \
194 nfslockd \
195 nfsserver \
196 nge \
197 nmdm \
198 ${_nsp} \
199 ntfs \
200 ntfs_iconv \
201 nullfs \
202 ${_nve} \
203 ${_nvram} \
204 ${_nwfs} \
205 ${_nxge} \
206 ${_opensolaris} \
207 ${_padlock} \
208 patm \
209 ${_pccard} \
210 ${_pcfclock} \
211 pcn \
212 ${_pf} \
213 ${_pflog} \
214 plip \
215 ${_pmc} \
216 portalfs \
217 ppbus \
218 ppc \
219 ppi \
220 pps \
221 procfs \
222 pseudofs \
223 ${_pst} \
224 puc \
225 ral \
226 ${_random} \
227 ${_ray} \
228 rc4 \
229 ${_rdma} \
230 re \
231 reiserfs \
232 rl \
233 rue \
234 rum \
235 ${_s3} \
236 ${_safe} \
237 ${_sbni} \
237 scc \
238 scd \
239 ${_scsi_low} \
240 sem \
241 sf \
242 sis \
243 sk \
244 ${_smbfs} \
245 sn \
246 ${_snc} \
247 ${_sound} \
248 ${_speaker} \
249 ${_splash} \
250 ${_sppp} \
251 ${_sr} \
252 ste \
253 ${_stg} \
254 stge \
255 ${_streams} \
256 sym \
257 ${_syscons} \
258 sysvipc \
259 ti \
260 tl \
261 ${_tmpfs} \
262 trm \
263 ${_twa} \
264 twe \
265 tx \
266 txp \
267 uark \
268 uart \
269 ubsa \
270 ubsec \
271 ucom \
272 udav \
273 udbp \
274 udf \
275 udf_iconv \
276 ufm \
277 ${_ufs} \
278 uftdi \
279 ugen \
280 uhid \
281 uipaq \
282 ukbd \
283 ulpt \
284 umass \
285 umct \
286 umodem \
287 ums \
288 unionfs \
289 ${_upgt} \
290 uplcom \
291 ural \
292 urio \
293 usb \
294 uscanner \
295 uslcom \
296 utopia \
297 uvisor \
298 uvscom \
299 ${_vesa} \
300 vge \
301 vkbd \
302 ${_vpo} \
303 vr \
304 vx \
305 wb \
306 ${_wi} \
307 wlan \
308 wlan_acl \
309 wlan_amrr \
310 wlan_ccmp \
311 wlan_rssadapt \
312 wlan_tkip \
313 wlan_wep \
314 wlan_xauth \
315 ${_wpi} \
316 ${_wpifw} \
317 ${_xe} \
318 xfs \
319 xl \
320 ${_zfs} \
321 zlib \
322 zyd
323
324.if ${MACHINE_ARCH} != "powerpc"
325_syscons= syscons
326_vpo= vpo
327.endif
328
329.if defined(ALL_MODULES)
330_ufs= ufs
331.endif
332
333.if ${MK_CRYPT} != "no" || defined(ALL_MODULES)
334.if exists(${.CURDIR}/../opencrypto)
335_crypto= crypto
336_cryptodev= cryptodev
337.endif
338.if exists(${.CURDIR}/../crypto)
339_random= random
340.endif
341.endif
342
343.if ${MK_IPFILTER} != "no" || defined(ALL_MODULES)
344_ipfilter= ipfilter
345.endif
346
347.if ${MK_PF} != "no" || defined(ALL_MODULES)
348_pf= pf
349_pflog= pflog
350.endif
351
352.if ${MACHINE_ARCH} == "i386"
353# XXX some of these can move to the general case when de-i386'ed
354# XXX some of these can move now, but are untested on other architectures.
355_3dfx= 3dfx
356_3dfx_linux= 3dfx_linux
357_agp= agp
358_aic= aic
359_amd= amd
360_an= an
361_aout= aout
362_apm= apm
363_ar= ar
364_arcnet= arcnet
365_ath= ath
366_ath_hal= ath_hal
367_ath_rate_amrr= ath_rate_amrr
368_ath_rate_onoe= ath_rate_onoe
369_ath_rate_sample=ath_rate_sample
370_bktr= bktr
371_cardbus= cardbus
372_cbb= cbb
373_ce= ce
374_coff= coff
375_cp= cp
376_cpuctl= cpuctl
377_cpufreq= cpufreq
378_cs= cs
379.if ${MK_CDDL} != "no" || defined(ALL_MODULES)
380_cyclic= cyclic
381.endif
382_dpms= dpms
383_drm= drm
384.if ${MK_CDDL} != "no" || defined(ALL_MODULES)
385_dtrace= dtrace
386.endif
387_ed= ed
388_elink= elink
389_em= em
390_ep= ep
391_et= et
392_exca= exca
393_ext2fs= ext2fs
394_fe= fe
395_glxsb= glxsb
396_i2c= i2c
397_ibcs2= ibcs2
398_ie= ie
399_if_ndis= if_ndis
400_igb= igb
401_io= io
402_linprocfs= linprocfs
403_linsysfs= linsysfs
404_linux= linux
405_mse= mse
406.if ${MK_NCP} != "no"
407_ncp= ncp
408.endif
409_ncv= ncv
410_ndis= ndis
411_nsp= nsp
412.if ${MK_NCP} != "no"
413_nwfs= nwfs
414.endif
415.if ${MK_CDDL} != "no" || defined(ALL_MODULES)
416_opensolaris= opensolaris
417.endif
418_pccard= pccard
419_pcfclock= pcfclock
420_pst= pst
421_ray= ray
422_rdma= rdma
423_safe= safe
238 scc \
239 scd \
240 ${_scsi_low} \
241 sem \
242 sf \
243 sis \
244 sk \
245 ${_smbfs} \
246 sn \
247 ${_snc} \
248 ${_sound} \
249 ${_speaker} \
250 ${_splash} \
251 ${_sppp} \
252 ${_sr} \
253 ste \
254 ${_stg} \
255 stge \
256 ${_streams} \
257 sym \
258 ${_syscons} \
259 sysvipc \
260 ti \
261 tl \
262 ${_tmpfs} \
263 trm \
264 ${_twa} \
265 twe \
266 tx \
267 txp \
268 uark \
269 uart \
270 ubsa \
271 ubsec \
272 ucom \
273 udav \
274 udbp \
275 udf \
276 udf_iconv \
277 ufm \
278 ${_ufs} \
279 uftdi \
280 ugen \
281 uhid \
282 uipaq \
283 ukbd \
284 ulpt \
285 umass \
286 umct \
287 umodem \
288 ums \
289 unionfs \
290 ${_upgt} \
291 uplcom \
292 ural \
293 urio \
294 usb \
295 uscanner \
296 uslcom \
297 utopia \
298 uvisor \
299 uvscom \
300 ${_vesa} \
301 vge \
302 vkbd \
303 ${_vpo} \
304 vr \
305 vx \
306 wb \
307 ${_wi} \
308 wlan \
309 wlan_acl \
310 wlan_amrr \
311 wlan_ccmp \
312 wlan_rssadapt \
313 wlan_tkip \
314 wlan_wep \
315 wlan_xauth \
316 ${_wpi} \
317 ${_wpifw} \
318 ${_xe} \
319 xfs \
320 xl \
321 ${_zfs} \
322 zlib \
323 zyd
324
325.if ${MACHINE_ARCH} != "powerpc"
326_syscons= syscons
327_vpo= vpo
328.endif
329
330.if defined(ALL_MODULES)
331_ufs= ufs
332.endif
333
334.if ${MK_CRYPT} != "no" || defined(ALL_MODULES)
335.if exists(${.CURDIR}/../opencrypto)
336_crypto= crypto
337_cryptodev= cryptodev
338.endif
339.if exists(${.CURDIR}/../crypto)
340_random= random
341.endif
342.endif
343
344.if ${MK_IPFILTER} != "no" || defined(ALL_MODULES)
345_ipfilter= ipfilter
346.endif
347
348.if ${MK_PF} != "no" || defined(ALL_MODULES)
349_pf= pf
350_pflog= pflog
351.endif
352
353.if ${MACHINE_ARCH} == "i386"
354# XXX some of these can move to the general case when de-i386'ed
355# XXX some of these can move now, but are untested on other architectures.
356_3dfx= 3dfx
357_3dfx_linux= 3dfx_linux
358_agp= agp
359_aic= aic
360_amd= amd
361_an= an
362_aout= aout
363_apm= apm
364_ar= ar
365_arcnet= arcnet
366_ath= ath
367_ath_hal= ath_hal
368_ath_rate_amrr= ath_rate_amrr
369_ath_rate_onoe= ath_rate_onoe
370_ath_rate_sample=ath_rate_sample
371_bktr= bktr
372_cardbus= cardbus
373_cbb= cbb
374_ce= ce
375_coff= coff
376_cp= cp
377_cpuctl= cpuctl
378_cpufreq= cpufreq
379_cs= cs
380.if ${MK_CDDL} != "no" || defined(ALL_MODULES)
381_cyclic= cyclic
382.endif
383_dpms= dpms
384_drm= drm
385.if ${MK_CDDL} != "no" || defined(ALL_MODULES)
386_dtrace= dtrace
387.endif
388_ed= ed
389_elink= elink
390_em= em
391_ep= ep
392_et= et
393_exca= exca
394_ext2fs= ext2fs
395_fe= fe
396_glxsb= glxsb
397_i2c= i2c
398_ibcs2= ibcs2
399_ie= ie
400_if_ndis= if_ndis
401_igb= igb
402_io= io
403_linprocfs= linprocfs
404_linsysfs= linsysfs
405_linux= linux
406_mse= mse
407.if ${MK_NCP} != "no"
408_ncp= ncp
409.endif
410_ncv= ncv
411_ndis= ndis
412_nsp= nsp
413.if ${MK_NCP} != "no"
414_nwfs= nwfs
415.endif
416.if ${MK_CDDL} != "no" || defined(ALL_MODULES)
417_opensolaris= opensolaris
418.endif
419_pccard= pccard
420_pcfclock= pcfclock
421_pst= pst
422_ray= ray
423_rdma= rdma
424_safe= safe
425_sbni= sbni
424_scsi_low= scsi_low
425_smbfs= smbfs
426_sound= sound
427_speaker= speaker
428_splash= splash
429_sppp= sppp
430_sr= sr
431_stg= stg
432_streams= streams
433_tmpfs= tmpfs
434_upgt= upgt
435_wi= wi
436_xe= xe
437.if ${MK_ZFS} != "no" || defined(ALL_MODULES)
438_zfs= zfs
439.endif
440.if ${MACHINE} == "i386"
441_aac= aac
442_acpi= acpi
443_ahb= ahb
444_arcmsr= arcmsr
445_asmc= asmc
446_asr= asr
447_bios= bios
448_ciss= ciss
449_cm= cm
450_cmx= cmx
451_coretemp= coretemp
452_ctau= ctau
453_dpt= dpt
454_ex= ex
455_hptiop= hptiop
456_hptmv= hptmv
457_hptrr= hptrr
458_ichwd= ichwd
459_ida= ida
460_iir= iir
461_ipmi= ipmi
462_ips= ips
463_ipw= ipw
464_ipwfw= ipwfw
465_iwi= iwi
466_iwifw= iwifw
467_iwn= iwn
468_iwnfw= iwnfw
469_ixgb= ixgb
470_k8temp= k8temp
471_mly= mly
472_nfe= nfe
473_nve= nve
474_nvram= nvram
475_nxge= nxge
476_wpi= wpi
477_wpifw= wpifw
478.if ${MK_CRYPT} != "no" || defined(ALL_MODULES)
479.if exists(${.CURDIR}/../crypto/via)
480_padlock= padlock
481.endif
482.endif
483_s3= s3
484_twa= twa
485_vesa= vesa
486.elif ${MACHINE} == "pc98"
487_canbepm= canbepm
488_canbus= canbus
489_pmc= pmc
490_snc= snc
491.endif
492.endif
493
494.if ${MACHINE_ARCH} == "amd64"
495_aac= aac
496_acpi= acpi
497_agp= agp
498_an= an
499_arcmsr= arcmsr
500_asmc= asmc
501_ath= ath
502_ath_hal= ath_hal
503_ath_rate_amrr= ath_rate_amrr
504_ath_rate_onoe= ath_rate_onoe
505_ath_rate_sample=ath_rate_sample
506_cardbus= cardbus
507_cbb= cbb
508_cmx= cmx
509_ciss= ciss
510_coretemp= coretemp
511_cpuctl= cpuctl
512_cpufreq= cpufreq
513.if ${MK_CDDL} != "no" || defined(ALL_MODULES)
514_cyclic= cyclic
515.endif
516_drm= drm
517.if ${MK_CDDL} != "no" || defined(ALL_MODULES)
518_dtrace= dtrace
519.endif
520_ed= ed
521_et= et
522_em= em
523_exca= exca
524_ext2fs= ext2fs
525_hptiop= hptiop
526_hptmv= hptmv
527_hptrr= hptrr
528_i2c= i2c
529_ichwd= ichwd
530_ida= ida
531_if_ndis= if_ndis
532_igb= igb
533_iir= iir
534_io= io
535_ipmi= ipmi
536_ips= ips
537_ipw= ipw
538_ipwfw= ipwfw
539_iwn= iwn
540_iwnfw= iwnfw
541_ixgb= ixgb
542_k8temp= k8temp
543_linprocfs= linprocfs
544_linsysfs= linsysfs
545_linux= linux
546_mly= mly
547_ndis= ndis
548_nfe= nfe
549_nve= nve
550_nvram= nvram
551_nxge= nxge
552.if ${MK_CDDL} != "no" || defined(ALL_MODULES)
553_opensolaris= opensolaris
554.endif
555_pccard= pccard
556_rdma= rdma
557_safe= safe
558_scsi_low= scsi_low
559_smbfs= smbfs
560_sound= sound
561_speaker= speaker
562_sppp= sppp
563_tmpfs= tmpfs
564_twa= twa
565_upgt= upgt
566_wi= wi
567_wpi= wpi
568_wpifw= wpifw
569.if ${MK_ZFS} != "no" || defined(ALL_MODULES)
570_zfs= zfs
571.endif
572.endif
573
574.if ${MACHINE_ARCH} == "ia64"
575# Modules not enabled on ia64 (as compared to i386) include:
576# aac acpi aout apm atspeaker drm ibcs2 linprocfs linux ncv
426_scsi_low= scsi_low
427_smbfs= smbfs
428_sound= sound
429_speaker= speaker
430_splash= splash
431_sppp= sppp
432_sr= sr
433_stg= stg
434_streams= streams
435_tmpfs= tmpfs
436_upgt= upgt
437_wi= wi
438_xe= xe
439.if ${MK_ZFS} != "no" || defined(ALL_MODULES)
440_zfs= zfs
441.endif
442.if ${MACHINE} == "i386"
443_aac= aac
444_acpi= acpi
445_ahb= ahb
446_arcmsr= arcmsr
447_asmc= asmc
448_asr= asr
449_bios= bios
450_ciss= ciss
451_cm= cm
452_cmx= cmx
453_coretemp= coretemp
454_ctau= ctau
455_dpt= dpt
456_ex= ex
457_hptiop= hptiop
458_hptmv= hptmv
459_hptrr= hptrr
460_ichwd= ichwd
461_ida= ida
462_iir= iir
463_ipmi= ipmi
464_ips= ips
465_ipw= ipw
466_ipwfw= ipwfw
467_iwi= iwi
468_iwifw= iwifw
469_iwn= iwn
470_iwnfw= iwnfw
471_ixgb= ixgb
472_k8temp= k8temp
473_mly= mly
474_nfe= nfe
475_nve= nve
476_nvram= nvram
477_nxge= nxge
478_wpi= wpi
479_wpifw= wpifw
480.if ${MK_CRYPT} != "no" || defined(ALL_MODULES)
481.if exists(${.CURDIR}/../crypto/via)
482_padlock= padlock
483.endif
484.endif
485_s3= s3
486_twa= twa
487_vesa= vesa
488.elif ${MACHINE} == "pc98"
489_canbepm= canbepm
490_canbus= canbus
491_pmc= pmc
492_snc= snc
493.endif
494.endif
495
496.if ${MACHINE_ARCH} == "amd64"
497_aac= aac
498_acpi= acpi
499_agp= agp
500_an= an
501_arcmsr= arcmsr
502_asmc= asmc
503_ath= ath
504_ath_hal= ath_hal
505_ath_rate_amrr= ath_rate_amrr
506_ath_rate_onoe= ath_rate_onoe
507_ath_rate_sample=ath_rate_sample
508_cardbus= cardbus
509_cbb= cbb
510_cmx= cmx
511_ciss= ciss
512_coretemp= coretemp
513_cpuctl= cpuctl
514_cpufreq= cpufreq
515.if ${MK_CDDL} != "no" || defined(ALL_MODULES)
516_cyclic= cyclic
517.endif
518_drm= drm
519.if ${MK_CDDL} != "no" || defined(ALL_MODULES)
520_dtrace= dtrace
521.endif
522_ed= ed
523_et= et
524_em= em
525_exca= exca
526_ext2fs= ext2fs
527_hptiop= hptiop
528_hptmv= hptmv
529_hptrr= hptrr
530_i2c= i2c
531_ichwd= ichwd
532_ida= ida
533_if_ndis= if_ndis
534_igb= igb
535_iir= iir
536_io= io
537_ipmi= ipmi
538_ips= ips
539_ipw= ipw
540_ipwfw= ipwfw
541_iwn= iwn
542_iwnfw= iwnfw
543_ixgb= ixgb
544_k8temp= k8temp
545_linprocfs= linprocfs
546_linsysfs= linsysfs
547_linux= linux
548_mly= mly
549_ndis= ndis
550_nfe= nfe
551_nve= nve
552_nvram= nvram
553_nxge= nxge
554.if ${MK_CDDL} != "no" || defined(ALL_MODULES)
555_opensolaris= opensolaris
556.endif
557_pccard= pccard
558_rdma= rdma
559_safe= safe
560_scsi_low= scsi_low
561_smbfs= smbfs
562_sound= sound
563_speaker= speaker
564_sppp= sppp
565_tmpfs= tmpfs
566_twa= twa
567_upgt= upgt
568_wi= wi
569_wpi= wpi
570_wpifw= wpifw
571.if ${MK_ZFS} != "no" || defined(ALL_MODULES)
572_zfs= zfs
573.endif
574.endif
575
576.if ${MACHINE_ARCH} == "ia64"
577# Modules not enabled on ia64 (as compared to i386) include:
578# aac acpi aout apm atspeaker drm ibcs2 linprocfs linux ncv
577# nsp s3 stg vesa
579# nsp s3 sbni stg vesa
578# acpi is not enabled because it is broken as a module on ia64
579_aic= aic
580#_ar= ar not 64-bit clean
581_an= an
582_arcnet= arcnet
583_asr= asr
584_bktr= bktr
585_cardbus= cardbus
586_cbb= cbb
587_ciss= ciss
588_cm= cm
589_cmx= cmx
590_coff= coff
591_cpufreq= cpufreq
592_em= em
593_ep= ep
594_exca= exca
595_fe= fe
596_igb= igb
597_iir= iir
598_mly= mly
599_pccard= pccard
600_scsi_low= scsi_low
601_smbfs= smbfs
602_sound= sound
603_splash= splash
604_sppp= sppp
605#_sr= sr not 64bit clean
606_streams= streams
607_wi= wi
608_xe= xe
609.endif
610
611.if ${MACHINE_ARCH} == "powerpc"
612_an= an
613_ath= ath
614_ath_hal= ath_hal
615_ath_rate_amrr= ath_rate_amrr
616_ath_rate_onoe= ath_rate_onoe
617_ath_rate_sample=ath_rate_sample
618_bm= bm
619_nvram= powermac_nvram
620_smbfs= smbfs
621_upgt= upgt
622.endif
623
624.if ${MACHINE_ARCH} == "sparc64"
625_ath= ath
626_ath_hal= ath_hal
627_ath_rate_amrr= ath_rate_amrr
628_ath_rate_onoe= ath_rate_onoe
629_ath_rate_sample=ath_rate_sample
630_auxio= auxio
631_em= em
632_i2c= i2c
633_igb= igb
634_sound= sound
635_upgt= upgt
636.if ${MK_ZFS} != "no" || defined(ALL_MODULES)
637_zfs= zfs
638.endif
639.endif
640
641.if defined(MODULES_OVERRIDE) && !defined(ALL_MODULES)
642SUBDIR=${MODULES_OVERRIDE}
643.endif
644
645.for reject in ${WITHOUT_MODULES}
646SUBDIR:= ${SUBDIR:N${reject}}
647.endfor
648
649# Calling kldxref(8) for each module is expensive.
650.if !defined(NO_XREF)
651.MAKEFLAGS+= -DNO_XREF
652afterinstall:
653 @if type kldxref >/dev/null 2>&1; then \
654 ${ECHO} kldxref ${DESTDIR}${KMODDIR}; \
655 kldxref ${DESTDIR}${KMODDIR}; \
656 fi
657.endif
658
659.include <bsd.subdir.mk>
580# acpi is not enabled because it is broken as a module on ia64
581_aic= aic
582#_ar= ar not 64-bit clean
583_an= an
584_arcnet= arcnet
585_asr= asr
586_bktr= bktr
587_cardbus= cardbus
588_cbb= cbb
589_ciss= ciss
590_cm= cm
591_cmx= cmx
592_coff= coff
593_cpufreq= cpufreq
594_em= em
595_ep= ep
596_exca= exca
597_fe= fe
598_igb= igb
599_iir= iir
600_mly= mly
601_pccard= pccard
602_scsi_low= scsi_low
603_smbfs= smbfs
604_sound= sound
605_splash= splash
606_sppp= sppp
607#_sr= sr not 64bit clean
608_streams= streams
609_wi= wi
610_xe= xe
611.endif
612
613.if ${MACHINE_ARCH} == "powerpc"
614_an= an
615_ath= ath
616_ath_hal= ath_hal
617_ath_rate_amrr= ath_rate_amrr
618_ath_rate_onoe= ath_rate_onoe
619_ath_rate_sample=ath_rate_sample
620_bm= bm
621_nvram= powermac_nvram
622_smbfs= smbfs
623_upgt= upgt
624.endif
625
626.if ${MACHINE_ARCH} == "sparc64"
627_ath= ath
628_ath_hal= ath_hal
629_ath_rate_amrr= ath_rate_amrr
630_ath_rate_onoe= ath_rate_onoe
631_ath_rate_sample=ath_rate_sample
632_auxio= auxio
633_em= em
634_i2c= i2c
635_igb= igb
636_sound= sound
637_upgt= upgt
638.if ${MK_ZFS} != "no" || defined(ALL_MODULES)
639_zfs= zfs
640.endif
641.endif
642
643.if defined(MODULES_OVERRIDE) && !defined(ALL_MODULES)
644SUBDIR=${MODULES_OVERRIDE}
645.endif
646
647.for reject in ${WITHOUT_MODULES}
648SUBDIR:= ${SUBDIR:N${reject}}
649.endfor
650
651# Calling kldxref(8) for each module is expensive.
652.if !defined(NO_XREF)
653.MAKEFLAGS+= -DNO_XREF
654afterinstall:
655 @if type kldxref >/dev/null 2>&1; then \
656 ${ECHO} kldxref ${DESTDIR}${KMODDIR}; \
657 kldxref ${DESTDIR}${KMODDIR}; \
658 fi
659.endif
660
661.include <bsd.subdir.mk>