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