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