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