1# $FreeBSD: head/sys/modules/Makefile 227064 2011-11-03 21:20:22Z bz $
|
1# $FreeBSD: head/sys/modules/Makefile 227085 2011-11-04 16:24:19Z bz $ |
2 3.include <bsd.own.mk> 4 5SUBDIR= ${_3dfx} \ 6 ${_3dfx_linux} \ 7 ${_aac} \ 8 accf_data \ 9 accf_dns \ 10 accf_http \ 11 ${_acpi} \ 12 ae \ 13 ${_aesni} \ 14 age \ 15 ${_agp} \ 16 aha \ 17 ${_ahb} \ 18 ahci \ 19 ${_aic} \ 20 aic7xxx \ 21 aio \ 22 alc \ 23 ale \ 24 alq \ 25 ${_amd} \ 26 ${_amdsbwd} \ 27 ${_amdtemp} \ 28 amr \ 29 ${_an} \ 30 ${_aout} \ 31 ${_apm} \ 32 ${_arcmsr} \ 33 ${_arcnet} \ 34 ${_asmc} \ 35 ${_asr} \ 36 ata \ 37 ath \ 38 ath_pci \ 39 ${_auxio} \ 40 bce \ 41 bfe \ 42 bge \ 43 ${_bxe} \ 44 ${_bios} \ 45 ${_bktr} \ 46 ${_bm} \ 47 bridgestp \ 48 bwi \ 49 bwn \ 50 cam \ 51 ${_canbepm} \ 52 ${_canbus} \ 53 ${_cardbus} \ 54 cas \ 55 ${_cbb} \ 56 cc \ 57 cd9660 \ 58 cd9660_iconv \ 59 ${_ce} \ 60 ${_ciss} \ 61 ${_cm} \ 62 ${_cmx} \ 63 coda \ 64 coda5 \ 65 ${_coff} \ 66 ${_coretemp} \ 67 ${_cp} \ 68 ${_cpuctl} \ 69 ${_cpufreq} \ 70 ${_crypto} \ 71 ${_cryptodev} \ 72 ${_cs} \ 73 ${_ctau} \ 74 ${_cxgb} \ 75 cxgbe \ 76 ${_cyclic} \ 77 dc \ 78 dcons \ 79 dcons_crom \ 80 de \ 81 ${_dpms} \ 82 ${_dpt} \ 83 ${_drm} \ 84 ${_dtrace} \ 85 dummynet \ 86 ${_ed} \ 87 ${_elink} \ 88 ${_em} \ 89 en \ 90 ${_ep} \ 91 ${_epic} \ 92 esp \ 93 ${_et} \ 94 ${_ex} \ 95 ${_exca} \ 96 ${_ext2fs} \ 97 fatm \ 98 fdc \ 99 fdescfs \ 100 ${_fe} \ 101 firewire \ 102 firmware \ 103 fxp \ 104 gem \ 105 geom \ 106 ${_glxiic} \ 107 ${_glxsb} \ 108 hatm \ 109 hifn \ 110 hme \ 111 ${_hptiop} \ 112 ${_hptmv} \ 113 ${_hptrr} \ 114 hwpmc \ 115 ${_i2c} \ 116 ${_ibcs2} \ 117 ${_ichwd} \ 118 ${_ida} \ 119 ${_ie} \ 120 if_bridge \ 121 ${_if_carp} \ 122 if_disc \ 123 if_edsc \ 124 if_ef \ 125 if_epair \ 126 if_faith \ 127 if_gif \ 128 ${_if_gre} \ 129 if_lagg \ 130 ${_if_ndis} \ 131 if_stf \ 132 if_tap \ 133 if_tun \ 134 if_vlan \ 135 ${_igb} \ 136 ${_iir} \ 137 ${_io} \ 138 ipdivert \ 139 ${_ipfilter} \
|
140 ipfw \
|
140 ${_ipfw} \ |
141 ipfw_nat \ 142 ${_ipmi} \ 143 ip_mroute_mod \ 144 ${_ips} \ 145 ${_ipw} \ 146 ${_ipwfw} \ 147 iscsi \ 148 isp \ 149 ispfw \ 150 ${_iwi} \ 151 ${_iwifw} \ 152 ${_iwn} \ 153 ${_iwnfw} \ 154 ${_ixgb} \ 155 ${_ixgbe} \ 156 jme \ 157 joy \ 158 kbdmux \ 159 kgssapi \ 160 kgssapi_krb5 \ 161 khelp \ 162 krpc \ 163 ksyms \ 164 le \ 165 lge \ 166 libalias \ 167 libiconv \ 168 libmbpool \ 169 libmchain \ 170 ${_lindev} \ 171 ${_linprocfs} \ 172 ${_linsysfs} \ 173 ${_linux} \ 174 lmc \ 175 lpt \ 176 mac_biba \ 177 mac_bsdextended \ 178 mac_ifoff \ 179 mac_lomac \ 180 mac_mls \ 181 mac_none \ 182 mac_partition \ 183 mac_portacl \ 184 mac_seeotheruids \ 185 mac_stub \ 186 mac_test \ 187 malo \ 188 mcd \ 189 md \ 190 mem \ 191 mfi \ 192 mii \ 193 mlx \ 194 ${_mlx4} \ 195 ${_mlx4ib} \ 196 ${_mlxen} \ 197 ${_mly} \ 198 mmc \ 199 mmcsd \ 200 mps \ 201 mpt \ 202 mqueue \ 203 msdosfs \ 204 msdosfs_iconv \ 205 ${_mse} \ 206 msk \ 207 ${_mthca} \ 208 mvs \ 209 mwl \ 210 mwlfw \ 211 mxge \ 212 my \ 213 ${_ncp} \ 214 ${_ncv} \ 215 ${_ndis} \ 216 ${_netgraph} \ 217 ${_nfe} \ 218 nfs_common \ 219 nfscl \ 220 nfsclient \ 221 nfscommon \ 222 nfsd \ 223 nfslock \ 224 nfslockd \ 225 nfsserver \ 226 nfssvc \ 227 nge \ 228 nmdm \ 229 ${_nsp} \ 230 ntfs \ 231 ntfs_iconv \ 232 nullfs \ 233 ${_nve} \ 234 ${_nvram} \ 235 ${_nwfs} \ 236 ${_nxge} \ 237 ${_opensolaris} \ 238 ${_padlock} \ 239 patm \ 240 ${_pccard} \ 241 ${_pcfclock} \ 242 pcn \ 243 ${_pf} \ 244 ${_pflog} \ 245 ${_pfsync} \ 246 plip \ 247 ${_pmc} \ 248 portalfs \ 249 ppbus \ 250 ppc \ 251 ppi \ 252 pps \ 253 procfs \ 254 pseudofs \ 255 ${_pst} \ 256 pty \ 257 puc \ 258 ${_qlxgb} \ 259 ral \ 260 ralfw \ 261 ${_random} \ 262 rc4 \ 263 ${_rdma} \ 264 re \ 265 reiserfs \ 266 rl \ 267 runfw \ 268 ${_s3} \ 269 ${_safe} \ 270 ${_sbni} \ 271 scc \ 272 scd \ 273 ${_scsi_low} \ 274 sdhci \ 275 sem \ 276 send \ 277 sf \ 278 sge \ 279 siba_bwn \ 280 siftr \ 281 siis \ 282 sis \ 283 sk \ 284 ${_smbfs} \ 285 sn \ 286 ${_snc} \ 287 snp \ 288 ${_sound} \ 289 ${_speaker} \ 290 ${_splash} \ 291 ${_sppp} \ 292 ste \ 293 ${_stg} \ 294 stge \ 295 ${_streams} \ 296 ${_svr4} \ 297 ${_sym} \ 298 ${_syscons} \ 299 sysvipc \ 300 ti \ 301 tl \ 302 tmpfs \ 303 ${_tpm} \ 304 trm \ 305 ${_twa} \ 306 twe \ 307 tws \ 308 tx \ 309 txp \ 310 uart \ 311 ubsec \ 312 udf \ 313 udf_iconv \ 314 ufs \ 315 unionfs \ 316 usb \ 317 utopia \ 318 ${_vesa} \ 319 vge \ 320 vkbd \ 321 ${_vpo} \ 322 vr \ 323 vte \ 324 vx \ 325 ${_vxge} \ 326 wb \ 327 ${_wi} \ 328 wlan \ 329 wlan_acl \ 330 wlan_amrr \ 331 wlan_ccmp \ 332 wlan_rssadapt \ 333 wlan_tkip \ 334 wlan_wep \ 335 wlan_xauth \ 336 ${_wpi} \ 337 ${_wpifw} \ 338 ${_x86bios} \ 339 ${_xe} \ 340 xfs \ 341 xl \ 342 ${_zfs} \ 343 zlib \ 344 345.if ${MACHINE_CPUARCH} != "powerpc" && ${MACHINE_CPUARCH} != "arm" && \ 346 ${MACHINE_CPUARCH} != "mips" 347_syscons= syscons 348_vpo= vpo 349.endif 350 351.if ${MACHINE_CPUARCH} != "arm" && ${MACHINE_CPUARCH} != "mips" 352# no BUS_SPACE_UNSPECIFIED 353# No barrier instruction support (specific to this driver) 354_sym= sym 355# intr_disable() is a macro, causes problems 356_cxgb= cxgb 357.endif 358 359.if ${MK_CRYPT} != "no" || defined(ALL_MODULES) 360.if exists(${.CURDIR}/../opencrypto) 361_crypto= crypto 362_cryptodev= cryptodev 363.endif 364.if exists(${.CURDIR}/../crypto) 365_random= random 366.endif 367.endif 368 369.if ${MK_INET_SUPPORT} != "no" || defined(ALL_MODULES) 370_if_gre= if_gre 371.endif 372 373.if (${MK_INET_SUPPORT} != "no" || ${MK_INET6_SUPPORT} != "no") || \ 374 defined(ALL_MODULES) 375_if_carp= if_carp 376.endif 377 378.if ${MK_IPFILTER} != "no" || defined(ALL_MODULES) 379_ipfilter= ipfilter 380.endif 381
|
382.if ${MK_INET_SUPPORT} != "no" || defined(ALL_MODULES) 383_ipfw= ipfw 384.endif 385 |
386.if ${MK_NETGRAPH} != "no" || defined(ALL_MODULES) 387_netgraph= netgraph 388.endif 389 390.if (${MK_PF} != "no" && (${MK_INET_SUPPORT} != "no" || \ 391 ${MK_INET6_SUPPORT} != "no")) || defined(ALL_MODULES) 392_pf= pf 393_pflog= pflog 394.if ${MK_INET_SUPPORT} != "no" 395_pfsync= pfsync 396.endif 397.endif 398 399.if ${MACHINE_CPUARCH} == "i386" 400# XXX some of these can move to the general case when de-i386'ed 401# XXX some of these can move now, but are untested on other architectures. 402_3dfx= 3dfx 403_3dfx_linux= 3dfx_linux 404_agp= agp 405_aic= aic 406_amd= amd 407_an= an 408_aout= aout 409_apm= apm 410_arcnet= arcnet 411_bktr= bktr 412_bxe= bxe 413_cardbus= cardbus 414_cbb= cbb 415_ce= ce 416_coff= coff 417_cp= cp 418_cpuctl= cpuctl 419_cpufreq= cpufreq 420_cs= cs 421.if ${MK_CDDL} != "no" || defined(ALL_MODULES) 422_cyclic= cyclic 423.endif 424_dpms= dpms 425_drm= drm 426.if ${MK_CDDL} != "no" || defined(ALL_MODULES) 427_dtrace= dtrace 428.endif 429_ed= ed 430_elink= elink 431_em= em 432_ep= ep 433_et= et 434_exca= exca 435_ext2fs= ext2fs 436_fe= fe 437_glxiic= glxiic 438_glxsb= glxsb 439_i2c= i2c 440_ibcs2= ibcs2 441_ie= ie 442_if_ndis= if_ndis 443_igb= igb 444_io= io 445_lindev= lindev 446_linprocfs= linprocfs 447_linsysfs= linsysfs 448_linux= linux 449_mse= mse 450.if ${MK_OFED} != "no" || defined(ALL_MODULES) 451_mlx4= mlx4 452_mlx4ib= mlx4ib 453_mlxen= mlxen 454_mthca= mthca 455.endif 456.if ${MK_NCP} != "no" 457_ncp= ncp 458.endif 459_ncv= ncv 460_ndis= ndis 461_nsp= nsp 462.if ${MK_NCP} != "no" 463_nwfs= nwfs 464.endif 465.if ${MK_CDDL} != "no" || defined(ALL_MODULES) 466_opensolaris= opensolaris 467.endif 468_pccard= pccard 469_pcfclock= pcfclock 470_pst= pst 471_rdma= rdma 472_safe= safe 473_sbni= sbni 474_scsi_low= scsi_low 475_smbfs= smbfs 476_sound= sound 477_speaker= speaker 478_splash= splash 479_sppp= sppp 480_stg= stg 481_streams= streams 482_svr4= svr4 483_vxge= vxge 484_wi= wi 485_xe= xe 486.if ${MK_ZFS} != "no" || defined(ALL_MODULES) 487_zfs= zfs 488.endif 489.if ${MACHINE} == "i386" 490_aac= aac 491_acpi= acpi 492.if ${MK_CRYPT} != "no" || defined(ALL_MODULES) 493_aesni= aesni 494.endif 495_ahb= ahb 496_amdsbwd= amdsbwd 497_amdtemp= amdtemp 498_arcmsr= arcmsr 499_asmc= asmc 500_asr= asr 501_bios= bios 502_ciss= ciss 503_cm= cm 504_cmx= cmx 505_coretemp= coretemp 506_ctau= ctau 507_dpt= dpt 508_ex= ex 509_hptiop= hptiop 510_hptmv= hptmv 511_hptrr= hptrr 512_ichwd= ichwd 513_ida= ida 514_iir= iir 515_ipmi= ipmi 516_ips= ips 517_ipw= ipw 518_ipwfw= ipwfw 519_iwi= iwi 520_iwifw= iwifw 521_iwn= iwn 522_iwnfw= iwnfw 523_ixgb= ixgb 524_ixgbe= ixgbe 525_mly= mly 526_nfe= nfe 527_nve= nve 528_nvram= nvram 529_nxge= nxge 530_tpm= tpm 531_wpi= wpi 532_wpifw= wpifw 533.if ${MK_CRYPT} != "no" || defined(ALL_MODULES) 534_padlock= padlock 535.endif 536_s3= s3 537_twa= twa 538_vesa= vesa 539_x86bios= x86bios 540.elif ${MACHINE} == "pc98" 541_canbepm= canbepm 542_canbus= canbus 543_pmc= pmc 544_snc= snc 545.endif 546.endif 547 548.if ${MACHINE_CPUARCH} == "amd64" 549_aac= aac 550_aout= aout 551_acpi= acpi 552.if ${MK_CRYPT} != "no" || defined(ALL_MODULES) 553_aesni= aesni 554.endif 555_agp= agp 556_an= an 557_amdsbwd= amdsbwd 558_amdtemp= amdtemp 559_arcmsr= arcmsr 560_asmc= asmc 561_bxe= bxe 562_cardbus= cardbus 563_cbb= cbb 564_cmx= cmx 565_ciss= ciss 566_coretemp= coretemp 567_cpuctl= cpuctl 568_cpufreq= cpufreq 569.if ${MK_CDDL} != "no" || defined(ALL_MODULES) 570_cyclic= cyclic 571.endif 572_dpms= dpms 573_drm= drm 574.if ${MK_CDDL} != "no" || defined(ALL_MODULES) 575_dtrace= dtrace 576.endif 577_ed= ed 578_et= et 579_em= em 580_exca= exca 581_ext2fs= ext2fs 582_hptiop= hptiop 583_hptmv= hptmv 584_hptrr= hptrr 585_i2c= i2c 586_ichwd= ichwd 587_ida= ida 588_if_ndis= if_ndis 589_igb= igb 590_iir= iir 591_io= io 592_ipmi= ipmi 593_ips= ips 594_ipw= ipw 595_ipwfw= ipwfw 596_iwi= iwi 597_iwifw= iwifw 598_iwn= iwn 599_iwnfw= iwnfw 600_ixgb= ixgb 601_ixgbe= ixgbe 602_lindev= lindev 603_linprocfs= linprocfs 604_linsysfs= linsysfs 605_linux= linux 606_mly= mly 607.if ${MK_OFED} != "no" || defined(ALL_MODULES) 608_mlx4= mlx4 609_mlx4ib= mlx4ib 610_mlxen= mlxen 611_mthca= mthca 612.endif 613_ndis= ndis 614_nfe= nfe 615_nve= nve 616_nvram= nvram 617_nxge= nxge 618.if ${MK_CDDL} != "no" || defined(ALL_MODULES) 619_opensolaris= opensolaris 620.endif 621.if ${MK_CRYPT} != "no" || defined(ALL_MODULES) 622_padlock= padlock 623.endif 624_pccard= pccard 625_qlxgb= qlxgb 626_rdma= rdma 627_s3= s3 628_safe= safe 629_scsi_low= scsi_low 630_smbfs= smbfs 631_sound= sound 632_speaker= speaker 633_splash= splash 634_sppp= sppp 635_tpm= tpm 636_twa= twa 637_vesa= vesa 638_vxge= vxge 639_x86bios= x86bios 640_wi= wi 641_wpi= wpi 642_wpifw= wpifw 643.if ${MK_ZFS} != "no" || defined(ALL_MODULES) 644_zfs= zfs 645.endif 646.endif 647 648.if ${MACHINE_CPUARCH} == "ia64" 649_aac= aac 650_aic= aic 651_an= an 652_arcnet= arcnet 653_asr= asr 654_bktr= bktr 655_cardbus= cardbus 656_cbb= cbb 657_ciss= ciss 658_cm= cm 659_cmx= cmx 660_coff= coff 661_cpufreq= cpufreq 662_dpt= dpt 663_em= em 664_ep= ep 665_et= et 666_exca= exca 667_fe= fe 668_hptiop= hptiop 669_ida= ida 670_igb= igb 671_iir= iir 672_ips= ips 673_mly= mly 674_pccard= pccard 675_scsi_low= scsi_low 676_smbfs= smbfs 677_sound= sound 678_splash= splash 679_sppp= sppp 680_streams= streams 681_tpm= tpm 682_twa= twa 683_wi= wi 684_xe= xe 685.endif 686 687.if ${MACHINE_CPUARCH} == "powerpc" 688_agp= agp 689_an= an 690_bm= bm 691_cpufreq= cpufreq 692_nvram= powermac_nvram 693_smbfs= smbfs 694_sound= sound 695.endif 696 697.if ${MACHINE_ARCH} == "powerpc64" 698.if ${MK_CDDL} != "no" || defined(ALL_MODULES) 699_opensolaris= opensolaris 700.endif 701.if ${MK_ZFS} != "no" || defined(ALL_MODULES) 702_zfs= zfs 703.endif 704.endif 705 706.if ${MACHINE_CPUARCH} == "sparc64" 707_auxio= auxio 708_em= em 709_epic= epic 710_i2c= i2c 711_igb= igb 712.if ${MK_CDDL} != "no" || defined(ALL_MODULES) 713_opensolaris= opensolaris 714.endif 715_smbfs= smbfs 716_sound= sound 717.if ${MK_ZFS} != "no" || defined(ALL_MODULES) 718_zfs= zfs 719.endif 720.endif 721 722.if defined(MODULES_OVERRIDE) && !defined(ALL_MODULES) 723SUBDIR=${MODULES_OVERRIDE} 724.endif 725 726.for reject in ${WITHOUT_MODULES} 727SUBDIR:= ${SUBDIR:N${reject}} 728.endfor 729 730# Calling kldxref(8) for each module is expensive. 731.if !defined(NO_XREF) 732.MAKEFLAGS+= -DNO_XREF 733afterinstall: 734 @if type kldxref >/dev/null 2>&1; then \ 735 ${ECHO} kldxref ${DESTDIR}${KMODDIR}; \ 736 kldxref ${DESTDIR}${KMODDIR}; \ 737 fi 738.endif 739 740.include <bsd.subdir.mk>
|