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