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