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