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