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