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 ucycom \ 219 udav \ 220 udbp \ 221 udf \ 222 udf_iconv \ 223 ufm \ 224 ${_ufs} \ 225 uftdi \ 226 ugen \ 227 uhid \ 228 ukbd \ 229 ulpt \ 230 umass \ 231 umct \ 232 umodem \ 233 ums \ 234 unionfs \ 235 uplcom \ 236 urio \ 237 usb \ 238 uscanner \ 239 utopia \ 240 uvisor \ 241 uvscom \ 242 ${_vesa} \ 243 vge \ 244 vpo \ 245 vr \ 246 vx \ 247 wb \ 248 ${_wi} \ 249 wlan \ 250 ${_xe} \ 251 xl 252 253.if ${MACHINE_ARCH} != "sparc64" 254_syscons= syscons 255.endif 256 257.if defined(ALL_MODULES) 258_ufs= ufs 259.endif 260 261.if !defined(NOCRYPT) || defined(ALL_MODULES) 262.if exists(${.CURDIR}/../opencrypto) 263_crypto= crypto 264_cryptodev= cryptodev 265.endif 266.if exists(${.CURDIR}/../crypto) 267_random= random 268.endif 269.endif 270 271.if !defined(NO_IPFILTER) || defined(ALL_MODULES) 272_ipfilter= ipfilter 273.endif 274 275.if !defined(NO_PF) || defined(ALL_MODULES) 276_pf= pf 277.endif 278 279.if ${MACHINE_ARCH} == "i386" 280# XXX some of these can move to the general case when de-i386'ed 281# XXX some of these can move now, but are untested on other architectures. 282_3dfx= 3dfx 283_agp= agp 284_aic= aic 285_amd= amd 286_aout= aout 287_apm= apm 288_ar= ar 289_arcnet= arcnet 290_ath_hal= ath_hal 291_awi= awi 292_bktr= bktr 293_coff= coff 294_cp= cp 295_drm= drm 296_ed= ed 297_elink= elink 298_em= em 299_ep= ep 300_ext2fs= ext2fs 301_fe= fe 302_hfa= hfa 303_i2c= i2c 304_ibcs2= ibcs2 305_ie= ie 306_io= io 307_linprocfs= linprocfs 308_linux= linux 309_lnc= lnc 310_ncp= ncp 311_ncv= ncv 312_ndis= ndis 313_nsp= nsp 314_nwfs= nwfs 315_oltr= oltr 316_pccard= pccard 317_pcfclock= pcfclock 318_pecoff= pecoff 319_ray= ray 320_safe= safe 321_sbni= sbni 322_scsi_low= scsi_low 323_smbfs= smbfs 324_sound= sound 325_speaker= speaker 326_splash= splash 327_sppp= sppp 328_sr= sr 329_stg= stg 330_streams= streams 331_wi= wi 332_xe= xe 333.if ${MACHINE} == "i386" 334_aac= aac 335_acpi= acpi 336_ahb= ahb 337_arl= arl 338_asr= asr 339_bios= bios 340_cardbus= cardbus 341_cbb= cbb 342_ciss= ciss 343_cm= cm 344_ctau= ctau 345_cx= cx 346_dpt= dpt 347_el= el 348_ex= ex 349_exca= exca 350_ichwd= ichwd 351_ida= ida 352_idt= idt 353_iir= iir 354_ips= ips 355_mly= mly 356_s3= s3 357_twa= twa 358_vesa= vesa 359.elif ${MACHINE} == "pc98" 360_canbepm= canbepm 361_canbus= canbus 362_pmc= pmc 363_snc= snc 364.endif 365.endif 366 367.if ${MACHINE_ARCH} == "alpha" 368_agp= agp 369_ahb= ahb 370_ext2fs= ext2fs 371_linprocfs= linprocfs 372_linux= linux 373_osf1= osf1 374_sound= sound 375_sppp= sppp 376.endif 377 378.if ${MACHINE_ARCH} == "amd64" 379_aac= aac 380_agp= agp 381_ciss= ciss 382_drm= drm 383_em= em 384_ext2fs= ext2fs 385_i2c= i2c 386_ida= ida 387_iir= iir 388_io= io 389_ips= ips 390_lnc= lnc 391_mly= mly 392#_ndis= ndis 393_safe= safe 394_scsi_low= scsi_low 395_smbfs= smbfs 396_sound= sound 397_sppp= sppp 398_twa= twa 399.endif 400 401.if ${MACHINE_ARCH} == "ia64" 402# Modules not enabled on ia64 (as compared to i386) include: 403# aac acpi aout apm atspeaker drm ibcs2 linprocfs linux ncv 404# nsp oltr pecoff s3 sbni stg vesa 405_aic= aic 406_ar= ar 407_arcnet= arcnet 408_asr= asr 409_bktr= bktr 410_cardbus= cardbus 411_cbb= cbb 412_ciss= ciss 413_cm= cm 414_coff= coff 415_el= el 416_em= em 417_ep= ep 418_exca= exca 419_fe= fe 420_hfa= hfa 421_iir= iir 422_mly= mly 423_pccard= pccard 424_ray= ray 425_scsi_low= scsi_low 426_smbfs= smbfs 427_sound= sound 428_splash= splash 429_sppp= sppp 430_sr= sr 431_streams= streams 432_wi= wi 433_xe= xe 434.endif 435 436.if ${MACHINE_ARCH} == "powerpc" 437_gem= gem 438.endif 439 440.if ${MACHINE_ARCH} == "sparc64" 441_gem= gem 442.endif 443 444.if defined(MODULES_OVERRIDE) && !defined(ALL_MODULES) 445SUBDIR=${MODULES_OVERRIDE} 446.endif 447 448# Calling kldxref(8) for each module is expensive. 449.if !defined(NO_XREF) 450.MAKEFLAGS+= -DNO_XREF 451afterinstall: 452 @if type kldxref >/dev/null 2>&1; then \ 453 ${ECHO} kldxref ${DESTDIR}${KMODDIR}; \ 454 kldxref ${DESTDIR}${KMODDIR}; \ 455 fi 456.endif 457 458.include <bsd.subdir.mk> 459