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 cam \ 42 ${_canbepm} \ 43 ${_canbus} \ 44 ${_cardbus} \ 45 ${_cbb} \ 46 cd9660 \ 47 cd9660_iconv \ 48 cdce \ 49 ${_ciss} \ 50 ${_cm} \ 51 coda \ 52 coda5 \ 53 ${_coff} \ 54 ${_cp} \ 55 ${_cpufreq} \ 56 ${_crypto} \ 57 ${_cryptodev} \ 58 ${_cs} \ 59 ${_ctau} \ 60 cue \ 61 ${_cx} \ 62 dc \ 63 dcons \ 64 dcons_crom \ 65 de \ 66 ${_digi} \ 67 ${_dpt} \ 68 ${_drm} \ 69 dummynet \ 70 ${_ed} \ 71 ${_elink} \ 72 ${_em} \ 73 en \ 74 ${_ep} \ 75 ${_ex} \ 76 ${_exca} \ 77 ${_ext2fs} \ 78 fatm \ 79 fdc \ 80 fdescfs \ 81 ${_fe} \ 82 firewire \ 83 fxp \ 84 ${_gem} \ 85 geom \ 86 harp \ 87 hatm \ 88 ${_hfa} \ 89 hifn \ 90 hme \ 91 ${_hptmv} \ 92 hwpmc \ 93 ${_i2c} \ 94 ${_ibcs2} \ 95 ${_ichwd} \ 96 ${_ida} \ 97 ${_idt} \ 98 ${_ie} \ 99 if_bridge \ 100 if_disc \ 101 if_ef \ 102 if_faith \ 103 if_gif \ 104 if_gre \ 105 ${_if_ndis} \ 106 if_ppp \ 107 if_sl \ 108 if_stf \ 109 if_tap \ 110 if_tun \ 111 if_vlan \ 112 ${_iir} \ 113 ${_io} \ 114 ip6fw \ 115 ipdivert \ 116 ${_ipfilter} \ 117 ipfw \ 118 ip_mroute_mod \ 119 ${_ips} \ 120 ipw \ 121 isp \ 122 ispfw \ 123 iwi \ 124 joy \ 125 kbdmux \ 126 kue \ 127 lge \ 128 libalias \ 129 libiconv \ 130 libmbpool \ 131 libmchain \ 132 ${_linprocfs} \ 133 ${_linux} \ 134 ${_lnc} \ 135 lpt \ 136 mac_biba \ 137 mac_bsdextended \ 138 mac_ifoff \ 139 mac_lomac \ 140 mac_mls \ 141 mac_none \ 142 mac_partition \ 143 mac_portacl \ 144 mac_seeotheruids \ 145 mac_stub \ 146 mac_test \ 147 mcd \ 148 md \ 149 mem \ 150 mii \ 151 mlx \ 152 ${_mly} \ 153 mpt \ 154 ${_mse} \ 155 msdosfs \ 156 msdosfs_iconv \ 157 my \ 158 ${_ncp} \ 159 ${_ncv} \ 160 ${_ndis} \ 161 netgraph \ 162 nfsclient \ 163 nfsserver \ 164 nge \ 165 ${_nve} \ 166 nmdm \ 167 ${_nsp} \ 168 ntfs \ 169 ntfs_iconv \ 170 nullfs \ 171 ${_nwfs} \ 172 ${_oltr} \ 173 ${_osf1} \ 174 ${_padlock} \ 175 patm \ 176 ${_pccard} \ 177 ${_pcfclock} \ 178 pcn \ 179 ${_pecoff} \ 180 ${_pf} \ 181 plip \ 182 ${_pmc} \ 183 portalfs \ 184 ppbus \ 185 ppi \ 186 pps \ 187 procfs \ 188 pseudofs \ 189 ${_pst} \ 190 ${_puc} \ 191 ral \ 192 ${_random} \ 193 ${_ray} \ 194 rc \ 195 rc4 \ 196 re \ 197 reiserfs \ 198 rl \ 199 rp \ 200 rue \ 201 ${_s3} \ 202 ${_safe} \ 203 ${_sbni} \ 204 sbsh \ 205 scd \ 206 ${_scsi_low} \ 207 sf \ 208 ${_sio} \ 209 sis \ 210 sk \ 211 ${_smbfs} \ 212 sn \ 213 ${_snc} \ 214 snp \ 215 ${_sound} \ 216 ${_speaker} \ 217 ${_splash} \ 218 ${_sppp} \ 219 ${_sr} \ 220 ste \ 221 ${_stg} \ 222 ${_streams} \ 223 sym \ 224 ${_syscons} \ 225 sysvipc \ 226 ti \ 227 tl \ 228 trm \ 229 ${_twa} \ 230 twe \ 231 tx \ 232 txp \ 233 ${_uart} \ 234 ubsa \ 235 ubsec \ 236 ubser \ 237 ucom \ 238 ucycom \ 239 udav \ 240 udbp \ 241 udf \ 242 udf_iconv \ 243 ufm \ 244 ${_ufs} \ 245 uftdi \ 246 ugen \ 247 uhid \ 248 ukbd \ 249 ulpt \ 250 umass \ 251 umct \ 252 umodem \ 253 ums \ 254 unionfs \ 255 uplcom \ 256 ural \ 257 urio \ 258 usb \ 259 uscanner \ 260 utopia \ 261 uvisor \ 262 uvscom \ 263 ${_vesa} \ 264 vge \ 265 vkbd \ 266 ${_vpo} \ 267 vr \ 268 vx \ 269 wb \ 270 ${_wi} \ 271 wlan \ 272 wlan_acl \ 273 wlan_ccmp \ 274 wlan_tkip \ 275 wlan_wep \ 276 wlan_xauth \ 277 ${_xe} \ 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_digi= digi 328_drm= drm 329_ed= ed 330_elink= elink 331_em= em 332_ep= ep 333_exca= exca 334_ext2fs= ext2fs 335_fe= fe 336_hfa= hfa 337_i2c= i2c 338_ibcs2= ibcs2 339_ie= ie 340_if_ndis= if_ndis 341_io= io 342_linprocfs= linprocfs 343_linux= linux 344_lnc= lnc 345_mse= mse 346_ncp= ncp 347_ncv= ncv 348_ndis= ndis 349_nsp= nsp 350_nwfs= nwfs 351_oltr= oltr 352_pccard= pccard 353_pcfclock= pcfclock 354_pecoff= pecoff 355_pst= pst 356_puc= puc 357_ray= ray 358_safe= safe 359_sbni= sbni 360_scsi_low= scsi_low 361_sio= sio 362_smbfs= smbfs 363_sound= sound 364_speaker= speaker 365_splash= splash 366_sppp= sppp 367_sr= sr 368_stg= stg 369_streams= streams 370_wi= wi 371_xe= xe 372.if ${MACHINE} == "i386" 373_aac= aac 374_acpi= acpi 375_ahb= ahb 376_arl= arl 377_arcmsr= arcmsr 378_asr= asr 379_bios= bios 380_ciss= ciss 381_cm= cm 382_cs= cs 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_em= em 433_ext2fs= ext2fs 434_hptmv= hptmv 435_i2c= i2c 436_ichwd= ichwd 437_ida= ida 438_if_ndis= if_ndis 439_iir= iir 440_io= io 441_ips= ips 442#_lnc= lnc 443_mly= mly 444_ndis= ndis 445_nve= nve 446_safe= safe 447_scsi_low= scsi_low 448_smbfs= smbfs 449_sound= sound 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_gem= gem 497_sound= sound 498.endif 499 500.if defined(MODULES_OVERRIDE) && !defined(ALL_MODULES) 501SUBDIR=${MODULES_OVERRIDE} 502.endif 503 504.for reject in ${WITHOUT_MODULES} 505SUBDIR:= ${SUBDIR:N${reject}} 506.endfor 507 508# Calling kldxref(8) for each module is expensive. 509.if !defined(NO_XREF) 510.MAKEFLAGS+= -DNO_XREF 511afterinstall: 512 @if type kldxref >/dev/null 2>&1; then \ 513 ${ECHO} kldxref ${DESTDIR}${KMODDIR}; \ 514 kldxref ${DESTDIR}${KMODDIR}; \ 515 fi 516.endif 517 518.include <bsd.subdir.mk> 519