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_ndis} \ 107 if_ppp \ 108 if_sl \ 109 if_stf \ 110 if_tap \ 111 if_tun \ 112 if_vlan \ 113 ${_iir} \ 114 ${_io} \ 115 ip6fw \ 116 ipdivert \ 117 ${_ipfilter} \ 118 ipfw \ 119 ip_mroute_mod \ 120 ${_ips} \ 121 ipw \ 122 isp \ 123 ispfw \ 124 iwi \ 125 joy \ 126 kue \ 127 lge \ 128 libalias \ 129 libiconv \ 130 libmbpool \ 131 libmchain \ 132 ${_linprocfs} \ 133 ${_linux} \ 134 ${_lnc} \ 135 lpt \ 136 mac_biba \ 137 mac_bsdextended \ 138 mac_ifoff \ 139 mac_lomac \ 140 mac_mls \ 141 mac_none \ 142 mac_partition \ 143 mac_portacl \ 144 mac_seeotheruids \ 145 mac_stub \ 146 mac_test \ 147 mcd \ 148 md \ 149 mem \ 150 mii \ 151 mlx \ 152 ${_mly} \ 153 mpt \ 154 ${_mse} \ 155 msdosfs \ 156 msdosfs_iconv \ 157 my \ 158 ${_ncp} \ 159 ${_ncv} \ 160 ${_ndis} \ 161 netgraph \ 162 nfsclient \ 163 nfsserver \ 164 nge \ 165 ${_nve} \ 166 nmdm \ 167 ${_nsp} \ 168 ntfs \ 169 ntfs_iconv \ 170 nullfs \ 171 ${_nwfs} \ 172 ${_oltr} \ 173 ${_osf1} \ 174 patm \ 175 ${_pccard} \ 176 ${_pcfclock} \ 177 pcn \ 178 ${_pecoff} \ 179 ${_pf} \ 180 plip \ 181 ${_pmc} \ 182 portalfs \ 183 ppbus \ 184 ppi \ 185 pps \ 186 procfs \ 187 pseudofs \ 188 ${_pst} \ 189 ${_puc} \ 190 ral \ 191 ${_random} \ 192 ${_ray} \ 193 rc \ 194 rc4 \ 195 re \ 196 rl \ 197 rp \ 198 rue \ 199 ${_s3} \ 200 ${_safe} \ 201 ${_sbni} \ 202 sbsh \ 203 scd \ 204 ${_scsi_low} \ 205 sf \ 206 ${_sio} \ 207 sis \ 208 sk \ 209 ${_smbfs} \ 210 sn \ 211 ${_snc} \ 212 snp \ 213 ${_sound} \ 214 ${_speaker} \ 215 ${_splash} \ 216 ${_sppp} \ 217 ${_sr} \ 218 ste \ 219 ${_stg} \ 220 ${_streams} \ 221 sym \ 222 ${_syscons} \ 223 sysvipc \ 224 ti \ 225 tl \ 226 trm \ 227 ${_twa} \ 228 twe \ 229 tx \ 230 txp \ 231 ${_uart} \ 232 ubsa \ 233 ubsec \ 234 ubser \ 235 ucom \ 236 ucycom \ 237 udav \ 238 udbp \ 239 udf \ 240 udf_iconv \ 241 ufm \ 242 ${_ufs} \ 243 uftdi \ 244 ugen \ 245 uhid \ 246 ukbd \ 247 ulpt \ 248 umass \ 249 umct \ 250 umodem \ 251 ums \ 252 unionfs \ 253 uplcom \ 254 ural \ 255 urio \ 256 usb \ 257 uscanner \ 258 utopia \ 259 uvisor \ 260 uvscom \ 261 ${_vesa} \ 262 vge \ 263 vkbd \ 264 ${_vpo} \ 265 vr \ 266 vx \ 267 wb \ 268 ${_wi} \ 269 wlan \ 270 wlan_acl \ 271 wlan_ccmp \ 272 wlan_tkip \ 273 wlan_wep \ 274 wlan_xauth \ 275 ${_xe} \ 276 xl 277 278.if ${MACHINE_ARCH} != "sparc64" && ${MACHINE_ARCH} != "powerpc" 279_syscons= syscons 280.endif 281 282.if ${MACHINE_ARCH} != "powerpc" 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_ciss= ciss 425_cpufreq= cpufreq 426_digi= digi 427_drm= drm 428_em= em 429_ext2fs= ext2fs 430_i2c= i2c 431_ida= ida 432_if_ndis= if_ndis 433_iir= iir 434_io= io 435_ips= ips 436#_lnc= lnc 437_mly= mly 438_ndis= ndis 439_nve= nve 440_safe= safe 441_scsi_low= scsi_low 442_smbfs= smbfs 443_sound= sound 444_sppp= sppp 445_twa= twa 446.endif 447 448.if ${MACHINE_ARCH} == "ia64" 449# Modules not enabled on ia64 (as compared to i386) include: 450# aac acpi aout apm atspeaker drm ibcs2 linprocfs linux ncv 451# nsp oltr pecoff s3 sbni stg vesa 452# acpi is not enabled because it is broken as a module on ia64 453_aic= aic 454#_ar= ar not 64-bit clean 455_arcnet= arcnet 456_asr= asr 457_bktr= bktr 458_cardbus= cardbus 459_cbb= cbb 460_ciss= ciss 461_cm= cm 462_coff= coff 463_cpufreq= cpufreq 464_el= el 465_em= em 466_ep= ep 467_exca= exca 468_fe= fe 469_hfa= hfa 470_iir= iir 471_mly= mly 472_pccard= pccard 473_scsi_low= scsi_low 474_smbfs= smbfs 475_sound= sound 476_splash= splash 477_sppp= sppp 478#_sr= sr not 64bit clean 479_streams= streams 480_wi= wi 481_xe= xe 482.endif 483 484.if ${MACHINE_ARCH} == "powerpc" 485_gem= gem 486.endif 487 488.if ${MACHINE_ARCH} == "sparc64" 489_auxio= auxio 490_gem= gem 491_sound= sound 492.endif 493 494.if defined(MODULES_OVERRIDE) && !defined(ALL_MODULES) 495SUBDIR=${MODULES_OVERRIDE} 496.endif 497 498.for reject in ${WITHOUT_MODULES} 499SUBDIR:= ${SUBDIR:N${reject}} 500.endfor 501 502# Calling kldxref(8) for each module is expensive. 503.if !defined(NO_XREF) 504.MAKEFLAGS+= -DNO_XREF 505afterinstall: 506 @if type kldxref >/dev/null 2>&1; then \ 507 ${ECHO} kldxref ${DESTDIR}${KMODDIR}; \ 508 kldxref ${DESTDIR}${KMODDIR}; \ 509 fi 510.endif 511 512.include <bsd.subdir.mk> 513