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