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