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 vinum \ 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_gem= gem 443.endif 444 445.if defined(MODULES_OVERRIDE) && !defined(ALL_MODULES) 446SUBDIR=${MODULES_OVERRIDE} 447.endif 448 449# Calling kldxref(8) for each module is expensive. 450.if !defined(NO_XREF) 451.MAKEFLAGS+= -DNO_XREF 452afterinstall: 453 @if type kldxref >/dev/null 2>&1; then \ 454 ${ECHO} kldxref ${DESTDIR}${KMODDIR}; \ 455 kldxref ${DESTDIR}${KMODDIR}; \ 456 fi 457.endif 458 459.include <bsd.subdir.mk> 460