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