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