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