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