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