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