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