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