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