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