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