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_bridge \ 102 if_disc \ 103 if_ef \ 104 if_faith \ 105 if_gif \ 106 if_gre \ 107 ${_if_ndis} \ 108 if_ppp \ 109 if_sl \ 110 if_stf \ 111 if_tap \ 112 if_tun \ 113 if_vlan \ 114 ${_iir} \ 115 ${_io} \ 116 ip6fw \ 117 ipdivert \ 118 ${_ipfilter} \ 119 ipfw \ 120 ip_mroute_mod \ 121 ${_ips} \ 122 ipw \ 123 isp \ 124 ispfw \ 125 iwi \ 126 joy \ 127 kbdmux \ 128 kue \ 129 lge \ 130 libalias \ 131 libiconv \ 132 libmbpool \ 133 libmchain \ 134 ${_linprocfs} \ 135 ${_linux} \ 136 ${_lnc} \ 137 lpt \ 138 mac_biba \ 139 mac_bsdextended \ 140 mac_ifoff \ 141 mac_lomac \ 142 mac_mls \ 143 mac_none \ 144 mac_partition \ 145 mac_portacl \ 146 mac_seeotheruids \ 147 mac_stub \ 148 mac_test \ 149 mcd \ 150 md \ 151 mem \ 152 mii \ 153 mlx \ 154 ${_mly} \ 155 mpt \ 156 ${_mse} \ 157 msdosfs \ 158 msdosfs_iconv \ 159 my \ 160 ${_ncp} \ 161 ${_ncv} \ 162 ${_ndis} \ 163 netgraph \ 164 nfsclient \ 165 nfsserver \ 166 nge \ 167 ${_nve} \ 168 nmdm \ 169 ${_nsp} \ 170 ntfs \ 171 ntfs_iconv \ 172 nullfs \ 173 ${_nwfs} \ 174 ${_oltr} \ 175 ${_osf1} \ 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_el= el 387_ex= ex 388_exca= exca 389_hptmv= hptmv 390_ichwd= ichwd 391_ida= ida 392_idt= idt 393_iir= iir 394_ips= ips 395_mly= mly 396_nve= nve 397_s3= s3 398_twa= twa 399_vesa= vesa 400.elif ${MACHINE} == "pc98" 401_canbepm= canbepm 402_canbus= canbus 403_pmc= pmc 404_snc= snc 405.endif 406.endif 407 408.if ${MACHINE_ARCH} == "alpha" 409_agp= agp 410_ahb= ahb 411_ext2fs= ext2fs 412_linprocfs= linprocfs 413_linux= linux 414_osf1= osf1 415_sound= sound 416_sppp= sppp 417.endif 418 419.if ${MACHINE_ARCH} == "amd64" 420_aac= aac 421#_acpi= acpi # doesn't work on amd64 yet 422_agp= agp 423_arcmsr= arcmsr 424_ath_hal= ath_hal 425_ciss= ciss 426_cpufreq= cpufreq 427_digi= digi 428_drm= drm 429_em= em 430_ext2fs= ext2fs 431_i2c= i2c 432_ichwd= ichwd 433_ida= ida 434_if_ndis= if_ndis 435_iir= iir 436_io= io 437_ips= ips 438#_lnc= lnc 439_mly= mly 440_ndis= ndis 441_nve= nve 442_safe= safe 443_scsi_low= scsi_low 444_smbfs= smbfs 445_sound= sound 446_sppp= sppp 447_twa= twa 448.endif 449 450.if ${MACHINE_ARCH} == "ia64" 451# Modules not enabled on ia64 (as compared to i386) include: 452# aac acpi aout apm atspeaker drm ibcs2 linprocfs linux ncv 453# nsp oltr pecoff s3 sbni stg vesa 454# acpi is not enabled because it is broken as a module on ia64 455_aic= aic 456#_ar= ar not 64-bit clean 457_arcnet= arcnet 458_asr= asr 459_bktr= bktr 460_cardbus= cardbus 461_cbb= cbb 462_ciss= ciss 463_cm= cm 464_coff= coff 465_cpufreq= cpufreq 466_el= el 467_em= em 468_ep= ep 469_exca= exca 470_fe= fe 471_hfa= hfa 472_iir= iir 473_mly= mly 474_pccard= pccard 475_scsi_low= scsi_low 476_smbfs= smbfs 477_sound= sound 478_splash= splash 479_sppp= sppp 480#_sr= sr not 64bit clean 481_streams= streams 482_wi= wi 483_xe= xe 484.endif 485 486.if ${MACHINE_ARCH} == "powerpc" 487_gem= gem 488.endif 489 490.if ${MACHINE_ARCH} == "sparc64" 491_auxio= auxio 492_gem= gem 493_sound= sound 494.endif 495 496.if defined(MODULES_OVERRIDE) && !defined(ALL_MODULES) 497SUBDIR=${MODULES_OVERRIDE} 498.endif 499 500.for reject in ${WITHOUT_MODULES} 501SUBDIR:= ${SUBDIR:N${reject}} 502.endfor 503 504# Calling kldxref(8) for each module is expensive. 505.if !defined(NO_XREF) 506.MAKEFLAGS+= -DNO_XREF 507afterinstall: 508 @if type kldxref >/dev/null 2>&1; then \ 509 ${ECHO} kldxref ${DESTDIR}${KMODDIR}; \ 510 kldxref ${DESTDIR}${KMODDIR}; \ 511 fi 512.endif 513 514.include <bsd.subdir.mk> 515