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