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