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