Makefile revision 284052
1# $FreeBSD: stable/10/sys/modules/Makefile 284052 2015-06-06 09:28:40Z np $ 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 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 ${_imgact_binmisc} \ 155 ${_io} \ 156 ${_ipoib} \ 157 ${_ipdivert} \ 158 ${_ipfilter} \ 159 ${_ipfw} \ 160 ipfw_nat \ 161 ${_ipmi} \ 162 ip6_mroute_mod \ 163 ip_mroute_mod \ 164 ${_ips} \ 165 ${_ipw} \ 166 ${_ipwfw} \ 167 ${_isci} \ 168 isp \ 169 ${_ispfw} \ 170 ${_iwi} \ 171 ${_iwifw} \ 172 ${_iwn} \ 173 ${_iwnfw} \ 174 ${_ix} \ 175 ${_ixv} \ 176 ${_ixgb} \ 177 ${_ixgbe} \ 178 ${_ixl} \ 179 ${_ixlv} \ 180 jme \ 181 joy \ 182 kbdmux \ 183 kgssapi \ 184 kgssapi_krb5 \ 185 khelp \ 186 krpc \ 187 ksyms \ 188 le \ 189 lge \ 190 libalias \ 191 libiconv \ 192 libmbpool \ 193 libmchain \ 194 ${_lindev} \ 195 ${_linprocfs} \ 196 ${_linsysfs} \ 197 ${_linux} \ 198 lmc \ 199 lpt \ 200 mac_biba \ 201 mac_bsdextended \ 202 mac_ifoff \ 203 mac_lomac \ 204 mac_mls \ 205 mac_none \ 206 mac_partition \ 207 mac_portacl \ 208 mac_seeotheruids \ 209 mac_stub \ 210 mac_test \ 211 malo \ 212 mcd \ 213 md \ 214 mem \ 215 mfi \ 216 mii \ 217 mlx \ 218 ${_mlx4} \ 219 ${_mlx4ib} \ 220 ${_mlxen} \ 221 ${_mly} \ 222 mmc \ 223 mmcsd \ 224 mpr \ 225 mps \ 226 mpt \ 227 mqueue \ 228 mrsas \ 229 msdosfs \ 230 msdosfs_iconv \ 231 ${_mse} \ 232 msk \ 233 ${_mthca} \ 234 mvs \ 235 mwl \ 236 ${_mwlfw} \ 237 mxge \ 238 my \ 239 ${_nandfs} \ 240 ${_nandsim} \ 241 ${_ncp} \ 242 ${_ncv} \ 243 ${_ndis} \ 244 netfpga10g \ 245 ${_netgraph} \ 246 ${_nfe} \ 247 nfs_common \ 248 nfscl \ 249 nfsclient \ 250 nfscommon \ 251 nfsd \ 252 nfslock \ 253 nfslockd \ 254 nfsserver \ 255 nfssvc \ 256 nge \ 257 nmdm \ 258 ${_nsp} \ 259 nullfs \ 260 ${_ntb} \ 261 ${_nvd} \ 262 ${_nve} \ 263 ${_nvme} \ 264 ${_nvram} \ 265 ${_nxge} \ 266 ${_opensolaris} \ 267 oce \ 268 ${_padlock} \ 269 patm \ 270 ${_pccard} \ 271 ${_pcfclock} \ 272 pcn \ 273 ${_pf} \ 274 ${_pflog} \ 275 ${_pfsync} \ 276 plip \ 277 ${_pmc} \ 278 ppbus \ 279 ppc \ 280 ppi \ 281 pps \ 282 procfs \ 283 pseudofs \ 284 ${_pst} \ 285 pty \ 286 puc \ 287 ${_qlxge} \ 288 ${_qlxgb} \ 289 ${_qlxgbe} \ 290 ral \ 291 ${_ralfw} \ 292 ${_random} \ 293 rc4 \ 294 ${_rdma} \ 295 re \ 296 reiserfs \ 297 rl \ 298 ${_s3} \ 299 ${_safe} \ 300 ${_sbni} \ 301 scc \ 302 scd \ 303 ${_scsi_low} \ 304 sdhci \ 305 sdhci_pci \ 306 sem \ 307 send \ 308 ${_sf} \ 309 ${_sfxge} \ 310 sge \ 311 siba_bwn \ 312 siftr \ 313 siis \ 314 sis \ 315 sk \ 316 ${_smbfs} \ 317 ${_sn} \ 318 ${_snc} \ 319 snp \ 320 ${_sound} \ 321 ${_speaker} \ 322 ${_splash} \ 323 ${_sppp} \ 324 ste \ 325 ${_stg} \ 326 stge \ 327 ${_streams} \ 328 ${_svr4} \ 329 ${_sym} \ 330 ${_syscons} \ 331 sysvipc \ 332 ${_ti} \ 333 tl \ 334 tmpfs \ 335 ${_toecore} \ 336 ${_tpm} \ 337 trm \ 338 ${_twa} \ 339 twe \ 340 tws \ 341 tx \ 342 ${_txp} \ 343 uart \ 344 ubsec \ 345 udf \ 346 udf_iconv \ 347 ufs \ 348 unionfs \ 349 usb \ 350 utopia \ 351 ${_vesa} \ 352 ${_virtio} \ 353 vge \ 354 ${_viawd} \ 355 vkbd \ 356 ${_vmm} \ 357 ${_vmware} \ 358 ${_vpo} \ 359 vr \ 360 vte \ 361 vx \ 362 ${_vxge} \ 363 wb \ 364 ${_wbwd} \ 365 ${_wi} \ 366 wlan \ 367 wlan_acl \ 368 wlan_amrr \ 369 wlan_ccmp \ 370 wlan_rssadapt \ 371 wlan_tkip \ 372 wlan_wep \ 373 wlan_xauth \ 374 ${_wpi} \ 375 ${_wpifw} \ 376 ${_x86bios} \ 377 ${_xe} \ 378 xl \ 379 ${_zfs} \ 380 zlib \ 381 382.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64" 383_filemon= filemon 384_imgact_binmisc= imgact_binmisc 385_vmware= vmware 386.endif 387 388.if ${MACHINE_CPUARCH} != "powerpc" && ${MACHINE_CPUARCH} != "arm" && \ 389 ${MACHINE_CPUARCH} != "mips" 390_syscons= syscons 391_vpo= vpo 392.endif 393 394.if ${MACHINE_CPUARCH} != "arm" && ${MACHINE_CPUARCH} != "mips" 395# no BUS_SPACE_UNSPECIFIED 396# No barrier instruction support (specific to this driver) 397_sym= sym 398# intr_disable() is a macro, causes problems 399.if ${MK_SOURCELESS_UCODE} != "no" 400_cxgb= cxgb 401.endif 402.endif 403 404.if ${MK_SOURCELESS_UCODE} != "no" && ${MACHINE_CPUARCH} != "arm" && \ 405 ${MACHINE_ARCH:C/mips(el)?/mips/} != "mips" && \ 406 ${MACHINE_ARCH} != "powerpc" 407_cxgbe= cxgbe 408.endif 409 410.if ${MK_AUTOFS} != "no" || defined(ALL_MODULES) 411_autofs= autofs 412.endif 413 414.if ${MK_CRYPT} != "no" || defined(ALL_MODULES) 415.if exists(${.CURDIR}/../opencrypto) 416_crypto= crypto 417_cryptodev= cryptodev 418.endif 419.if exists(${.CURDIR}/../crypto) 420_random= random 421.endif 422.endif 423 424.if (${MK_INET_SUPPORT} != "no" || ${MK_INET6_SUPPORT} != "no") || \ 425 defined(ALL_MODULES) 426_carp= carp 427_toecore= toecore 428.endif 429 430.if ${MK_INET_SUPPORT} != "no" || defined(ALL_MODULES) 431_if_gre= if_gre 432.endif 433 434.if ${MK_IPFILTER} != "no" || defined(ALL_MODULES) 435_ipfilter= ipfilter 436.endif 437 438.if ${MK_INET_SUPPORT} != "no" || defined(ALL_MODULES) 439_ipdivert= ipdivert 440_ipfw= ipfw 441.endif 442 443.if ${MK_ISCSI} != "no" || defined(ALL_MODULES) 444SUBDIR+= iscsi 445SUBDIR+= iscsi_initiator 446.endif 447 448.if ${MK_NAND} != "no" || defined(ALL_MODULES) 449_nandfs= nandfs 450_nandsim= nandsim 451.endif 452 453.if ${MK_NETGRAPH} != "no" || defined(ALL_MODULES) 454_netgraph= netgraph 455.endif 456 457.if (${MK_PF} != "no" && (${MK_INET_SUPPORT} != "no" || \ 458 ${MK_INET6_SUPPORT} != "no")) || defined(ALL_MODULES) 459_pf= pf 460_pflog= pflog 461.if ${MK_INET_SUPPORT} != "no" 462_pfsync= pfsync 463.endif 464.endif 465 466.if ${MK_SOURCELESS_UCODE} != "no" 467_bce= bce 468_fatm= fatm 469_fxp= fxp 470_ispfw= ispfw 471_mwlfw= mwlfw 472_ralfw= ralfw 473_sf= sf 474_sn= sn 475_ti= ti 476_txp= txp 477.endif 478 479.if ${MACHINE_CPUARCH} == "i386" 480# XXX some of these can move to the general case when de-i386'ed 481# XXX some of these can move now, but are untested on other architectures. 482_3dfx= 3dfx 483_3dfx_linux= 3dfx_linux 484_agp= agp 485_aic= aic 486_an= an 487_aout= aout 488_apm= apm 489_arcnet= arcnet 490_bktr= bktr 491_bxe= bxe 492_cardbus= cardbus 493_cbb= cbb 494.if ${MK_SOURCELESS_UCODE} != "no" 495_ce= ce 496.endif 497_coff= coff 498.if ${MK_SOURCELESS_UCODE} != "no" 499_cp= cp 500.endif 501_cpuctl= cpuctl 502_cpufreq= cpufreq 503_cs= cs 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_ix= ix 623_ixv= ixv 624_ixgb= ixgb 625_ixgbe= ixgbe 626_mly= mly 627_nfe= nfe 628_nvd= nvd 629.if ${MK_SOURCELESS_HOST} != "no" 630_nve= nve 631.endif 632_nvme= nvme 633_nvram= nvram 634_nxge= nxge 635_tpm= tpm 636_viawd= viawd 637_wpi= wpi 638.if ${MK_SOURCELESS_UCODE} != "no" 639_wpifw= wpifw 640.endif 641.if ${MK_CRYPT} != "no" || defined(ALL_MODULES) 642_padlock= padlock 643.endif 644_s3= s3 645_twa= twa 646_vesa= vesa 647_virtio= virtio 648_x86bios= x86bios 649.elif ${MACHINE} == "pc98" 650_canbepm= canbepm 651_canbus= canbus 652_ct= ct 653_pmc= pmc 654_snc= snc 655.endif 656.endif 657 658.if ${MACHINE_CPUARCH} == "amd64" 659_aac= aac 660_aacraid= aacraid 661_aout= aout 662_acpi= acpi 663.if ${MK_CRYPT} != "no" || defined(ALL_MODULES) 664_aesni= aesni 665.endif 666_agp= agp 667_an= an 668_amdsbwd= amdsbwd 669_amdtemp= amdtemp 670_arcmsr= arcmsr 671_asmc= asmc 672_bktr= bktr 673_bxe= bxe 674_cardbus= cardbus 675_cbb= cbb 676_cmx= cmx 677_ciss= ciss 678_coretemp= coretemp 679_cpuctl= cpuctl 680_cpufreq= cpufreq 681_dpms= dpms 682_drm= drm 683_drm2= drm2 684.if ${MK_CDDL} != "no" || defined(ALL_MODULES) 685_dtrace= dtrace 686.endif 687_ed= ed 688_et= et 689_em= em 690_exca= exca 691_ext2fs= ext2fs 692.if ${MK_SOURCELESS_HOST} != "no" 693_hpt27xx= hpt27xx 694.endif 695_hptiop= hptiop 696.if ${MK_SOURCELESS_HOST} != "no" 697_hptmv= hptmv 698_hptnr= hptnr 699_hptrr= hptrr 700.endif 701_hyperv= hyperv 702_i2c= i2c 703.if ${MK_OFED} != "no" || defined(ALL_MODULES) 704_ibcore= ibcore 705.endif 706_ichwd= ichwd 707_ida= ida 708_if_ndis= if_ndis 709_igb= igb 710_iir= iir 711_io= io 712_ipmi= ipmi 713.if ${MK_OFED} != "no" || defined(ALL_MODULES) 714_ipoib= ipoib 715.endif 716_ips= ips 717_ipw= ipw 718.if ${MK_SOURCELESS_UCODE} != "no" 719_ipwfw= ipwfw 720.endif 721_isci= isci 722_iwi= iwi 723.if ${MK_SOURCELESS_UCODE} != "no" 724_iwifw= iwifw 725.endif 726_iwn= iwn 727.if ${MK_SOURCELESS_UCODE} != "no" 728_iwnfw= iwnfw 729.endif 730_ix= ix 731_ixv= ixv 732_ixgb= ixgb 733_ixgbe= ixgbe 734_ixl= ixl 735_ixlv= ixlv 736_lindev= lindev 737_linprocfs= linprocfs 738_linsysfs= linsysfs 739_linux= linux 740_mly= mly 741.if ${MK_OFED} != "no" || defined(ALL_MODULES) 742_mlx4= mlx4 743_mlx4ib= mlx4ib 744_mlxen= mlxen 745_mthca= mthca 746.endif 747_ndis= ndis 748_nfe= nfe 749_ntb= ntb 750_nvd= nvd 751.if ${MK_SOURCELESS_HOST} != "no" 752_nve= nve 753.endif 754_nvme= nvme 755_nvram= nvram 756_nxge= nxge 757.if ${MK_CDDL} != "no" || defined(ALL_MODULES) 758_opensolaris= opensolaris 759.endif 760.if ${MK_CRYPT} != "no" || defined(ALL_MODULES) 761_padlock= padlock 762.endif 763_pccard= pccard 764_qlxge= qlxge 765_qlxgb= qlxgb 766_qlxgbe= qlxgbe 767_rdma= rdma 768_s3= s3 769_safe= safe 770_scsi_low= scsi_low 771_sfxge= sfxge 772_smbfs= smbfs 773_sound= sound 774_speaker= speaker 775_splash= splash 776_sppp= sppp 777_tpm= tpm 778_twa= twa 779_vesa= vesa 780_viawd= viawd 781_virtio= virtio 782.if ${MK_BHYVE} != "no" || defined(ALL_MODULES) 783_vmm= vmm 784.endif 785_vxge= vxge 786_x86bios= x86bios 787_wbwd= wbwd 788_wi= wi 789_wpi= wpi 790.if ${MK_SOURCELESS_UCODE} != "no" 791_wpifw= wpifw 792.endif 793.if ${MK_ZFS} != "no" || defined(ALL_MODULES) 794_zfs= zfs 795.endif 796.endif 797 798.if ${MACHINE_CPUARCH} == "arm" 799_cfi= cfi 800_cpsw= cpsw 801.endif 802 803.if ${MACHINE_CPUARCH} == "ia64" 804_aac= aac 805_aacraid= aacraid 806_aic= aic 807_an= an 808_arcnet= arcnet 809_asr= asr 810_bktr= bktr 811_cardbus= cardbus 812_cbb= cbb 813_ciss= ciss 814_cm= cm 815_cmx= cmx 816_coff= coff 817_cpufreq= cpufreq 818_dpt= dpt 819_em= em 820_ep= ep 821_et= et 822_exca= exca 823_fe= fe 824_hptiop= hptiop 825_ida= ida 826_igb= igb 827_iir= iir 828_ips= ips 829_mly= mly 830_pccard= pccard 831_scsi_low= scsi_low 832_smbfs= smbfs 833_sound= sound 834_splash= splash 835_sppp= sppp 836_streams= streams 837_tpm= tpm 838_twa= twa 839_wi= wi 840_xe= xe 841.endif 842 843.if ${MACHINE_CPUARCH} == "powerpc" 844_agp= agp 845_an= an 846_bm= bm 847_cardbus= cardbus 848_cbb= cbb 849_cfi= cfi 850_cpufreq= cpufreq 851_drm= drm 852.if ${MK_CDDL} != "no" || defined(ALL_MODULES) 853_dtrace= dtrace 854.endif 855_exca= exca 856_nvram= powermac_nvram 857_pccard= pccard 858_smbfs= smbfs 859_sound= sound 860.if ${MK_CDDL} != "no" || defined(ALL_MODULES) 861_opensolaris= opensolaris 862.endif 863_wi= wi 864.endif 865 866.if ${MACHINE_ARCH} == "powerpc64" 867_drm2= drm2 868_i2c= i2c 869.if ${MK_ZFS} != "no" || defined(ALL_MODULES) 870_zfs= zfs 871.endif 872.endif 873 874.if ${MACHINE_CPUARCH} == "sparc64" 875_auxio= auxio 876_em= em 877_epic= epic 878_i2c= i2c 879_igb= igb 880.if ${MK_CDDL} != "no" || defined(ALL_MODULES) 881_opensolaris= opensolaris 882.endif 883_smbfs= smbfs 884_sound= sound 885.if ${MK_ZFS} != "no" || defined(ALL_MODULES) 886_zfs= zfs 887.endif 888.endif 889 890.if defined(MODULES_OVERRIDE) && !defined(ALL_MODULES) 891SUBDIR=${MODULES_OVERRIDE} 892.endif 893 894.for reject in ${WITHOUT_MODULES} 895SUBDIR:= ${SUBDIR:N${reject}} 896.endfor 897 898# Calling kldxref(8) for each module is expensive. 899.if !defined(NO_XREF) 900.MAKEFLAGS+= -DNO_XREF 901afterinstall: 902 @if type kldxref >/dev/null 2>&1; then \ 903 ${ECHO} kldxref ${DESTDIR}${KMODDIR}; \ 904 kldxref ${DESTDIR}${KMODDIR}; \ 905 fi 906.endif 907 908.include <bsd.subdir.mk> 909