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