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