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 286.if ${MACHINE_ARCH} != "powerpc" 287_syscons= syscons 288_uart= uart 289_vpo= vpo 290.endif 291 292.if defined(ALL_MODULES) 293_ufs= ufs 294.endif 295 296.if !defined(NO_CRYPT) || defined(ALL_MODULES) 297.if exists(${.CURDIR}/../opencrypto) 298_crypto= crypto 299_cryptodev= cryptodev 300.endif 301.if exists(${.CURDIR}/../crypto) 302_random= random 303.endif 304.endif 305 306.if !defined(NO_IPFILTER) || defined(ALL_MODULES) 307_ipfilter= ipfilter 308.endif 309 310.if !defined(NO_PF) || defined(ALL_MODULES) 311_pf= pf 312_pflog= pflog 313.endif 314 315.if ${MACHINE_ARCH} == "i386" 316# XXX some of these can move to the general case when de-i386'ed 317# XXX some of these can move now, but are untested on other architectures. 318_3dfx= 3dfx 319_agp= agp 320_aic= aic 321_amd= amd 322_an= an 323_aout= aout 324_apm= apm 325_ar= ar 326_arcnet= arcnet 327_ath_hal= ath_hal 328_awi= awi 329_bktr= bktr 330_cardbus= cardbus 331_cbb= cbb 332_ce= ce 333_coff= coff 334_cp= cp 335_cpufreq= cpufreq 336_cs= cs 337_digi= digi 338_drm= drm 339_ed= ed 340_elink= elink 341_em= em 342_ep= ep 343_exca= exca 344_ext2fs= ext2fs 345_fe= fe 346_hfa= hfa 347_i2c= i2c 348_ibcs2= ibcs2 349_ie= ie 350_if_ndis= if_ndis 351_io= io 352_linprocfs= linprocfs 353_linux= linux 354_lnc= lnc 355_mse= mse 356_ncp= ncp 357_ncv= ncv 358_ndis= ndis 359_nsp= nsp 360_nwfs= nwfs 361_oltr= oltr 362_pccard= pccard 363_pcfclock= pcfclock 364_pecoff= pecoff 365_pst= pst 366_puc= puc 367_ray= ray 368_safe= safe 369_sbni= sbni 370_scsi_low= scsi_low 371_sio= sio 372_smbfs= smbfs 373_sound= sound 374_speaker= speaker 375_splash= splash 376_sppp= sppp 377_sr= sr 378_stg= stg 379_streams= streams 380_wi= wi 381_xe= xe 382.if ${MACHINE} == "i386" 383_aac= aac 384_acpi= acpi 385_ahb= ahb 386_arcmsr= arcmsr 387_arl= arl 388_asr= asr 389_bios= bios 390_ciss= ciss 391_cm= cm 392_ctau= ctau 393_cx= cx 394_dpt= dpt 395_ex= ex 396_hptmv= hptmv 397_ichwd= ichwd 398_ida= ida 399_idt= idt 400_iir= iir 401_ipmi= ipmi 402_ips= ips 403_mly= mly 404_nve= nve 405.if !defined(NO_CRYPT) || defined(ALL_MODULES) 406.if exists(${.CURDIR}/../crypto/via) 407_padlock= padlock 408.endif 409.endif 410_s3= s3 411_twa= twa 412_vesa= vesa 413.elif ${MACHINE} == "pc98" 414_canbepm= canbepm 415_canbus= canbus 416_pmc= pmc 417_snc= snc 418.endif 419.endif 420 421.if ${MACHINE_ARCH} == "alpha" 422_agp= agp 423_ahb= ahb 424_ext2fs= ext2fs 425_linprocfs= linprocfs 426_linux= linux 427_osf1= osf1 428_sound= sound 429_sppp= sppp 430.endif 431 432.if ${MACHINE_ARCH} == "amd64" 433_aac= aac 434#_acpi= acpi # doesn't work on amd64 yet as module 435_agp= agp 436_an= an 437_arcmsr= arcmsr 438_ath_hal= ath_hal 439_ciss= ciss 440_cpufreq= cpufreq 441_digi= digi 442_drm= drm 443_ed= ed 444_em= em 445_ext2fs= ext2fs 446_hptmv= hptmv 447_i2c= i2c 448_ichwd= ichwd 449_ida= ida 450_if_ndis= if_ndis 451_iir= iir 452_io= io 453_ipmi= ipmi 454_ips= ips 455#_lnc= lnc 456_mly= mly 457_ndis= ndis 458_nve= nve 459_safe= safe 460_scsi_low= scsi_low 461_smbfs= smbfs 462_sound= sound 463_speaker= speaker 464_sppp= sppp 465_twa= twa 466.endif 467 468.if ${MACHINE_ARCH} == "ia64" 469# Modules not enabled on ia64 (as compared to i386) include: 470# aac acpi aout apm atspeaker drm ibcs2 linprocfs linux ncv 471# nsp oltr pecoff s3 sbni stg vesa 472# acpi is not enabled because it is broken as a module on ia64 473_aic= aic 474#_ar= ar not 64-bit clean 475_arcnet= arcnet 476_asr= asr 477_an= an 478_bktr= bktr 479_cardbus= cardbus 480_cbb= cbb 481_ciss= ciss 482_cm= cm 483_coff= coff 484_cpufreq= cpufreq 485_em= em 486_ep= ep 487_exca= exca 488_fe= fe 489_hfa= hfa 490_iir= iir 491_mly= mly 492_pccard= pccard 493_scsi_low= scsi_low 494_smbfs= smbfs 495_sound= sound 496_splash= splash 497_sppp= sppp 498#_sr= sr not 64bit clean 499_streams= streams 500_wi= wi 501_xe= xe 502.endif 503 504.if ${MACHINE_ARCH} == "powerpc" 505_an= an 506_gem= gem 507_smbfs= smbfs 508.endif 509 510.if ${MACHINE_ARCH} == "sparc64" 511_auxio= auxio 512_em= em 513_gem= gem 514_i2c= i2c 515_sound= sound 516.endif 517 518.if defined(MODULES_OVERRIDE) && !defined(ALL_MODULES) 519SUBDIR=${MODULES_OVERRIDE} 520.endif 521 522.for reject in ${WITHOUT_MODULES} 523SUBDIR:= ${SUBDIR:N${reject}} 524.endfor 525 526# Calling kldxref(8) for each module is expensive. 527.if !defined(NO_XREF) 528.MAKEFLAGS+= -DNO_XREF 529afterinstall: 530 @if type kldxref >/dev/null 2>&1; then \ 531 ${ECHO} kldxref ${DESTDIR}${KMODDIR}; \ 532 kldxref ${DESTDIR}${KMODDIR}; \ 533 fi 534.endif 535 536.include <bsd.subdir.mk> 537