1# $FreeBSD: head/sys/modules/Makefile 136858 2004-10-24 08:53:40Z scottl $
| 1# $FreeBSD: head/sys/modules/Makefile 136944 2004-10-25 10:29:57Z yongari $
|
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 aue \ 30 autofs \ 31 ${_auxio} \ 32 ${_awi} \ 33 axe \ 34 bfe \ 35 bge \ 36 ${_bios} \ 37 ${_bktr} \ 38 bridge \ 39 cam \ 40 ${_canbepm} \ 41 ${_canbus} \ 42 ${_cardbus} \ 43 ${_cbb} \ 44 cd9660 \ 45 cd9660_iconv \ 46 ${_ciss} \ 47 ${_cm} \ 48 coda \ 49 coda5 \ 50 ${_coff} \ 51 ${_cp} \ 52 ${_crypto} \ 53 ${_cryptodev} \ 54 ${_ctau} \ 55 cue \ 56 ${_cx} \ 57 dc \ 58 dcons \ 59 dcons_crom \ 60 de \ 61 digi \ 62 ${_dpt} \ 63 ${_drm} \ 64 dummynet \ 65 ${_ed} \ 66 ${_el} \ 67 ${_elink} \ 68 ${_em} \ 69 en \ 70 ${_ep} \ 71 ${_ex} \ 72 ${_exca} \ 73 ${_ext2fs} \ 74 fatm \ 75 fdc \ 76 fdescfs \ 77 ${_fe} \ 78 firewire \ 79 fxp \ 80 ${_gem} \ 81 geom \ 82 gx \ 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 ${_ipfilter} \ 110 ipfw \ 111 ip_mroute_mod \ 112 ${_ips} \ 113 isp \ 114 ispfw \ 115 joy \ 116 kue \ 117 lge \ 118 libiconv \ 119 libmbpool \ 120 libmchain \ 121 ${_linprocfs} \ 122 ${_linux} \ 123 ${_lnc} \ 124 lpt \ 125 mac_biba \ 126 mac_bsdextended \ 127 mac_ifoff \ 128 mac_lomac \ 129 mac_mls \ 130 mac_none \ 131 mac_partition \ 132 mac_portacl \ 133 mac_seeotheruids \ 134 mac_stub \ 135 mac_test \ 136 mcd \ 137 md \ 138 mem \ 139 mii \ 140 mlx \ 141 ${_mly} \ 142 mpt \ 143 msdosfs \ 144 msdosfs_iconv \ 145 my \ 146 ${_ncp} \ 147 ${_ncv} \ 148 ${_ndis} \ 149 netgraph \ 150 nfsclient \ 151 nfsserver \ 152 nge \ 153 nmdm \ 154 ${_nsp} \ 155 ntfs \ 156 ntfs_iconv \ 157 nullfs \ 158 ${_nwfs} \ 159 ${_oltr} \ 160 ${_osf1} \ 161 patm \ 162 ${_pccard} \ 163 ${_pcfclock} \ 164 pcn \ 165 ${_pecoff} \ 166 ${_pf} \ 167 plip \ 168 ${_pmc} \ 169 portalfs \ 170 ppbus \ 171 ppi \ 172 pps \ 173 procfs \ 174 pseudofs \ 175 pst \ 176 ${_random} \ 177 ${_ray} \ 178 rc \ 179 rc4 \ 180 re \ 181 rl \ 182 rp \ 183 rue \ 184 ${_s3} \ 185 ${_safe} \ 186 ${_sbni} \ 187 sbsh \ 188 scd \ 189 ${_scsi_low} \ 190 sf \ 191 sis \ 192 sk \ 193 ${_smbfs} \ 194 sn \ 195 ${_snc} \ 196 snp \ 197 ${_sound} \ 198 ${_speaker} \ 199 ${_splash} \ 200 ${_sppp} \ 201 ${_sr} \ 202 ste \ 203 ${_stg} \ 204 ${_streams} \ 205 sym \ 206 ${_syscons} \ 207 sysvipc \ 208 ti \ 209 tl \ 210 trm \ 211 ${_twa} \ 212 twe \ 213 tx \ 214 txp \ 215 uart \ 216 ubsa \ 217 ubsec \ 218 ubser \ 219 ucom \ 220 ucycom \ 221 udav \ 222 udbp \ 223 udf \ 224 udf_iconv \ 225 ufm \ 226 ${_ufs} \ 227 uftdi \ 228 ugen \ 229 uhid \ 230 ukbd \ 231 ulpt \ 232 umass \ 233 umct \ 234 umodem \ 235 ums \ 236 unionfs \ 237 uplcom \ 238 urio \ 239 usb \ 240 uscanner \ 241 utopia \ 242 uvisor \ 243 uvscom \ 244 ${_vesa} \ 245 vge \ 246 vpo \ 247 vr \ 248 vx \ 249 wb \ 250 ${_wi} \ 251 wlan \ 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_agp= agp 384_ciss= ciss 385_drm= drm 386_em= em 387_ext2fs= ext2fs 388_i2c= i2c 389_ida= ida 390_iir= iir 391_io= io 392_ips= ips 393_lnc= lnc 394_mly= mly 395#_ndis= ndis 396_safe= safe 397_scsi_low= scsi_low 398_smbfs= smbfs 399_sound= sound 400_sppp= sppp 401_twa= twa 402.endif 403 404.if ${MACHINE_ARCH} == "ia64" 405# Modules not enabled on ia64 (as compared to i386) include: 406# aac acpi aout apm atspeaker drm ibcs2 linprocfs linux ncv 407# nsp oltr pecoff s3 sbni stg vesa 408_aic= aic 409_ar= ar 410_arcnet= arcnet 411_asr= asr 412_bktr= bktr 413_cardbus= cardbus 414_cbb= cbb 415_ciss= ciss 416_cm= cm 417_coff= coff 418_el= el 419_em= em 420_ep= ep 421_exca= exca 422_fe= fe 423_hfa= hfa 424_iir= iir 425_mly= mly 426_pccard= pccard 427_ray= ray 428_scsi_low= scsi_low 429_smbfs= smbfs 430_sound= sound 431_splash= splash 432_sppp= sppp 433_sr= sr 434_streams= streams 435_wi= wi 436_xe= xe 437.endif 438 439.if ${MACHINE_ARCH} == "powerpc" 440_gem= gem 441.endif 442 443.if ${MACHINE_ARCH} == "sparc64" 444_auxio= auxio 445_gem= gem
| 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 aue \ 30 autofs \ 31 ${_auxio} \ 32 ${_awi} \ 33 axe \ 34 bfe \ 35 bge \ 36 ${_bios} \ 37 ${_bktr} \ 38 bridge \ 39 cam \ 40 ${_canbepm} \ 41 ${_canbus} \ 42 ${_cardbus} \ 43 ${_cbb} \ 44 cd9660 \ 45 cd9660_iconv \ 46 ${_ciss} \ 47 ${_cm} \ 48 coda \ 49 coda5 \ 50 ${_coff} \ 51 ${_cp} \ 52 ${_crypto} \ 53 ${_cryptodev} \ 54 ${_ctau} \ 55 cue \ 56 ${_cx} \ 57 dc \ 58 dcons \ 59 dcons_crom \ 60 de \ 61 digi \ 62 ${_dpt} \ 63 ${_drm} \ 64 dummynet \ 65 ${_ed} \ 66 ${_el} \ 67 ${_elink} \ 68 ${_em} \ 69 en \ 70 ${_ep} \ 71 ${_ex} \ 72 ${_exca} \ 73 ${_ext2fs} \ 74 fatm \ 75 fdc \ 76 fdescfs \ 77 ${_fe} \ 78 firewire \ 79 fxp \ 80 ${_gem} \ 81 geom \ 82 gx \ 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 ${_ipfilter} \ 110 ipfw \ 111 ip_mroute_mod \ 112 ${_ips} \ 113 isp \ 114 ispfw \ 115 joy \ 116 kue \ 117 lge \ 118 libiconv \ 119 libmbpool \ 120 libmchain \ 121 ${_linprocfs} \ 122 ${_linux} \ 123 ${_lnc} \ 124 lpt \ 125 mac_biba \ 126 mac_bsdextended \ 127 mac_ifoff \ 128 mac_lomac \ 129 mac_mls \ 130 mac_none \ 131 mac_partition \ 132 mac_portacl \ 133 mac_seeotheruids \ 134 mac_stub \ 135 mac_test \ 136 mcd \ 137 md \ 138 mem \ 139 mii \ 140 mlx \ 141 ${_mly} \ 142 mpt \ 143 msdosfs \ 144 msdosfs_iconv \ 145 my \ 146 ${_ncp} \ 147 ${_ncv} \ 148 ${_ndis} \ 149 netgraph \ 150 nfsclient \ 151 nfsserver \ 152 nge \ 153 nmdm \ 154 ${_nsp} \ 155 ntfs \ 156 ntfs_iconv \ 157 nullfs \ 158 ${_nwfs} \ 159 ${_oltr} \ 160 ${_osf1} \ 161 patm \ 162 ${_pccard} \ 163 ${_pcfclock} \ 164 pcn \ 165 ${_pecoff} \ 166 ${_pf} \ 167 plip \ 168 ${_pmc} \ 169 portalfs \ 170 ppbus \ 171 ppi \ 172 pps \ 173 procfs \ 174 pseudofs \ 175 pst \ 176 ${_random} \ 177 ${_ray} \ 178 rc \ 179 rc4 \ 180 re \ 181 rl \ 182 rp \ 183 rue \ 184 ${_s3} \ 185 ${_safe} \ 186 ${_sbni} \ 187 sbsh \ 188 scd \ 189 ${_scsi_low} \ 190 sf \ 191 sis \ 192 sk \ 193 ${_smbfs} \ 194 sn \ 195 ${_snc} \ 196 snp \ 197 ${_sound} \ 198 ${_speaker} \ 199 ${_splash} \ 200 ${_sppp} \ 201 ${_sr} \ 202 ste \ 203 ${_stg} \ 204 ${_streams} \ 205 sym \ 206 ${_syscons} \ 207 sysvipc \ 208 ti \ 209 tl \ 210 trm \ 211 ${_twa} \ 212 twe \ 213 tx \ 214 txp \ 215 uart \ 216 ubsa \ 217 ubsec \ 218 ubser \ 219 ucom \ 220 ucycom \ 221 udav \ 222 udbp \ 223 udf \ 224 udf_iconv \ 225 ufm \ 226 ${_ufs} \ 227 uftdi \ 228 ugen \ 229 uhid \ 230 ukbd \ 231 ulpt \ 232 umass \ 233 umct \ 234 umodem \ 235 ums \ 236 unionfs \ 237 uplcom \ 238 urio \ 239 usb \ 240 uscanner \ 241 utopia \ 242 uvisor \ 243 uvscom \ 244 ${_vesa} \ 245 vge \ 246 vpo \ 247 vr \ 248 vx \ 249 wb \ 250 ${_wi} \ 251 wlan \ 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_agp= agp 384_ciss= ciss 385_drm= drm 386_em= em 387_ext2fs= ext2fs 388_i2c= i2c 389_ida= ida 390_iir= iir 391_io= io 392_ips= ips 393_lnc= lnc 394_mly= mly 395#_ndis= ndis 396_safe= safe 397_scsi_low= scsi_low 398_smbfs= smbfs 399_sound= sound 400_sppp= sppp 401_twa= twa 402.endif 403 404.if ${MACHINE_ARCH} == "ia64" 405# Modules not enabled on ia64 (as compared to i386) include: 406# aac acpi aout apm atspeaker drm ibcs2 linprocfs linux ncv 407# nsp oltr pecoff s3 sbni stg vesa 408_aic= aic 409_ar= ar 410_arcnet= arcnet 411_asr= asr 412_bktr= bktr 413_cardbus= cardbus 414_cbb= cbb 415_ciss= ciss 416_cm= cm 417_coff= coff 418_el= el 419_em= em 420_ep= ep 421_exca= exca 422_fe= fe 423_hfa= hfa 424_iir= iir 425_mly= mly 426_pccard= pccard 427_ray= ray 428_scsi_low= scsi_low 429_smbfs= smbfs 430_sound= sound 431_splash= splash 432_sppp= sppp 433_sr= sr 434_streams= streams 435_wi= wi 436_xe= xe 437.endif 438 439.if ${MACHINE_ARCH} == "powerpc" 440_gem= gem 441.endif 442 443.if ${MACHINE_ARCH} == "sparc64" 444_auxio= auxio 445_gem= gem
|
| 446_sound= sound
|
446.endif 447 448.if defined(MODULES_OVERRIDE) && !defined(ALL_MODULES) 449SUBDIR=${MODULES_OVERRIDE} 450.endif 451 452# Calling kldxref(8) for each module is expensive. 453.if !defined(NO_XREF) 454.MAKEFLAGS+= -DNO_XREF 455afterinstall: 456 @if type kldxref >/dev/null 2>&1; then \ 457 ${ECHO} kldxref ${DESTDIR}${KMODDIR}; \ 458 kldxref ${DESTDIR}${KMODDIR}; \ 459 fi 460.endif 461 462.include <bsd.subdir.mk>
| 447.endif 448 449.if defined(MODULES_OVERRIDE) && !defined(ALL_MODULES) 450SUBDIR=${MODULES_OVERRIDE} 451.endif 452 453# Calling kldxref(8) for each module is expensive. 454.if !defined(NO_XREF) 455.MAKEFLAGS+= -DNO_XREF 456afterinstall: 457 @if type kldxref >/dev/null 2>&1; then \ 458 ${ECHO} kldxref ${DESTDIR}${KMODDIR}; \ 459 kldxref ${DESTDIR}${KMODDIR}; \ 460 fi 461.endif 462 463.include <bsd.subdir.mk>
|