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