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