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