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