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