1# $FreeBSD$ 2 3SYSDIR?=${SRCTOP}/sys 4.include "${SYSDIR}/conf/kern.opts.mk" 5 6SUBDIR_PARALLEL= 7 8# Modules that include binary-only blobs of microcode should be selectable by 9# MK_SOURCELESS_UCODE option (see below). 10 11.if defined(MODULES_OVERRIDE) && !defined(ALL_MODULES) 12SUBDIR=${MODULES_OVERRIDE} 13.else 14SUBDIR= \ 15 ${_3dfx} \ 16 ${_3dfx_linux} \ 17 ${_aac} \ 18 ${_aacraid} \ 19 accf_data \ 20 accf_dns \ 21 accf_http \ 22 acl_nfs4 \ 23 acl_posix1e \ 24 ${_acpi} \ 25 ae \ 26 ${_aesni} \ 27 age \ 28 ${_agp} \ 29 ahci \ 30 aic7xxx \ 31 alc \ 32 ale \ 33 alq \ 34 ${_amd_ecc_inject} \ 35 ${_amdgpio} \ 36 ${_amdsbwd} \ 37 ${_amdsmn} \ 38 ${_amdtemp} \ 39 amr \ 40 ${_an} \ 41 ${_aout} \ 42 ${_apm} \ 43 ${_arcmsr} \ 44 ${_allwinner} \ 45 ${_armv8crypto} \ 46 ${_asmc} \ 47 ata \ 48 ath \ 49 ath_dfs \ 50 ath_hal \ 51 ath_hal_ar5210 \ 52 ath_hal_ar5211 \ 53 ath_hal_ar5212 \ 54 ath_hal_ar5416 \ 55 ath_hal_ar9300 \ 56 ath_main \ 57 ath_rate \ 58 ath_pci \ 59 ${_autofs} \ 60 ${_auxio} \ 61 ${_bce} \ 62 ${_bcm283x_clkman} \ 63 ${_bcm283x_pwm} \ 64 bfe \ 65 bge \ 66 bhnd \ 67 ${_bxe} \ 68 ${_bios} \ 69 ${_bktr} \ 70 ${_blake2} \ 71 ${_bm} \ 72 bnxt \ 73 bridgestp \ 74 bwi \ 75 bwn \ 76 ${_bytgpio} \ 77 ${_chvgpio} \ 78 cam \ 79 ${_cardbus} \ 80 ${_carp} \ 81 cas \ 82 ${_cbb} \ 83 cc \ 84 ${_ccp} \ 85 cd9660 \ 86 cd9660_iconv \ 87 ${_ce} \ 88 ${_cfi} \ 89 ${_chromebook_platform} \ 90 ${_ciss} \ 91 cloudabi \ 92 ${_cloudabi32} \ 93 ${_cloudabi64} \ 94 ${_cmx} \ 95 ${_coretemp} \ 96 ${_cp} \ 97 ${_cpsw} \ 98 ${_cpuctl} \ 99 ${_cpufreq} \ 100 ${_crypto} \ 101 ${_cryptodev} \ 102 ${_cs} \ 103 ${_ctau} \ 104 ctl \ 105 ${_cxgb} \ 106 ${_cxgbe} \ 107 dc \ 108 dcons \ 109 dcons_crom \ 110 de \ 111 ${_dpms} \ 112 ${_drm} \ 113 ${_drm2} \ 114 dummynet \ 115 ${_ed} \ 116 ${_efirt} \ 117 ${_em} \ 118 ${_ena} \ 119 ${_ep} \ 120 ${_epic} \ 121 esp \ 122 ${_et} \ 123 evdev \ 124 ${_ex} \ 125 ${_exca} \ 126 ext2fs \ 127 fdc \ 128 fdescfs \ 129 ${_fe} \ 130 ${_ffec} \ 131 filemon \ 132 firewire \ 133 firmware \ 134 fuse \ 135 ${_fxp} \ 136 gem \ 137 geom \ 138 ${_glxiic} \ 139 ${_glxsb} \ 140 gpio \ 141 hifn \ 142 hme \ 143 ${_hpt27xx} \ 144 ${_hptiop} \ 145 ${_hptmv} \ 146 ${_hptnr} \ 147 ${_hptrr} \ 148 hwpmc \ 149 ${_hwpmc_mips24k} \ 150 ${_hwpmc_mips74k} \ 151 ${_hyperv} \ 152 i2c \ 153 ${_iavf} \ 154 ${_ibcore} \ 155 ${_ichwd} \ 156 ${_ida} \ 157 if_bridge \ 158 if_disc \ 159 if_edsc \ 160 ${_if_enc} \ 161 if_epair \ 162 ${_if_gif} \ 163 ${_if_gre} \ 164 ${_if_me} \ 165 if_lagg \ 166 ${_if_ndis} \ 167 ${_if_stf} \ 168 if_tap \ 169 if_tun \ 170 if_vlan \ 171 if_vxlan \ 172 iflib \ 173 ${_iir} \ 174 imgact_binmisc \ 175 ${_intelspi} \ 176 ${_io} \ 177 ${_ioat} \ 178 ${_ipoib} \ 179 ${_ipdivert} \ 180 ${_ipfilter} \ 181 ${_ipfw} \ 182 ipfw_nat \ 183 ${_ipfw_nat64} \ 184 ${_ipfw_nptv6} \ 185 ${_ipfw_pmod} \ 186 ${_ipmi} \ 187 ip6_mroute_mod \ 188 ip_mroute_mod \ 189 ${_ips} \ 190 ${_ipsec} \ 191 ${_ipw} \ 192 ${_ipwfw} \ 193 ${_isci} \ 194 ${_iser} \ 195 isp \ 196 ${_ispfw} \ 197 ${_iwi} \ 198 ${_iwifw} \ 199 ${_iwm} \ 200 ${_iwmfw} \ 201 ${_iwn} \ 202 ${_iwnfw} \ 203 ${_ix} \ 204 ${_ixv} \ 205 ${_ixl} \ 206 jme \ 207 kbdmux \ 208 kgssapi \ 209 kgssapi_krb5 \ 210 khelp \ 211 krpc \ 212 ksyms \ 213 le \ 214 lge \ 215 libalias \ 216 libiconv \ 217 libmchain \ 218 ${_linux} \ 219 ${_linux_common} \ 220 ${_linux64} \ 221 linuxkpi \ 222 ${_lio} \ 223 lpt \ 224 mac_biba \ 225 mac_bsdextended \ 226 mac_ifoff \ 227 mac_lomac \ 228 mac_mls \ 229 mac_none \ 230 mac_ntpd \ 231 mac_partition \ 232 mac_portacl \ 233 mac_seeotheruids \ 234 mac_stub \ 235 mac_test \ 236 malo \ 237 md \ 238 mdio \ 239 mem \ 240 mfi \ 241 mii \ 242 mlx \ 243 ${_mlx4} \ 244 ${_mlx4ib} \ 245 ${_mlx4en} \ 246 ${_mlx5} \ 247 ${_mlx5en} \ 248 ${_mlx5ib} \ 249 ${_mly} \ 250 mmc \ 251 mmcsd \ 252 ${_mpr} \ 253 ${_mps} \ 254 mpt \ 255 mqueue \ 256 mrsas \ 257 msdosfs \ 258 msdosfs_iconv \ 259 msk \ 260 ${_mthca} \ 261 mvs \ 262 mwl \ 263 ${_mwlfw} \ 264 mxge \ 265 my \ 266 ${_nandfs} \ 267 ${_nandsim} \ 268 ${_nctgpio} \ 269 ${_ndis} \ 270 ${_netgraph} \ 271 ${_nfe} \ 272 nfscl \ 273 nfscommon \ 274 nfsd \ 275 nfslock \ 276 nfslockd \ 277 nfssvc \ 278 nge \ 279 nmdm \ 280 nullfs \ 281 ${_ntb} \ 282 ${_nvd} \ 283 ${_nvdimm} \ 284 ${_nvme} \ 285 ${_nvram} \ 286 oce \ 287 ${_ocs_fc} \ 288 otus \ 289 ${_otusfw} \ 290 ow \ 291 ${_padlock} \ 292 ${_padlock_rng} \ 293 ${_pccard} \ 294 ${_pcfclock} \ 295 pcn \ 296 ${_pf} \ 297 ${_pflog} \ 298 ${_pfsync} \ 299 plip \ 300 ${_pms} \ 301 ppbus \ 302 ppc \ 303 ppi \ 304 pps \ 305 procfs \ 306 proto \ 307 pseudofs \ 308 ${_pst} \ 309 pty \ 310 puc \ 311 ${_qlxge} \ 312 ${_qlxgb} \ 313 ${_qlxgbe} \ 314 ${_qlnx} \ 315 ral \ 316 ${_ralfw} \ 317 ${_random_fortuna} \ 318 ${_random_other} \ 319 rc4 \ 320 ${_rdma} \ 321 ${_rdrand_rng} \ 322 re \ 323 rl \ 324 ${_rockchip} \ 325 rtwn \ 326 rtwn_pci \ 327 rtwn_usb \ 328 ${_rtwnfw} \ 329 ${_s3} \ 330 ${_safe} \ 331 ${_sbni} \ 332 scc \ 333 sdhci \ 334 ${_sdhci_acpi} \ 335 sdhci_pci \ 336 sem \ 337 send \ 338 ${_sf} \ 339 ${_sfxge} \ 340 sge \ 341 ${_sgx} \ 342 ${_sgx_linux} \ 343 siftr \ 344 siis \ 345 sis \ 346 sk \ 347 ${_smartpqi} \ 348 smbfs \ 349 sn \ 350 snp \ 351 sound \ 352 ${_speaker} \ 353 spi \ 354 ${_splash} \ 355 ${_sppp} \ 356 ste \ 357 stge \ 358 ${_sym} \ 359 ${_syscons} \ 360 sysvipc \ 361 tcp \ 362 ${_ti} \ 363 tl \ 364 tmpfs \ 365 ${_toecore} \ 366 ${_tpm} \ 367 trm \ 368 ${_twa} \ 369 twe \ 370 tws \ 371 tx \ 372 ${_txp} \ 373 uart \ 374 ubsec \ 375 udf \ 376 udf_iconv \ 377 ufs \ 378 uinput \ 379 unionfs \ 380 usb \ 381 ${_vesa} \ 382 ${_virtio} \ 383 vge \ 384 ${_viawd} \ 385 videomode \ 386 vkbd \ 387 ${_vmm} \ 388 ${_vmware} \ 389 ${_vpo} \ 390 vr \ 391 vte \ 392 vx \ 393 wb \ 394 ${_wbwd} \ 395 ${_wi} \ 396 wlan \ 397 wlan_acl \ 398 wlan_amrr \ 399 wlan_ccmp \ 400 wlan_rssadapt \ 401 wlan_tkip \ 402 wlan_wep \ 403 wlan_xauth \ 404 ${_wpi} \ 405 ${_wpifw} \ 406 ${_x86bios} \ 407 ${_xe} \ 408 xl \ 409 zlib 410 411.if ${MK_AUTOFS} != "no" || defined(ALL_MODULES) 412_autofs= autofs 413.endif 414 415.if ${MK_CDDL} != "no" || defined(ALL_MODULES) 416.if (${MACHINE_CPUARCH} != "arm" || ${MACHINE_ARCH:Marmv[67]*} != "") && \ 417 ${MACHINE_CPUARCH} != "mips" && \ 418 ${MACHINE_CPUARCH} != "sparc64" 419SUBDIR+= dtrace 420.endif 421SUBDIR+= opensolaris 422.endif 423 424.if ${MK_CRYPT} != "no" || defined(ALL_MODULES) 425.if exists(${SRCTOP}/sys/opencrypto) 426_crypto= crypto 427_cryptodev= cryptodev 428_random_fortuna=random_fortuna 429_random_other= random_other 430.endif 431.endif 432 433.if ${MK_CUSE} != "no" || defined(ALL_MODULES) 434SUBDIR+= cuse 435.endif 436 437.if (${MK_INET_SUPPORT} != "no" || ${MK_INET6_SUPPORT} != "no") || \ 438 defined(ALL_MODULES) 439_carp= carp 440_toecore= toecore 441_if_enc= if_enc 442_if_gif= if_gif 443_if_gre= if_gre 444_ipfw_pmod= ipfw_pmod 445.if ${MK_IPSEC_SUPPORT} != "no" 446_ipsec= ipsec 447.endif 448.endif 449 450.if (${MK_INET_SUPPORT} != "no" && ${MK_INET6_SUPPORT} != "no") || \ 451 defined(ALL_MODULES) 452_if_stf= if_stf 453.endif 454 455.if ${MK_INET_SUPPORT} != "no" || defined(ALL_MODULES) 456_if_me= if_me 457_ipdivert= ipdivert 458_ipfw= ipfw 459.if ${MK_INET6_SUPPORT} != "no" || defined(ALL_MODULES) 460_ipfw_nat64= ipfw_nat64 461.endif 462.endif 463 464.if ${MK_INET6_SUPPORT} != "no" || defined(ALL_MODULES) 465_ipfw_nptv6= ipfw_nptv6 466.endif 467 468.if ${MK_IPFILTER} != "no" || defined(ALL_MODULES) 469_ipfilter= ipfilter 470.endif 471 472.if ${MK_ISCSI} != "no" || defined(ALL_MODULES) 473SUBDIR+= cfiscsi 474SUBDIR+= iscsi 475SUBDIR+= iscsi_initiator 476.endif 477 478.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64" || \ 479 ${MACHINE_CPUARCH} == "i386" 480SUBDIR+= linprocfs 481SUBDIR+= linsysfs 482.endif 483 484.if ${MK_NAND} != "no" || defined(ALL_MODULES) 485_nandfs= nandfs 486_nandsim= nandsim 487.endif 488 489.if ${MK_NETGRAPH} != "no" || defined(ALL_MODULES) 490_netgraph= netgraph 491.endif 492 493.if (${MK_PF} != "no" && (${MK_INET_SUPPORT} != "no" || \ 494 ${MK_INET6_SUPPORT} != "no")) || defined(ALL_MODULES) 495_pf= pf 496_pflog= pflog 497.if ${MK_INET_SUPPORT} != "no" 498_pfsync= pfsync 499.endif 500.endif 501 502.if ${MK_SOURCELESS_UCODE} != "no" 503_bce= bce 504_fxp= fxp 505_ispfw= ispfw 506_sf= sf 507_ti= ti 508_txp= txp 509 510.if ${MACHINE_CPUARCH} != "mips" 511_mwlfw= mwlfw 512_otusfw= otusfw 513_ralfw= ralfw 514_rtwnfw= rtwnfw 515.endif 516.endif 517 518.if ${MK_SOURCELESS_UCODE} != "no" && ${MACHINE_CPUARCH} != "arm" && \ 519 ${MACHINE_CPUARCH} != "mips" && \ 520 ${MACHINE_ARCH} != "powerpc" && ${MACHINE_ARCH} != "powerpcspe" && \ 521 ${MACHINE_CPUARCH} != "riscv" 522_cxgbe= cxgbe 523.endif 524 525# These rely on 64bit atomics 526.if ${MACHINE_ARCH} != "powerpc" && ${MACHINE_ARCH} != "powerpcspe" && \ 527 ${MACHINE_CPUARCH} != "mips" 528_mps= mps 529_mpr= mpr 530.endif 531 532.if ${MK_TESTS} != "no" || defined(ALL_MODULES) 533SUBDIR+= tests 534.endif 535 536.if ${MK_ZFS} != "no" || defined(ALL_MODULES) 537SUBDIR+= zfs 538.endif 539 540.if (${MACHINE_CPUARCH} == "mips" && ${MACHINE_ARCH:Mmips64} == "") 541_hwpmc_mips24k= hwpmc_mips24k 542_hwpmc_mips74k= hwpmc_mips74k 543.endif 544 545.if ${MACHINE_CPUARCH} != "aarch64" && ${MACHINE_CPUARCH} != "arm" && \ 546 ${MACHINE_CPUARCH} != "mips" && ${MACHINE_CPUARCH} != "powerpc" && \ 547 ${MACHINE_CPUARCH} != "riscv" 548_syscons= syscons 549_vpo= vpo 550.endif 551 552.if ${MACHINE_CPUARCH} != "mips" 553# no BUS_SPACE_UNSPECIFIED 554# No barrier instruction support (specific to this driver) 555_sym= sym 556# intr_disable() is a macro, causes problems 557.if ${MK_SOURCELESS_UCODE} != "no" 558_cxgb= cxgb 559.endif 560.endif 561 562.if ${MACHINE_CPUARCH} == "aarch64" 563_allwinner= allwinner 564_armv8crypto= armv8crypto 565_efirt= efirt 566_em= em 567_rockchip= rockchip 568.endif 569 570.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64" 571_agp= agp 572_an= an 573_aout= aout 574_bios= bios 575_bktr= bktr 576.if ${MK_SOURCELESS_UCODE} != "no" 577_bxe= bxe 578.endif 579_cardbus= cardbus 580_cbb= cbb 581_cpuctl= cpuctl 582_cpufreq= cpufreq 583_cs= cs 584_dpms= dpms 585.if ${MK_MODULE_DRM} != "no" 586_drm= drm 587.endif 588.if ${MK_MODULE_DRM2} != "no" 589_drm2= drm2 590.endif 591_ed= ed 592_em= em 593_ena= ena 594_ep= ep 595_et= et 596_exca= exca 597_fe= fe 598.if ${MK_OFED} != "no" || defined(ALL_MODULES) 599_ibcore= ibcore 600.endif 601_if_ndis= if_ndis 602_io= io 603.if ${MK_OFED} != "no" || defined(ALL_MODULES) 604_ipoib= ipoib 605_iser= iser 606.endif 607_ix= ix 608_ixv= ixv 609_linux= linux 610.if ${MK_SOURCELESS_UCODE} != "no" 611_lio= lio 612.endif 613_nctgpio= nctgpio 614_ndis= ndis 615_ocs_fc= ocs_fc 616_pccard= pccard 617.if ${MK_OFED} != "no" || defined(ALL_MODULES) 618_rdma= rdma 619.endif 620_safe= safe 621_speaker= speaker 622_splash= splash 623_sppp= sppp 624_vmware= vmware 625_wbwd= wbwd 626_wi= wi 627_xe= xe 628 629_aac= aac 630_aacraid= aacraid 631_acpi= acpi 632.if ${MK_CRYPT} != "no" || defined(ALL_MODULES) 633.if ${COMPILER_TYPE} != "gcc" || ${COMPILER_VERSION} > 40201 634_aesni= aesni 635.endif 636.endif 637_amd_ecc_inject=amd_ecc_inject 638_amdsbwd= amdsbwd 639_amdsmn= amdsmn 640_amdtemp= amdtemp 641_arcmsr= arcmsr 642_asmc= asmc 643.if ${MK_CRYPT} != "no" || defined(ALL_MODULES) 644_blake2= blake2 645.endif 646_bytgpio= bytgpio 647_chvgpio= chvgpio 648_ciss= ciss 649_chromebook_platform= chromebook_platform 650_cmx= cmx 651_coretemp= coretemp 652.if ${MK_SOURCELESS_HOST} != "no" 653_hpt27xx= hpt27xx 654.endif 655_hptiop= hptiop 656.if ${MK_SOURCELESS_HOST} != "no" 657_hptmv= hptmv 658_hptnr= hptnr 659_hptrr= hptrr 660.endif 661_hyperv= hyperv 662_ichwd= ichwd 663_ida= ida 664_iir= iir 665_intelspi= intelspi 666_ipmi= ipmi 667_ips= ips 668_isci= isci 669_ipw= ipw 670_iwi= iwi 671_iwm= iwm 672_iwn= iwn 673.if ${MK_SOURCELESS_UCODE} != "no" 674_ipwfw= ipwfw 675_iwifw= iwifw 676_iwmfw= iwmfw 677_iwnfw= iwnfw 678.endif 679_mlx4= mlx4 680_mlx5= mlx5 681.if (${MK_INET_SUPPORT} != "no" && ${MK_INET6_SUPPORT} != "no") || \ 682 defined(ALL_MODULES) 683_mlx4en= mlx4en 684_mlx5en= mlx5en 685.endif 686.if ${MK_OFED} != "no" || defined(ALL_MODULES) 687_mthca= mthca 688_mlx4ib= mlx4ib 689_mlx5ib= mlx5ib 690.endif 691_mly= mly 692_nfe= nfe 693_nvd= nvd 694_nvme= nvme 695_nvram= nvram 696.if ${MK_CRYPT} != "no" || defined(ALL_MODULES) 697_padlock= padlock 698_padlock_rng= padlock_rng 699_rdrand_rng= rdrand_rng 700.endif 701_s3= s3 702_sdhci_acpi= sdhci_acpi 703_tpm= tpm 704_twa= twa 705_vesa= vesa 706_viawd= viawd 707_virtio= virtio 708_wpi= wpi 709.if ${MK_SOURCELESS_UCODE} != "no" 710_wpifw= wpifw 711.endif 712_x86bios= x86bios 713.endif 714 715.if ${MACHINE_CPUARCH} == "amd64" 716_amdgpio= amdgpio 717_ccp= ccp 718_efirt= efirt 719_iavf= iavf 720_ioat= ioat 721_ixl= ixl 722_linux64= linux64 723_linux_common= linux_common 724_ntb= ntb 725_nvdimm= nvdimm 726_pms= pms 727_qlxge= qlxge 728_qlxgb= qlxgb 729.if ${MK_SOURCELESS_UCODE} != "no" 730_qlxgbe= qlxgbe 731_qlnx= qlnx 732.endif 733_sfxge= sfxge 734_sgx= sgx 735_sgx_linux= sgx_linux 736_smartpqi= smartpqi 737 738.if ${MK_BHYVE} != "no" || defined(ALL_MODULES) 739_vmm= vmm 740.endif 741.endif 742 743.if ${MACHINE_CPUARCH} == "i386" 744# XXX some of these can move to the general case when de-i386'ed 745# XXX some of these can move now, but are untested on other architectures. 746_3dfx= 3dfx 747_3dfx_linux= 3dfx_linux 748_apm= apm 749.if ${MK_SOURCELESS_UCODE} != "no" 750_ce= ce 751.endif 752.if ${MK_SOURCELESS_UCODE} != "no" 753_cp= cp 754.endif 755_glxiic= glxiic 756_glxsb= glxsb 757_pcfclock= pcfclock 758_pst= pst 759_sbni= sbni 760.if ${MK_SOURCELESS_UCODE} != "no" 761_ctau= ctau 762.endif 763_ex= ex 764.endif 765 766.if ${MACHINE_CPUARCH} == "arm" 767_cfi= cfi 768_cpsw= cpsw 769.endif 770 771.if ${MACHINE_CPUARCH} == "powerpc" 772_agp= agp 773_an= an 774_bm= bm 775_cardbus= cardbus 776_cbb= cbb 777_cfi= cfi 778_cpufreq= cpufreq 779.if ${MK_MODULE_DRM} != "no" 780_drm= drm 781.endif 782_exca= exca 783_ffec= ffec 784_nvd= nvd 785_nvme= nvme 786_pccard= pccard 787_wi= wi 788.endif 789 790.if ${MACHINE_ARCH} == "powerpc64" 791.if ${MK_MODULE_DRM2} != "no" 792_drm2= drm2 793.endif 794_ipmi= ipmi 795.endif 796.if ${MACHINE_ARCH} == "powerpc64" || ${MACHINE_ARCH} == "powerpc" 797# Don't build powermac_nvram for powerpcspe, it's never supported. 798_nvram= powermac_nvram 799.endif 800 801.if ${MACHINE_CPUARCH} == "sparc64" 802_auxio= auxio 803_em= em 804_epic= epic 805.endif 806 807.if (${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64" || \ 808 ${MACHINE_ARCH:Marmv[67]*} != "" || ${MACHINE_CPUARCH} == "i386") 809_cloudabi32= cloudabi32 810.endif 811.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64" 812_cloudabi64= cloudabi64 813.endif 814 815.endif 816 817.if ${MACHINE_ARCH:Marmv[67]*} != "" || ${MACHINE_CPUARCH} == "aarch64" 818_bcm283x_clkman= bcm283x_clkman 819_bcm283x_pwm= bcm283x_pwm 820.endif 821 822SUBDIR+=${MODULES_EXTRA} 823 824.for reject in ${WITHOUT_MODULES} 825SUBDIR:= ${SUBDIR:N${reject}} 826.endfor 827 828# Calling kldxref(8) for each module is expensive. 829.if !defined(NO_XREF) 830.MAKEFLAGS+= -DNO_XREF 831afterinstall: .PHONY 832 @if type kldxref >/dev/null 2>&1; then \ 833 ${ECHO} kldxref ${DESTDIR}${KMODDIR}; \ 834 kldxref ${DESTDIR}${KMODDIR}; \ 835 fi 836.endif 837 838.include "${SYSDIR}/conf/config.mk" 839 840SUBDIR:= ${SUBDIR:u:O} 841 842.include <bsd.subdir.mk> 843