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