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