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 ${_awi} \ 31 axe \ 32 bfe \ 33 bge \ 34 ${_bios} \ 35 ${_bktr} \ 36 bridge \ 37 cam \ 38 ${_canbepm} \ 39 ${_canbus} \ 40 ${_cardbus} \ 41 ${_cbb} \ 42 cd9660 \ 43 cd9660_iconv \ 44 ${_ciss} \ 45 ${_cm} \ 46 coda \ 47 coda5 \ 48 ${_coff} \ 49 ${_cp} \ 50 ${_crypto} \ 51 ${_cryptodev} \ 52 ${_ctau} \ 53 cue \ 54 ${_cx} \ 55 dc \ 56 dcons \ 57 dcons_crom \ 58 de \ 59 digi \ 60 ${_dpt} \ 61 ${_drm} \ 62 dummynet \ 63 ${_ed} \ 64 ${_el} \ 65 ${_elink} \ 66 ${_em} \ 67 en \ 68 ${_ep} \ 69 ${_ex} \ 70 ${_exca} \ 71 ${_ext2fs} \ 72 fatm \ 73 fdc \ 74 fdescfs \ 75 ${_fe} \ 76 firewire \ 77 fxp \ 78 ${_gem} \ 79 geom \ 80 gx \ 81 harp \ 82 hatm \ 83 ${_hfa} \ 84 hifn \ 85 ${_hme} \ 86 ${_i2c} \ 87 ${_ibcs2} \ 88 ${_ichwd} \ 89 ${_ida} \ 90 ${_idt} \ 91 ${_ie} \ 92 if_disc \ 93 if_ef \ 94 if_faith \ 95 if_gif \ 96 if_gre \ 97 if_ppp \ 98 if_sl \ 99 if_stf \ 100 if_tap \ 101 if_tun \ 102 if_vlan \ 103 ${_iir} \ 104 ${_io} \ 105 ip6fw \ 106 ${_ipfilter} \ 107 ipfw \ 108 ip_mroute_mod \ 109 ${_ips} \ 110 isp \ 111 ispfw \ 112 joy \ 113 kue \ 114 lge \ 115 libiconv \ 116 libmbpool \ 117 libmchain \ 118 ${_linprocfs} \ 119 ${_linux} \ 120 ${_lnc} \ 121 lpt \ 122 mac_biba \ 123 mac_bsdextended \ 124 mac_ifoff \ 125 mac_lomac \ 126 mac_mls \ 127 mac_none \ 128 mac_partition \ 129 mac_portacl \ 130 mac_seeotheruids \ 131 mac_stub \ 132 mac_test \ 133 mcd \ 134 md \ 135 mem \ 136 mii \ 137 mlx \ 138 ${_mly} \ 139 mpt \ 140 msdosfs \ 141 msdosfs_iconv \ 142 my \ 143 ${_ncp} \ 144 ${_ncv} \ 145 ${_ndis} \ 146 ${_netgraph} \ 147 nfsclient \ 148 nfsserver \ 149 nge \ 150 nmdm \ 151 ${_nsp} \ 152 ntfs \ 153 ntfs_iconv \ 154 null \ 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_netgraph= netgraph 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_io= io 380#_ndis= ndis 381.endif 382 383.if ${MACHINE_ARCH} == "ia64" 384# Modules not enabled on ia64 (as compared to i386) include: 385# aac acpi aout apm atspeaker drm ibcs2 linprocfs linux ncv 386# nsp oltr pecoff s3 sbni stg vesa 387_aic= aic 388_ar= ar 389_arcnet= arcnet 390_asr= asr 391_bktr= bktr 392_cardbus= cardbus 393_cbb= cbb 394_ciss= ciss 395_cm= cm 396_coff= coff 397_el= el 398_em= em 399_ep= ep 400_exca= exca 401_fe= fe 402_hfa= hfa 403_iir= iir 404_mly= mly 405_netgraph= netgraph 406_pccard= pccard 407_ray= ray 408_scsi_low= scsi_low 409_smbfs= smbfs 410_sound= sound 411_splash= splash 412_sppp= sppp 413_sr= sr 414_streams= streams 415_wi= wi 416_xe= xe 417.endif 418 419.if ${MACHINE_ARCH} == "powerpc" 420_gem= gem 421.endif 422 423.if ${MACHINE_ARCH} == "sparc64" 424_gem= gem 425_hme= hme 426.endif 427 428.if defined(MODULES_OVERRIDE) && !defined(ALL_MODULES) 429SUBDIR=${MODULES_OVERRIDE} 430.endif 431 432# Calling kldxref(8) for each module is expensive. 433.if !defined(NO_XREF) 434.MAKEFLAGS+= -DNO_XREF 435afterinstall: 436 @if type kldxref >/dev/null 2>&1; then \ 437 ${ECHO} kldxref ${DESTDIR}${KMODDIR}; \ 438 kldxref ${DESTDIR}${KMODDIR}; \ 439 fi 440.endif 441 442.include <bsd.subdir.mk> 443