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