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