Makefile revision 265936
1227825Stheraven# $FreeBSD: stable/10/sys/modules/Makefile 265936 2014-05-12 22:15:57Z ian $ 2227825Stheraven 3227825Stheraven.include <bsd.own.mk> 4227825Stheraven 5227825StheravenSUBDIR_PARALLEL= 6227825Stheraven 7227825Stheraven# Modules that include binary-only blobs of microcode should be selectable by 8227825Stheraven# MK_SOURCELESS_UCODE option (see below). 9227825Stheraven 10227825StheravenSUBDIR= \ 11227825Stheraven ${_3dfx} \ 12227825Stheraven ${_3dfx_linux} \ 13227825Stheraven ${_aac} \ 14227825Stheraven ${_aacraid} \ 15227825Stheraven accf_data \ 16227825Stheraven accf_dns \ 17227825Stheraven accf_http \ 18227825Stheraven acl_nfs4 \ 19227825Stheraven acl_posix1e \ 20227825Stheraven ${_acpi} \ 21227825Stheraven ae \ 22227825Stheraven ${_aesni} \ 23227825Stheraven age \ 24227825Stheraven ${_agp} \ 25227825Stheraven aha \ 26227825Stheraven ${_ahb} \ 27227825Stheraven ahci \ 28227825Stheraven ${_aic} \ 29227825Stheraven aic7xxx \ 30227825Stheraven aio \ 31227825Stheraven alc \ 32227825Stheraven ale \ 33227825Stheraven alq \ 34227825Stheraven ${_amdsbwd} \ 35227825Stheraven ${_amdtemp} \ 36227825Stheraven amr \ 37227825Stheraven ${_an} \ 38227825Stheraven ${_aout} \ 39227825Stheraven ${_apm} \ 40227825Stheraven ${_arcmsr} \ 41227825Stheraven ${_arcnet} \ 42227825Stheraven ${_asmc} \ 43227825Stheraven ${_asr} \ 44227825Stheraven ata \ 45227825Stheraven ath \ 46227825Stheraven ath_pci \ 47227825Stheraven ${_auxio} \ 48227825Stheraven ${_bce} \ 49249998Sdim bfe \ 50249998Sdim bge \ 51249998Sdim ${_bxe} \ 52249998Sdim ${_bios} \ 53249998Sdim ${_bktr} \ 54249998Sdim ${_bm} \ 55249998Sdim bridgestp \ 56249998Sdim bwi \ 57227825Stheraven bwn \ 58227825Stheraven cam \ 59227825Stheraven ${_canbepm} \ 60227825Stheraven ${_canbus} \ 61 ${_cardbus} \ 62 ${_carp} \ 63 cas \ 64 ${_cbb} \ 65 cc \ 66 cd9660 \ 67 cd9660_iconv \ 68 ${_ce} \ 69 ${_cfi} \ 70 ${_ciss} \ 71 ${_cm} \ 72 ${_cmx} \ 73 ${_coff} \ 74 ${_coretemp} \ 75 ${_cp} \ 76 ${_cpsw} \ 77 ${_cpuctl} \ 78 ${_cpufreq} \ 79 ${_crypto} \ 80 ${_cryptodev} \ 81 ${_cs} \ 82 ${_ct} \ 83 ${_ctau} \ 84 ctl \ 85 ${_cxgb} \ 86 ${_cxgbe} \ 87 ${_cyclic} \ 88 dc \ 89 dcons \ 90 dcons_crom \ 91 de \ 92 ${_dpms} \ 93 ${_dpt} \ 94 ${_drm} \ 95 ${_drm2} \ 96 ${_dtrace} \ 97 dummynet \ 98 ${_ed} \ 99 ${_elink} \ 100 ${_em} \ 101 en \ 102 ${_ep} \ 103 ${_epic} \ 104 esp \ 105 ${_et} \ 106 ${_ex} \ 107 ${_exca} \ 108 ${_ext2fs} \ 109 ${_fatm} \ 110 fdc \ 111 fdescfs \ 112 ${_fe} \ 113 ${_filemon} \ 114 firewire \ 115 firmware \ 116 fuse \ 117 ${_fxp} \ 118 gem \ 119 geom \ 120 ${_glxiic} \ 121 ${_glxsb} \ 122 hatm \ 123 hifn \ 124 hme \ 125 ${_hpt27xx} \ 126 ${_hptiop} \ 127 ${_hptmv} \ 128 ${_hptnr} \ 129 ${_hptrr} \ 130 hwpmc \ 131 ${_hyperv} \ 132 ${_i2c} \ 133 ${_ibcore} \ 134 ${_ibcs2} \ 135 ${_ichwd} \ 136 ${_ida} \ 137 ${_ie} \ 138 if_bridge \ 139 if_disc \ 140 if_edsc \ 141 if_ef \ 142 if_epair \ 143 if_faith \ 144 if_gif \ 145 ${_if_gre} \ 146 if_lagg \ 147 ${_if_ndis} \ 148 if_stf \ 149 if_tap \ 150 if_tun \ 151 if_vlan \ 152 ${_igb} \ 153 ${_iir} \ 154 ${_io} \ 155 ${_ipoib} \ 156 ${_ipdivert} \ 157 ${_ipfilter} \ 158 ${_ipfw} \ 159 ipfw_nat \ 160 ${_ipmi} \ 161 ip6_mroute_mod \ 162 ip_mroute_mod \ 163 ${_ips} \ 164 ${_ipw} \ 165 ${_ipwfw} \ 166 ${_isci} \ 167 iscsi \ 168 iscsi_initiator \ 169 isp \ 170 ${_ispfw} \ 171 ${_iwi} \ 172 ${_iwifw} \ 173 ${_iwn} \ 174 ${_iwnfw} \ 175 ${_ixgb} \ 176 ${_ixgbe} \ 177 jme \ 178 joy \ 179 kbdmux \ 180 kgssapi \ 181 kgssapi_krb5 \ 182 khelp \ 183 krpc \ 184 ksyms \ 185 le \ 186 lge \ 187 libalias \ 188 libiconv \ 189 libmbpool \ 190 libmchain \ 191 ${_lindev} \ 192 ${_linprocfs} \ 193 ${_linsysfs} \ 194 ${_linux} \ 195 lmc \ 196 lpt \ 197 mac_biba \ 198 mac_bsdextended \ 199 mac_ifoff \ 200 mac_lomac \ 201 mac_mls \ 202 mac_none \ 203 mac_partition \ 204 mac_portacl \ 205 mac_seeotheruids \ 206 mac_stub \ 207 mac_test \ 208 malo \ 209 mcd \ 210 md \ 211 mem \ 212 mfi \ 213 mii \ 214 mlx \ 215 ${_mlx4} \ 216 ${_mlx4ib} \ 217 ${_mlxen} \ 218 ${_mly} \ 219 mmc \ 220 mmcsd \ 221 mpr \ 222 mps \ 223 mpt \ 224 mqueue \ 225 mrsas \ 226 msdosfs \ 227 msdosfs_iconv \ 228 ${_mse} \ 229 msk \ 230 ${_mthca} \ 231 mvs \ 232 mwl \ 233 ${_mwlfw} \ 234 mxge \ 235 my \ 236 ${_nandfs} \ 237 ${_nandsim} \ 238 ${_ncp} \ 239 ${_ncv} \ 240 ${_ndis} \ 241 ${_netgraph} \ 242 ${_nfe} \ 243 nfs_common \ 244 nfscl \ 245 nfsclient \ 246 nfscommon \ 247 nfsd \ 248 nfslock \ 249 nfslockd \ 250 nfsserver \ 251 nfssvc \ 252 nge \ 253 nmdm \ 254 ${_nsp} \ 255 nullfs \ 256 ${_ntb} \ 257 ${_nvd} \ 258 ${_nve} \ 259 ${_nvme} \ 260 ${_nvram} \ 261 ${_nxge} \ 262 ${_opensolaris} \ 263 oce \ 264 ${_padlock} \ 265 patm \ 266 ${_pccard} \ 267 ${_pcfclock} \ 268 pcn \ 269 ${_pf} \ 270 ${_pflog} \ 271 ${_pfsync} \ 272 plip \ 273 ${_pmc} \ 274 ppbus \ 275 ppc \ 276 ppi \ 277 pps \ 278 procfs \ 279 pseudofs \ 280 ${_pst} \ 281 pty \ 282 puc \ 283 ${_qlxge} \ 284 ${_qlxgb} \ 285 ${_qlxgbe} \ 286 ral \ 287 ${_ralfw} \ 288 ${_random} \ 289 rc4 \ 290 ${_rdma} \ 291 re \ 292 reiserfs \ 293 rl \ 294 ${_s3} \ 295 ${_safe} \ 296 ${_sbni} \ 297 scc \ 298 scd \ 299 ${_scsi_low} \ 300 sdhci \ 301 sdhci_pci \ 302 sem \ 303 send \ 304 ${_sf} \ 305 ${_sfxge} \ 306 sge \ 307 siba_bwn \ 308 siftr \ 309 siis \ 310 sis \ 311 sk \ 312 ${_smbfs} \ 313 ${_sn} \ 314 ${_snc} \ 315 snp \ 316 ${_sound} \ 317 ${_speaker} \ 318 ${_splash} \ 319 ${_sppp} \ 320 ste \ 321 ${_stg} \ 322 stge \ 323 ${_streams} \ 324 ${_svr4} \ 325 ${_sym} \ 326 ${_syscons} \ 327 sysvipc \ 328 ${_ti} \ 329 tl \ 330 tmpfs \ 331 ${_toecore} \ 332 ${_tpm} \ 333 trm \ 334 ${_twa} \ 335 twe \ 336 tws \ 337 tx \ 338 ${_txp} \ 339 uart \ 340 ubsec \ 341 udf \ 342 udf_iconv \ 343 ufs \ 344 unionfs \ 345 usb \ 346 utopia \ 347 ${_vesa} \ 348 ${_virtio} \ 349 vge \ 350 ${_viawd} \ 351 vkbd \ 352 ${_vmm} \ 353 ${_vmware} \ 354 ${_vpo} \ 355 vr \ 356 vte \ 357 vx \ 358 ${_vxge} \ 359 wb \ 360 ${_wbwd} \ 361 ${_wi} \ 362 wlan \ 363 wlan_acl \ 364 wlan_amrr \ 365 wlan_ccmp \ 366 wlan_rssadapt \ 367 wlan_tkip \ 368 wlan_wep \ 369 wlan_xauth \ 370 ${_wpi} \ 371 ${_wpifw} \ 372 ${_x86bios} \ 373 ${_xe} \ 374 xl \ 375 ${_zfs} \ 376 zlib \ 377 378.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64" 379_filemon= filemon 380_vmware= vmware 381.endif 382 383.if ${MACHINE_CPUARCH} != "powerpc" && ${MACHINE_CPUARCH} != "arm" && \ 384 ${MACHINE_CPUARCH} != "mips" 385_syscons= syscons 386_vpo= vpo 387.endif 388 389.if ${MACHINE_CPUARCH} != "arm" && ${MACHINE_CPUARCH} != "mips" 390# no BUS_SPACE_UNSPECIFIED 391# No barrier instruction support (specific to this driver) 392_sym= sym 393# intr_disable() is a macro, causes problems 394.if ${MK_SOURCELESS_UCODE} != "no" 395_cxgb= cxgb 396.endif 397.endif 398 399.if ${MK_SOURCELESS_UCODE} != "no" 400_cxgbe= cxgbe 401.endif 402 403.if ${MK_CRYPT} != "no" || defined(ALL_MODULES) 404.if exists(${.CURDIR}/../opencrypto) 405_crypto= crypto 406_cryptodev= cryptodev 407.endif 408.if exists(${.CURDIR}/../crypto) 409_random= random 410.endif 411.endif 412 413.if (${MK_INET_SUPPORT} != "no" || ${MK_INET6_SUPPORT} != "no") || \ 414 defined(ALL_MODULES) 415_carp= carp 416_toecore= toecore 417.endif 418 419.if ${MK_INET_SUPPORT} != "no" || defined(ALL_MODULES) 420_if_gre= if_gre 421.endif 422 423.if ${MK_IPFILTER} != "no" || defined(ALL_MODULES) 424_ipfilter= ipfilter 425.endif 426 427.if ${MK_INET_SUPPORT} != "no" || defined(ALL_MODULES) 428_ipdivert= ipdivert 429_ipfw= ipfw 430.endif 431 432.if ${MK_NAND} != "no" || defined(ALL_MODULES) 433_nandfs= nandfs 434_nandsim= nandsim 435.endif 436 437.if ${MK_NETGRAPH} != "no" || defined(ALL_MODULES) 438_netgraph= netgraph 439.endif 440 441.if (${MK_PF} != "no" && (${MK_INET_SUPPORT} != "no" || \ 442 ${MK_INET6_SUPPORT} != "no")) || defined(ALL_MODULES) 443_pf= pf 444_pflog= pflog 445.if ${MK_INET_SUPPORT} != "no" 446_pfsync= pfsync 447.endif 448.endif 449 450.if ${MK_SOURCELESS_UCODE} != "no" 451_bce= bce 452_fatm= fatm 453_fxp= fxp 454_ispfw= ispfw 455_mwlfw= mwlfw 456_ralfw= ralfw 457_sf= sf 458_sn= sn 459_ti= ti 460_txp= txp 461.endif 462 463.if ${MACHINE_CPUARCH} == "i386" 464# XXX some of these can move to the general case when de-i386'ed 465# XXX some of these can move now, but are untested on other architectures. 466_3dfx= 3dfx 467_3dfx_linux= 3dfx_linux 468_agp= agp 469_aic= aic 470_an= an 471_aout= aout 472_apm= apm 473_arcnet= arcnet 474_bktr= bktr 475_bxe= bxe 476_cardbus= cardbus 477_cbb= cbb 478.if ${MK_SOURCELESS_UCODE} != "no" 479_ce= ce 480.endif 481_coff= coff 482.if ${MK_SOURCELESS_UCODE} != "no" 483_cp= cp 484.endif 485_cpuctl= cpuctl 486_cpufreq= cpufreq 487_cs= cs 488.if ${MK_CDDL} != "no" || defined(ALL_MODULES) 489_cyclic= cyclic 490.endif 491_dpms= dpms 492_drm= drm 493_drm2= drm2 494.if ${MK_CDDL} != "no" || defined(ALL_MODULES) 495_dtrace= dtrace 496.endif 497_ed= ed 498_elink= elink 499_em= em 500_ep= ep 501_et= et 502_exca= exca 503_ext2fs= ext2fs 504_fe= fe 505_glxiic= glxiic 506_glxsb= glxsb 507_i2c= i2c 508.if ${MK_OFED} != "no" || defined(ALL_MODULES) 509_ibcore= ibcore 510.endif 511_ibcs2= ibcs2 512_ie= ie 513_if_ndis= if_ndis 514_igb= igb 515_io= io 516.if ${MK_OFED} != "no" || defined(ALL_MODULES) 517_ipoib= ipoib 518.endif 519_lindev= lindev 520_linprocfs= linprocfs 521_linsysfs= linsysfs 522_linux= linux 523_mse= mse 524.if ${MK_OFED} != "no" || defined(ALL_MODULES) 525_mlx4= mlx4 526_mlx4ib= mlx4ib 527_mlxen= mlxen 528_mthca= mthca 529.endif 530_ncv= ncv 531_ndis= ndis 532_nsp= nsp 533.if ${MK_CDDL} != "no" || defined(ALL_MODULES) 534_opensolaris= opensolaris 535.endif 536_pccard= pccard 537_pcfclock= pcfclock 538_pst= pst 539_rdma= rdma 540_safe= safe 541_sbni= sbni 542_scsi_low= scsi_low 543_smbfs= smbfs 544_sound= sound 545_speaker= speaker 546_splash= splash 547_sppp= sppp 548_stg= stg 549_streams= streams 550_svr4= svr4 551_vxge= vxge 552_wbwd= wbwd 553_wi= wi 554_xe= xe 555.if ${MK_ZFS} != "no" || defined(ALL_MODULES) 556_zfs= zfs 557.endif 558.if ${MACHINE} == "i386" 559_aac= aac 560_aacraid= aacraid 561_acpi= acpi 562.if ${MK_CRYPT} != "no" || defined(ALL_MODULES) 563_aesni= aesni 564.endif 565_ahb= ahb 566_amdsbwd= amdsbwd 567_amdtemp= amdtemp 568_arcmsr= arcmsr 569_asmc= asmc 570_asr= asr 571_bios= bios 572_ciss= ciss 573_cm= cm 574_cmx= cmx 575_coretemp= coretemp 576.if ${MK_SOURCELESS_UCODE} != "no" 577_ctau= ctau 578.endif 579_dpt= dpt 580_ex= ex 581.if ${MK_SOURCELESS_HOST} != "no" 582_hpt27xx= hpt27xx 583.endif 584_hptiop= hptiop 585.if ${MK_SOURCELESS_HOST} != "no" 586_hptmv= hptmv 587_hptnr= hptnr 588_hptrr= hptrr 589.endif 590_hyperv= hyperv 591_ichwd= ichwd 592_ida= ida 593_iir= iir 594_ipmi= ipmi 595_ips= ips 596_ipw= ipw 597.if ${MK_SOURCELESS_UCODE} != "no" 598_ipwfw= ipwfw 599.endif 600_isci= isci 601_iwi= iwi 602.if ${MK_SOURCELESS_UCODE} != "no" 603_iwifw= iwifw 604.endif 605_iwn= iwn 606.if ${MK_SOURCELESS_UCODE} != "no" 607_iwnfw= iwnfw 608.endif 609_ixgb= ixgb 610_ixgbe= ixgbe 611_mly= mly 612_nfe= nfe 613_nvd= nvd 614.if ${MK_SOURCELESS_HOST} != "no" 615_nve= nve 616.endif 617_nvme= nvme 618_nvram= nvram 619_nxge= nxge 620_tpm= tpm 621_viawd= viawd 622_wpi= wpi 623.if ${MK_SOURCELESS_UCODE} != "no" 624_wpifw= wpifw 625.endif 626.if ${MK_CRYPT} != "no" || defined(ALL_MODULES) 627_padlock= padlock 628.endif 629_s3= s3 630_twa= twa 631_vesa= vesa 632_virtio= virtio 633_x86bios= x86bios 634.elif ${MACHINE} == "pc98" 635_canbepm= canbepm 636_canbus= canbus 637_ct= ct 638_pmc= pmc 639_snc= snc 640.endif 641.endif 642 643.if ${MACHINE_CPUARCH} == "amd64" 644_aac= aac 645_aacraid= aacraid 646_aout= aout 647_acpi= acpi 648.if ${MK_CRYPT} != "no" || defined(ALL_MODULES) 649_aesni= aesni 650.endif 651_agp= agp 652_an= an 653_amdsbwd= amdsbwd 654_amdtemp= amdtemp 655_arcmsr= arcmsr 656_asmc= asmc 657_bktr= bktr 658_bxe= bxe 659_cardbus= cardbus 660_cbb= cbb 661_cmx= cmx 662_ciss= ciss 663_coretemp= coretemp 664_cpuctl= cpuctl 665_cpufreq= cpufreq 666.if ${MK_CDDL} != "no" || defined(ALL_MODULES) 667_cyclic= cyclic 668.endif 669_dpms= dpms 670_drm= drm 671_drm2= drm2 672.if ${MK_CDDL} != "no" || defined(ALL_MODULES) 673_dtrace= dtrace 674.endif 675_ed= ed 676_et= et 677_em= em 678_exca= exca 679_ext2fs= ext2fs 680.if ${MK_SOURCELESS_HOST} != "no" 681_hpt27xx= hpt27xx 682.endif 683_hptiop= hptiop 684.if ${MK_SOURCELESS_HOST} != "no" 685_hptmv= hptmv 686_hptnr= hptnr 687_hptrr= hptrr 688.endif 689_hyperv= hyperv 690_i2c= i2c 691.if ${MK_OFED} != "no" || defined(ALL_MODULES) 692_ibcore= ibcore 693.endif 694_ichwd= ichwd 695_ida= ida 696_if_ndis= if_ndis 697_igb= igb 698_iir= iir 699_io= io 700_ipmi= ipmi 701.if ${MK_OFED} != "no" || defined(ALL_MODULES) 702_ipoib= ipoib 703.endif 704_ips= ips 705_ipw= ipw 706.if ${MK_SOURCELESS_UCODE} != "no" 707_ipwfw= ipwfw 708.endif 709_isci= isci 710_iwi= iwi 711.if ${MK_SOURCELESS_UCODE} != "no" 712_iwifw= iwifw 713.endif 714_iwn= iwn 715.if ${MK_SOURCELESS_UCODE} != "no" 716_iwnfw= iwnfw 717.endif 718_ixgb= ixgb 719_ixgbe= ixgbe 720_lindev= lindev 721_linprocfs= linprocfs 722_linsysfs= linsysfs 723_linux= linux 724_mly= mly 725.if ${MK_OFED} != "no" || defined(ALL_MODULES) 726_mlx4= mlx4 727_mlx4ib= mlx4ib 728_mlxen= mlxen 729_mthca= mthca 730.endif 731_ndis= ndis 732_nfe= nfe 733_ntb= ntb 734_nvd= nvd 735.if ${MK_SOURCELESS_HOST} != "no" 736_nve= nve 737.endif 738_nvme= nvme 739_nvram= nvram 740_nxge= nxge 741.if ${MK_CDDL} != "no" || defined(ALL_MODULES) 742_opensolaris= opensolaris 743.endif 744.if ${MK_CRYPT} != "no" || defined(ALL_MODULES) 745_padlock= padlock 746.endif 747_pccard= pccard 748_qlxge= qlxge 749_qlxgb= qlxgb 750_qlxgbe= qlxgbe 751_rdma= rdma 752_s3= s3 753_safe= safe 754_scsi_low= scsi_low 755_sfxge= sfxge 756_smbfs= smbfs 757_sound= sound 758_speaker= speaker 759_splash= splash 760_sppp= sppp 761_tpm= tpm 762_twa= twa 763_vesa= vesa 764_viawd= viawd 765_virtio= virtio 766_vmm= vmm 767_vxge= vxge 768_x86bios= x86bios 769_wbwd= wbwd 770_wi= wi 771_wpi= wpi 772.if ${MK_SOURCELESS_UCODE} != "no" 773_wpifw= wpifw 774.endif 775.if ${MK_ZFS} != "no" || defined(ALL_MODULES) 776_zfs= zfs 777.endif 778.endif 779 780.if ${MACHINE_CPUARCH} == "arm" 781_cfi= cfi 782_cpsw= cpsw 783.endif 784 785.if ${MACHINE_CPUARCH} == "ia64" 786_aac= aac 787_aacraid= aacraid 788_aic= aic 789_an= an 790_arcnet= arcnet 791_asr= asr 792_bktr= bktr 793_cardbus= cardbus 794_cbb= cbb 795_ciss= ciss 796_cm= cm 797_cmx= cmx 798_coff= coff 799_cpufreq= cpufreq 800_dpt= dpt 801_em= em 802_ep= ep 803_et= et 804_exca= exca 805_fe= fe 806_hptiop= hptiop 807_ida= ida 808_igb= igb 809_iir= iir 810_ips= ips 811_mly= mly 812_pccard= pccard 813_scsi_low= scsi_low 814_smbfs= smbfs 815_sound= sound 816_splash= splash 817_sppp= sppp 818_streams= streams 819_tpm= tpm 820_twa= twa 821_wi= wi 822_xe= xe 823.endif 824 825.if ${MACHINE_CPUARCH} == "powerpc" 826_agp= agp 827_an= an 828_bm= bm 829_cardbus= cardbus 830_cbb= cbb 831_cfi= cfi 832_cpufreq= cpufreq 833.if ${MK_CDDL} != "no" || defined(ALL_MODULES) 834_cyclic= cyclic 835.endif 836_drm= drm 837.if ${MK_CDDL} != "no" || defined(ALL_MODULES) 838_dtrace= dtrace 839.endif 840_exca= exca 841_nvram= powermac_nvram 842_pccard= pccard 843_smbfs= smbfs 844_sound= sound 845.if ${MK_CDDL} != "no" || defined(ALL_MODULES) 846_opensolaris= opensolaris 847.endif 848_wi= wi 849.endif 850 851.if ${MACHINE_ARCH} == "powerpc64" 852.if ${MK_ZFS} != "no" || defined(ALL_MODULES) 853_zfs= zfs 854.endif 855.endif 856 857.if ${MACHINE_CPUARCH} == "sparc64" 858_auxio= auxio 859_em= em 860_epic= epic 861_i2c= i2c 862_igb= igb 863.if ${MK_CDDL} != "no" || defined(ALL_MODULES) 864_opensolaris= opensolaris 865.endif 866_smbfs= smbfs 867_sound= sound 868.if ${MK_ZFS} != "no" || defined(ALL_MODULES) 869_zfs= zfs 870.endif 871.endif 872 873.if defined(MODULES_OVERRIDE) && !defined(ALL_MODULES) 874SUBDIR=${MODULES_OVERRIDE} 875.endif 876 877.for reject in ${WITHOUT_MODULES} 878SUBDIR:= ${SUBDIR:N${reject}} 879.endfor 880 881# Calling kldxref(8) for each module is expensive. 882.if !defined(NO_XREF) 883.MAKEFLAGS+= -DNO_XREF 884afterinstall: 885 @if type kldxref >/dev/null 2>&1; then \ 886 ${ECHO} kldxref ${DESTDIR}${KMODDIR}; \ 887 kldxref ${DESTDIR}${KMODDIR}; \ 888 fi 889.endif 890 891.include <bsd.subdir.mk> 892