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 ${_arl} \ 24 ${_arcnet} \ 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 ${_crypto} \ 49 ${_cryptodev} \ 50 ${_ctau} \ 51 cue \ 52 ${_cx} \ 53 dc \ 54 dcons \ 55 dcons_crom \ 56 de \ 57 digi \ 58 ${_dpt} \ 59 ${_drm} \ 60 dummynet \ 61 ${_ed} \ 62 ${_el} \ 63 ${_elink} \ 64 ${_em} \ 65 en \ 66 ${_ep} \ 67 ${_ex} \ 68 ${_exca} \ 69 ${_ext2fs} \ 70 fatm \ 71 fdc \ 72 fdescfs \ 73 ${_fe} \ 74 firewire \ 75 fxp \ 76 ${_gem} \ 77 geom \ 78 gx \ 79 harp \ 80 hatm \ 81 ${_hfa} \ 82 hifn \ 83 ${_hme} \ 84 ${_i2c} \ 85 ${_ibcs2} \ 86 ${_ida} \ 87 ${_idt} \ 88 ${_ie} \ 89 if_disc \ 90 if_ef \ 91 if_faith \ 92 if_gif \ 93 if_gre \ 94 if_ppp \ 95 if_sl \ 96 if_stf \ 97 if_tap \ 98 if_tun \ 99 if_vlan \ 100 ${_iir} \ 101 ip6fw \ 102 ${_ipfilter} \ 103 ipfw \ 104 ip_mroute_mod \ 105 ${_ips} \ 106 isp \ 107 ispfw \ 108 joy \ 109 kue \ 110 lge \ 111 libiconv \ 112 libmbpool \ 113 libmchain \ 114 ${_linprocfs} \ 115 ${_linux} \ 116 ${_lnc} \ 117 lpt \ 118 mac_biba \ 119 mac_bsdextended \ 120 mac_ifoff \ 121 mac_lomac \ 122 mac_mls \ 123 mac_none \ 124 mac_partition \ 125 mac_portacl \ 126 mac_seeotheruids \ 127 mac_stub \ 128 mac_test \ 129 mcd \ 130 md \ 131 mii \ 132 mlx \ 133 ${_mly} \ 134 mpt \ 135 msdosfs \ 136 msdosfs_iconv \ 137 my \ 138 ${_ncp} \ 139 ${_ncv} \ 140 ${_ndis} \ 141 ${_netgraph} \ 142 nfsclient \ 143 nfsserver \ 144 nge \ 145 nmdm \ 146 ${_nsp} \ 147 ntfs \ 148 ntfs_iconv \ 149 ${_null} \ 150 nullfs \ 151 ${_nwfs} \ 152 ${_oltr} \ 153 ${_osf1} \ 154 patm \ 155 ${_pccard} \ 156 ${_pcfclock} \ 157 pcn \ 158 ${_pecoff} \ 159 ${_pf} \ 160 ${_pflog} \ 161 ${_pfsync} \ 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 twe \ 207 tx \ 208 txp \ 209 uart \ 210 ubsa \ 211 ubsec \ 212 ubser \ 213 ucom \ 214 udav \ 215 udbp \ 216 udf \ 217 udf_iconv \ 218 ufm \ 219 ${_ufs} \ 220 uftdi \ 221 ugen \ 222 uhid \ 223 ukbd \ 224 ulpt \ 225 umass \ 226 umct \ 227 umodem \ 228 ums \ 229 unionfs \ 230 uplcom \ 231 urio \ 232 usb \ 233 uscanner \ 234 utopia \ 235 uvisor \ 236 uvscom \ 237 ${_vesa} \ 238 ${_vinum} \ 239 vpo \ 240 vr \ 241 vx \ 242 wb \ 243 ${_wi} \ 244 wlan \ 245 ${_xe} \ 246 xl 247 248.if ${MACHINE_ARCH} != "sparc64" 249_syscons= syscons 250.endif 251 252.if defined(ALL_MODULES) 253_null= null 254_ufs= ufs 255.endif 256 257.if !defined(NOCRYPT) || defined(ALL_MODULES) 258.if exists(${.CURDIR}/../opencrypto) 259_crypto= crypto 260_cryptodev= cryptodev 261.endif 262.if exists(${.CURDIR}/../crypto) 263_random= random 264.endif 265.endif 266 267.if !defined(NO_IPFILTER) || defined(ALL_MODULES) 268_ipfilter= ipfilter 269.endif 270 271.if !defined(NO_PF) || defined(ALL_MODULES) 272_pf= pf 273_pflog= pflog 274_pfsync= pfsync 275.endif 276 277.if ${MACHINE_ARCH} == "i386" 278# XXX some of these can move to the general case when de-i386'ed 279# XXX some of these can move now, but are untested on other architectures. 280_3dfx= 3dfx 281_agp= agp 282_aic= aic 283_amd= amd 284_aout= aout 285_apm= apm 286_ar= ar 287_arcnet= arcnet 288_ath_hal= ath_hal 289_awi= awi 290_bktr= bktr 291_coff= coff 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_vinum= vinum 329_wi= wi 330_xe= xe 331.if ${MACHINE} == "i386" 332_aac= aac 333_acpi= acpi 334_arl= arl 335_asr= asr 336_bios= bios 337_cardbus= cardbus 338_cbb= cbb 339_ciss= ciss 340_cm= cm 341_ctau= ctau 342_cx= cx 343_dpt= dpt 344_el= el 345_ex= ex 346_exca= exca 347_ida= ida 348_idt= idt 349_iir= iir 350_ips= ips 351_mly= mly 352_s3= s3 353_vesa= vesa 354.elif ${MACHINE} == "pc98" 355_canbepm= canbepm 356_canbus= canbus 357_pmc= pmc 358_snc= snc 359.endif 360.endif 361 362.if ${MACHINE_ARCH} == "alpha" 363_agp= agp 364_ext2fs= ext2fs 365_linprocfs= linprocfs 366_linux= linux 367_osf1= osf1 368_sound= sound 369_sppp= sppp 370_vinum= vinum 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_vinum= vinum 410_wi= wi 411_xe= xe 412.endif 413 414.if ${MACHINE_ARCH} == "powerpc" 415_gem= gem 416.endif 417 418.if ${MACHINE_ARCH} == "sparc64" 419_gem= gem 420_hme= hme 421.endif 422 423.if defined(MODULES_OVERRIDE) && !defined(ALL_MODULES) 424SUBDIR=${MODULES_OVERRIDE} 425.endif 426 427# Calling kldxref(8) for each module is expensive. 428.if !defined(NO_XREF) 429.MAKEFLAGS+= -DNO_XREF 430afterinstall: 431 @if type kldxref >/dev/null 2>&1; then \ 432 ${ECHO} kldxref ${DESTDIR}${KMODDIR}; \ 433 kldxref ${DESTDIR}${KMODDIR}; \ 434 fi 435.endif 436 437.include <bsd.subdir.mk> 438