Deleted Added
full compact
Makefile (137777) Makefile (138573)
1# $FreeBSD: head/sys/modules/Makefile 137777 2004-11-16 17:19:04Z emax $
1# $FreeBSD: head/sys/modules/Makefile 138573 2004-12-08 17:38:38Z sam $
2
3# pcic -- currently broken and being worked on out of tree.
4# oldcard -- specialized use for debugging only.
5# owi -- totally unsupported for debugging only.
6
7SUBDIR= ${_3dfx} \
8 ${_aac} \
9 accf_data \
10 accf_http \
11 ${_acpi} \
12 ${_agp} \
13 aha \
14 ${_ahb} \
15 ${_aic} \
16 aic7xxx \
17 aio \
18 ${_amd} \
19 amr \
20 an \
21 ${_aout} \
22 ${_apm} \
23 ${_ar} \
24 ${_arcnet} \
25 ${_arl} \
26 ${_asr} \
27 ath \
28 ${_ath_hal} \
2
3# pcic -- currently broken and being worked on out of tree.
4# oldcard -- specialized use for debugging only.
5# owi -- totally unsupported for debugging only.
6
7SUBDIR= ${_3dfx} \
8 ${_aac} \
9 accf_data \
10 accf_http \
11 ${_acpi} \
12 ${_agp} \
13 aha \
14 ${_ahb} \
15 ${_aic} \
16 aic7xxx \
17 aio \
18 ${_amd} \
19 amr \
20 an \
21 ${_aout} \
22 ${_apm} \
23 ${_ar} \
24 ${_arcnet} \
25 ${_arl} \
26 ${_asr} \
27 ath \
28 ${_ath_hal} \
29 ath_rate_amrr \
30 ath_rate_onoe \
29 aue \
30 ${_auxio} \
31 ${_awi} \
32 axe \
33 bfe \
34 bge \
35 ${_bios} \
36 ${_bktr} \
37 bridge \
38 cam \
39 ${_canbepm} \
40 ${_canbus} \
41 ${_cardbus} \
42 ${_cbb} \
43 cd9660 \
44 cd9660_iconv \
45 ${_ciss} \
46 ${_cm} \
47 coda \
48 coda5 \
49 ${_coff} \
50 ${_cp} \
51 ${_crypto} \
52 ${_cryptodev} \
53 ${_ctau} \
54 cue \
55 ${_cx} \
56 dc \
57 dcons \
58 dcons_crom \
59 de \
60 digi \
61 ${_dpt} \
62 ${_drm} \
63 dummynet \
64 ${_ed} \
65 ${_el} \
66 ${_elink} \
67 ${_em} \
68 en \
69 ${_ep} \
70 ${_ex} \
71 ${_exca} \
72 ${_ext2fs} \
73 fatm \
74 fdc \
75 fdescfs \
76 ${_fe} \
77 firewire \
78 fxp \
79 ${_gem} \
80 geom \
81 harp \
82 hatm \
83 ${_hfa} \
84 hifn \
85 hme \
86 ${_hptmv} \
87 ${_i2c} \
88 ${_ibcs2} \
89 ${_ichwd} \
90 ${_ida} \
91 ${_idt} \
92 ${_ie} \
93 if_disc \
94 if_ef \
95 if_faith \
96 if_gif \
97 if_gre \
98 if_ppp \
99 if_sl \
100 if_stf \
101 if_tap \
102 if_tun \
103 if_vlan \
104 ${_iir} \
105 ${_io} \
106 ip6fw \
107 ipdivert \
108 ${_ipfilter} \
109 ipfw \
110 ip_mroute_mod \
111 ${_ips} \
112 isp \
113 ispfw \
114 joy \
115 kue \
116 lge \
117 libiconv \
118 libmbpool \
119 libmchain \
120 ${_linprocfs} \
121 ${_linux} \
122 ${_lnc} \
123 lpt \
124 mac_biba \
125 mac_bsdextended \
126 mac_ifoff \
127 mac_lomac \
128 mac_mls \
129 mac_none \
130 mac_partition \
131 mac_portacl \
132 mac_seeotheruids \
133 mac_stub \
134 mac_test \
135 mcd \
136 md \
137 mem \
138 mii \
139 mlx \
140 ${_mly} \
141 mpt \
142 msdosfs \
143 msdosfs_iconv \
144 my \
145 ${_ncp} \
146 ${_ncv} \
147 ${_ndis} \
148 netgraph \
149 nfsclient \
150 nfsserver \
151 nge \
152 nmdm \
153 ${_nsp} \
154 ntfs \
155 ntfs_iconv \
156 nullfs \
157 ${_nwfs} \
158 ${_oltr} \
159 ${_osf1} \
160 patm \
161 ${_pccard} \
162 ${_pcfclock} \
163 pcn \
164 ${_pecoff} \
165 ${_pf} \
166 plip \
167 ${_pmc} \
168 portalfs \
169 ppbus \
170 ppi \
171 pps \
172 procfs \
173 pseudofs \
174 pst \
175 ${_random} \
176 ${_ray} \
177 rc \
178 rc4 \
179 re \
180 rl \
181 rp \
182 rue \
183 ${_s3} \
184 ${_safe} \
185 ${_sbni} \
186 sbsh \
187 scd \
188 ${_scsi_low} \
189 sf \
190 sis \
191 sk \
192 ${_smbfs} \
193 sn \
194 ${_snc} \
195 snp \
196 ${_sound} \
197 ${_speaker} \
198 ${_splash} \
199 ${_sppp} \
200 ${_sr} \
201 ste \
202 ${_stg} \
203 ${_streams} \
204 sym \
205 ${_syscons} \
206 sysvipc \
207 ti \
208 tl \
209 trm \
210 ${_twa} \
211 twe \
212 tx \
213 txp \
214 uart \
215 ubsa \
216 ubsec \
217 ubser \
218 ucom \
219 ucycom \
220 udav \
221 udbp \
222 udf \
223 udf_iconv \
224 ufm \
225 ${_ufs} \
226 uftdi \
227 ugen \
228 uhid \
229 ukbd \
230 ulpt \
231 umass \
232 umct \
233 umodem \
234 ums \
235 unionfs \
236 uplcom \
237 urio \
238 usb \
239 uscanner \
240 utopia \
241 uvisor \
242 uvscom \
243 ${_vesa} \
244 vge \
245 vkbd \
246 vpo \
247 vr \
248 vx \
249 wb \
250 ${_wi} \
251 wlan \
31 aue \
32 ${_auxio} \
33 ${_awi} \
34 axe \
35 bfe \
36 bge \
37 ${_bios} \
38 ${_bktr} \
39 bridge \
40 cam \
41 ${_canbepm} \
42 ${_canbus} \
43 ${_cardbus} \
44 ${_cbb} \
45 cd9660 \
46 cd9660_iconv \
47 ${_ciss} \
48 ${_cm} \
49 coda \
50 coda5 \
51 ${_coff} \
52 ${_cp} \
53 ${_crypto} \
54 ${_cryptodev} \
55 ${_ctau} \
56 cue \
57 ${_cx} \
58 dc \
59 dcons \
60 dcons_crom \
61 de \
62 digi \
63 ${_dpt} \
64 ${_drm} \
65 dummynet \
66 ${_ed} \
67 ${_el} \
68 ${_elink} \
69 ${_em} \
70 en \
71 ${_ep} \
72 ${_ex} \
73 ${_exca} \
74 ${_ext2fs} \
75 fatm \
76 fdc \
77 fdescfs \
78 ${_fe} \
79 firewire \
80 fxp \
81 ${_gem} \
82 geom \
83 harp \
84 hatm \
85 ${_hfa} \
86 hifn \
87 hme \
88 ${_hptmv} \
89 ${_i2c} \
90 ${_ibcs2} \
91 ${_ichwd} \
92 ${_ida} \
93 ${_idt} \
94 ${_ie} \
95 if_disc \
96 if_ef \
97 if_faith \
98 if_gif \
99 if_gre \
100 if_ppp \
101 if_sl \
102 if_stf \
103 if_tap \
104 if_tun \
105 if_vlan \
106 ${_iir} \
107 ${_io} \
108 ip6fw \
109 ipdivert \
110 ${_ipfilter} \
111 ipfw \
112 ip_mroute_mod \
113 ${_ips} \
114 isp \
115 ispfw \
116 joy \
117 kue \
118 lge \
119 libiconv \
120 libmbpool \
121 libmchain \
122 ${_linprocfs} \
123 ${_linux} \
124 ${_lnc} \
125 lpt \
126 mac_biba \
127 mac_bsdextended \
128 mac_ifoff \
129 mac_lomac \
130 mac_mls \
131 mac_none \
132 mac_partition \
133 mac_portacl \
134 mac_seeotheruids \
135 mac_stub \
136 mac_test \
137 mcd \
138 md \
139 mem \
140 mii \
141 mlx \
142 ${_mly} \
143 mpt \
144 msdosfs \
145 msdosfs_iconv \
146 my \
147 ${_ncp} \
148 ${_ncv} \
149 ${_ndis} \
150 netgraph \
151 nfsclient \
152 nfsserver \
153 nge \
154 nmdm \
155 ${_nsp} \
156 ntfs \
157 ntfs_iconv \
158 nullfs \
159 ${_nwfs} \
160 ${_oltr} \
161 ${_osf1} \
162 patm \
163 ${_pccard} \
164 ${_pcfclock} \
165 pcn \
166 ${_pecoff} \
167 ${_pf} \
168 plip \
169 ${_pmc} \
170 portalfs \
171 ppbus \
172 ppi \
173 pps \
174 procfs \
175 pseudofs \
176 pst \
177 ${_random} \
178 ${_ray} \
179 rc \
180 rc4 \
181 re \
182 rl \
183 rp \
184 rue \
185 ${_s3} \
186 ${_safe} \
187 ${_sbni} \
188 sbsh \
189 scd \
190 ${_scsi_low} \
191 sf \
192 sis \
193 sk \
194 ${_smbfs} \
195 sn \
196 ${_snc} \
197 snp \
198 ${_sound} \
199 ${_speaker} \
200 ${_splash} \
201 ${_sppp} \
202 ${_sr} \
203 ste \
204 ${_stg} \
205 ${_streams} \
206 sym \
207 ${_syscons} \
208 sysvipc \
209 ti \
210 tl \
211 trm \
212 ${_twa} \
213 twe \
214 tx \
215 txp \
216 uart \
217 ubsa \
218 ubsec \
219 ubser \
220 ucom \
221 ucycom \
222 udav \
223 udbp \
224 udf \
225 udf_iconv \
226 ufm \
227 ${_ufs} \
228 uftdi \
229 ugen \
230 uhid \
231 ukbd \
232 ulpt \
233 umass \
234 umct \
235 umodem \
236 ums \
237 unionfs \
238 uplcom \
239 urio \
240 usb \
241 uscanner \
242 utopia \
243 uvisor \
244 uvscom \
245 ${_vesa} \
246 vge \
247 vkbd \
248 vpo \
249 vr \
250 vx \
251 wb \
252 ${_wi} \
253 wlan \
254 wlan_ccmp \
255 wlan_tkip \
256 wlan_wep \
257 wlan_xauth \
252 ${_xe} \
253 xl
254
255.if ${MACHINE_ARCH} != "sparc64"
256_syscons= syscons
257.endif
258
259.if defined(ALL_MODULES)
260_ufs= ufs
261.endif
262
263.if !defined(NOCRYPT) || defined(ALL_MODULES)
264.if exists(${.CURDIR}/../opencrypto)
265_crypto= crypto
266_cryptodev= cryptodev
267.endif
268.if exists(${.CURDIR}/../crypto)
269_random= random
270.endif
271.endif
272
273.if !defined(NO_IPFILTER) || defined(ALL_MODULES)
274_ipfilter= ipfilter
275.endif
276
277.if !defined(NO_PF) || defined(ALL_MODULES)
278_pf= pf
279.endif
280
281.if ${MACHINE_ARCH} == "i386"
282# XXX some of these can move to the general case when de-i386'ed
283# XXX some of these can move now, but are untested on other architectures.
284_3dfx= 3dfx
285_agp= agp
286_aic= aic
287_amd= amd
288_aout= aout
289_apm= apm
290_ar= ar
291_arcnet= arcnet
292_ath_hal= ath_hal
293_awi= awi
294_bktr= bktr
295_coff= coff
296_cp= cp
297_drm= drm
298_ed= ed
299_elink= elink
300_em= em
301_ep= ep
302_ext2fs= ext2fs
303_fe= fe
304_hfa= hfa
305_i2c= i2c
306_ibcs2= ibcs2
307_ie= ie
308_io= io
309_linprocfs= linprocfs
310_linux= linux
311_lnc= lnc
312_ncp= ncp
313_ncv= ncv
314_ndis= ndis
315_nsp= nsp
316_nwfs= nwfs
317_oltr= oltr
318_pccard= pccard
319_pcfclock= pcfclock
320_pecoff= pecoff
321_ray= ray
322_safe= safe
323_sbni= sbni
324_scsi_low= scsi_low
325_smbfs= smbfs
326_sound= sound
327_speaker= speaker
328_splash= splash
329_sppp= sppp
330_sr= sr
331_stg= stg
332_streams= streams
333_wi= wi
334_xe= xe
335.if ${MACHINE} == "i386"
336_aac= aac
337_acpi= acpi
338_ahb= ahb
339_arl= arl
340_asr= asr
341_bios= bios
342_cardbus= cardbus
343_cbb= cbb
344_ciss= ciss
345_cm= cm
346_ctau= ctau
347_cx= cx
348_dpt= dpt
349_el= el
350_ex= ex
351_exca= exca
352_hptmv= hptmv
353_ichwd= ichwd
354_ida= ida
355_idt= idt
356_iir= iir
357_ips= ips
358_mly= mly
359_s3= s3
360_twa= twa
361_vesa= vesa
362.elif ${MACHINE} == "pc98"
363_canbepm= canbepm
364_canbus= canbus
365_pmc= pmc
366_snc= snc
367.endif
368.endif
369
370.if ${MACHINE_ARCH} == "alpha"
371_agp= agp
372_ahb= ahb
373_ext2fs= ext2fs
374_linprocfs= linprocfs
375_linux= linux
376_osf1= osf1
377_sound= sound
378_sppp= sppp
379.endif
380
381.if ${MACHINE_ARCH} == "amd64"
382_aac= aac
383#_acpi= acpi # doesn't work on amd64 yet
384_agp= agp
385_ciss= ciss
386_drm= drm
387_em= em
388_ext2fs= ext2fs
389_i2c= i2c
390_ida= ida
391_iir= iir
392_io= io
393_ips= ips
394_lnc= lnc
395_mly= mly
396#_ndis= ndis
397_safe= safe
398_scsi_low= scsi_low
399_smbfs= smbfs
400_sound= sound
401_sppp= sppp
402_twa= twa
403.endif
404
405.if ${MACHINE_ARCH} == "ia64"
406# Modules not enabled on ia64 (as compared to i386) include:
407# aac acpi aout apm atspeaker drm ibcs2 linprocfs linux ncv
408# nsp oltr pecoff s3 sbni stg vesa
409# acpi is not enabled because it is broken as a module on ia64
410_aic= aic
411_ar= ar
412_arcnet= arcnet
413_asr= asr
414_bktr= bktr
415_cardbus= cardbus
416_cbb= cbb
417_ciss= ciss
418_cm= cm
419_coff= coff
420_el= el
421_em= em
422_ep= ep
423_exca= exca
424_fe= fe
425_hfa= hfa
426_iir= iir
427_mly= mly
428_pccard= pccard
429_ray= ray
430_scsi_low= scsi_low
431_smbfs= smbfs
432_sound= sound
433_splash= splash
434_sppp= sppp
435_sr= sr
436_streams= streams
437_wi= wi
438_xe= xe
439.endif
440
441.if ${MACHINE_ARCH} == "powerpc"
442_gem= gem
443.endif
444
445.if ${MACHINE_ARCH} == "sparc64"
446_auxio= auxio
447_gem= gem
448_sound= sound
449.endif
450
451.if defined(MODULES_OVERRIDE) && !defined(ALL_MODULES)
452SUBDIR=${MODULES_OVERRIDE}
453.endif
454
455# Calling kldxref(8) for each module is expensive.
456.if !defined(NO_XREF)
457.MAKEFLAGS+= -DNO_XREF
458afterinstall:
459 @if type kldxref >/dev/null 2>&1; then \
460 ${ECHO} kldxref ${DESTDIR}${KMODDIR}; \
461 kldxref ${DESTDIR}${KMODDIR}; \
462 fi
463.endif
464
465.include <bsd.subdir.mk>
258 ${_xe} \
259 xl
260
261.if ${MACHINE_ARCH} != "sparc64"
262_syscons= syscons
263.endif
264
265.if defined(ALL_MODULES)
266_ufs= ufs
267.endif
268
269.if !defined(NOCRYPT) || defined(ALL_MODULES)
270.if exists(${.CURDIR}/../opencrypto)
271_crypto= crypto
272_cryptodev= cryptodev
273.endif
274.if exists(${.CURDIR}/../crypto)
275_random= random
276.endif
277.endif
278
279.if !defined(NO_IPFILTER) || defined(ALL_MODULES)
280_ipfilter= ipfilter
281.endif
282
283.if !defined(NO_PF) || defined(ALL_MODULES)
284_pf= pf
285.endif
286
287.if ${MACHINE_ARCH} == "i386"
288# XXX some of these can move to the general case when de-i386'ed
289# XXX some of these can move now, but are untested on other architectures.
290_3dfx= 3dfx
291_agp= agp
292_aic= aic
293_amd= amd
294_aout= aout
295_apm= apm
296_ar= ar
297_arcnet= arcnet
298_ath_hal= ath_hal
299_awi= awi
300_bktr= bktr
301_coff= coff
302_cp= cp
303_drm= drm
304_ed= ed
305_elink= elink
306_em= em
307_ep= ep
308_ext2fs= ext2fs
309_fe= fe
310_hfa= hfa
311_i2c= i2c
312_ibcs2= ibcs2
313_ie= ie
314_io= io
315_linprocfs= linprocfs
316_linux= linux
317_lnc= lnc
318_ncp= ncp
319_ncv= ncv
320_ndis= ndis
321_nsp= nsp
322_nwfs= nwfs
323_oltr= oltr
324_pccard= pccard
325_pcfclock= pcfclock
326_pecoff= pecoff
327_ray= ray
328_safe= safe
329_sbni= sbni
330_scsi_low= scsi_low
331_smbfs= smbfs
332_sound= sound
333_speaker= speaker
334_splash= splash
335_sppp= sppp
336_sr= sr
337_stg= stg
338_streams= streams
339_wi= wi
340_xe= xe
341.if ${MACHINE} == "i386"
342_aac= aac
343_acpi= acpi
344_ahb= ahb
345_arl= arl
346_asr= asr
347_bios= bios
348_cardbus= cardbus
349_cbb= cbb
350_ciss= ciss
351_cm= cm
352_ctau= ctau
353_cx= cx
354_dpt= dpt
355_el= el
356_ex= ex
357_exca= exca
358_hptmv= hptmv
359_ichwd= ichwd
360_ida= ida
361_idt= idt
362_iir= iir
363_ips= ips
364_mly= mly
365_s3= s3
366_twa= twa
367_vesa= vesa
368.elif ${MACHINE} == "pc98"
369_canbepm= canbepm
370_canbus= canbus
371_pmc= pmc
372_snc= snc
373.endif
374.endif
375
376.if ${MACHINE_ARCH} == "alpha"
377_agp= agp
378_ahb= ahb
379_ext2fs= ext2fs
380_linprocfs= linprocfs
381_linux= linux
382_osf1= osf1
383_sound= sound
384_sppp= sppp
385.endif
386
387.if ${MACHINE_ARCH} == "amd64"
388_aac= aac
389#_acpi= acpi # doesn't work on amd64 yet
390_agp= agp
391_ciss= ciss
392_drm= drm
393_em= em
394_ext2fs= ext2fs
395_i2c= i2c
396_ida= ida
397_iir= iir
398_io= io
399_ips= ips
400_lnc= lnc
401_mly= mly
402#_ndis= ndis
403_safe= safe
404_scsi_low= scsi_low
405_smbfs= smbfs
406_sound= sound
407_sppp= sppp
408_twa= twa
409.endif
410
411.if ${MACHINE_ARCH} == "ia64"
412# Modules not enabled on ia64 (as compared to i386) include:
413# aac acpi aout apm atspeaker drm ibcs2 linprocfs linux ncv
414# nsp oltr pecoff s3 sbni stg vesa
415# acpi is not enabled because it is broken as a module on ia64
416_aic= aic
417_ar= ar
418_arcnet= arcnet
419_asr= asr
420_bktr= bktr
421_cardbus= cardbus
422_cbb= cbb
423_ciss= ciss
424_cm= cm
425_coff= coff
426_el= el
427_em= em
428_ep= ep
429_exca= exca
430_fe= fe
431_hfa= hfa
432_iir= iir
433_mly= mly
434_pccard= pccard
435_ray= ray
436_scsi_low= scsi_low
437_smbfs= smbfs
438_sound= sound
439_splash= splash
440_sppp= sppp
441_sr= sr
442_streams= streams
443_wi= wi
444_xe= xe
445.endif
446
447.if ${MACHINE_ARCH} == "powerpc"
448_gem= gem
449.endif
450
451.if ${MACHINE_ARCH} == "sparc64"
452_auxio= auxio
453_gem= gem
454_sound= sound
455.endif
456
457.if defined(MODULES_OVERRIDE) && !defined(ALL_MODULES)
458SUBDIR=${MODULES_OVERRIDE}
459.endif
460
461# Calling kldxref(8) for each module is expensive.
462.if !defined(NO_XREF)
463.MAKEFLAGS+= -DNO_XREF
464afterinstall:
465 @if type kldxref >/dev/null 2>&1; then \
466 ${ECHO} kldxref ${DESTDIR}${KMODDIR}; \
467 kldxref ${DESTDIR}${KMODDIR}; \
468 fi
469.endif
470
471.include <bsd.subdir.mk>