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