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