]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/modules/Makefile
This commit was generated by cvs2svn to compensate for changes in r171945,
[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         cxgb \
66         ${_cx} \
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         ip_mroute_mod \
127         ${_ipmi} \
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         ${_nxge} \
190         nullfs \
191         ${_nve} \
192         ${_nwfs} \
193         ${_oltr} \
194         ${_padlock} \
195         patm \
196         ${_pccard} \
197         ${_pcfclock} \
198         pcn \
199         ${_pecoff} \
200         ${_pf} \
201         ${_pflog} \
202         plip \
203         ${_pmc} \
204         portalfs \
205         ${_powermac_nvram} \
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_scan_ap \
304         wlan_scan_sta \
305         wlan_acl \
306         wlan_amrr \
307         wlan_ccmp \
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 _coretemp=      coretemp
375 _cp=            cp
376 _cpufreq=       cpufreq
377 _cs=            cs
378 _digi=          digi
379 _drm=           drm
380 _ed=            ed
381 _elink=         elink
382 _em=            em
383 _ep=            ep
384 _exca=          exca
385 _ext2fs=        ext2fs
386 _fe=            fe
387 # Disabled due to non-MPSAFEty in 7.0
388 #_hfa=          hfa
389 _i2c=           i2c
390 _ibcs2=         ibcs2
391 _ie=            ie
392 _if_ndis=       if_ndis
393 _io=            io
394 _linprocfs=     linprocfs
395 _linsysfs=      linsysfs
396 _linux=         linux
397 _mse=           mse
398 .if ${MK_NCP} != "no"
399 _ncp=           ncp
400 .endif
401 _ncv=           ncv
402 _ndis=          ndis
403 _nsp=           nsp
404 .if ${MK_NCP} != "no"
405 _nwfs=          nwfs
406 .endif
407 _oltr=          oltr
408 _pccard=        pccard
409 _pcfclock=      pcfclock
410 _pecoff=        pecoff
411 _pst=           pst
412 _ray=           ray
413 _safe=          safe
414 _sbni=          sbni
415 _scsi_low=      scsi_low
416 _sio=           sio
417 _smbfs=         smbfs
418 _sound=         sound
419 _speaker=       speaker
420 _splash=        splash
421 _sppp=          sppp
422 _sr=            sr
423 _stg=           stg
424 _streams=       streams
425 _tmpfs=         tmpfs
426 _wi=            wi
427 _xe=            xe
428 .if ${MK_ZFS} != "no" || defined(ALL_MODULES)
429 _zfs=           zfs
430 .endif
431 .if ${MACHINE} == "i386"
432 _aac=           aac
433 _acpi=          acpi
434 _ahb=           ahb
435 _arcmsr=        arcmsr
436 _arl=           arl
437 _asr=           asr
438 _bios=          bios
439 _ciss=          ciss
440 _cm=            cm
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 _nxge=          nxge
463 .if ${MK_CRYPT} != "no" || defined(ALL_MODULES)
464 .if exists(${.CURDIR}/../crypto/via)
465 _padlock=       padlock
466 .endif
467 .endif
468 _rr232x=        rr232x
469 _s3=            s3
470 _twa=           twa
471 _vesa=          vesa
472 .elif ${MACHINE} == "pc98"
473 _canbepm=       canbepm
474 _canbus=        canbus
475 _pmc=           pmc
476 _snc=           snc
477 .endif
478 .endif
479
480 .if ${MACHINE_ARCH} == "amd64"
481 _aac=           aac
482 _acpi=          acpi
483 _agp=           agp
484 _an=            an
485 _arcmsr=        arcmsr
486 _ath=           ath
487 _ath_hal=       ath_hal
488 _ath_rate_amrr= ath_rate_amrr
489 _ath_rate_onoe= ath_rate_onoe
490 _ath_rate_sample=ath_rate_sample
491 _cardbus=       cardbus
492 _cbb=           cbb
493 _ciss=          ciss
494 _coretemp=      coretemp
495 _cpufreq=       cpufreq
496 _digi=          digi
497 _drm=           drm
498 _ed=            ed
499 _em=            em
500 _exca=          exca
501 _ext2fs=        ext2fs
502 _hptiop=        hptiop
503 _hptmv=         hptmv
504 _i2c=           i2c
505 _ichwd=         ichwd
506 _ida=           ida
507 _if_ndis=       if_ndis
508 _iir=           iir
509 _io=            io
510 _ipmi=          ipmi
511 _ips=           ips
512 _ipw=           ipw
513 _ipwfw=         ipwfw
514 _ixgb=          ixgb
515 _linprocfs=     linprocfs
516 _linsysfs=      linsysfs
517 _linux=         linux
518 _mly=           mly
519 _ndis=          ndis
520 _nfe=           nfe
521 _nve=           nve
522 _nxge=          nxge
523 _pccard=        pccard
524 _rr232x=        rr232x
525 _safe=          safe
526 _scsi_low=      scsi_low
527 _smbfs=         smbfs
528 _sound=         sound
529 _speaker=       speaker
530 _sppp=          sppp
531 _tmpfs=         tmpfs
532 _twa=           twa
533 _wi=            wi
534 .if ${MK_ZFS} != "no" || defined(ALL_MODULES)
535 _zfs=           zfs
536 .endif
537 .endif
538
539 .if ${MACHINE_ARCH} == "ia64"
540 # Modules not enabled on ia64 (as compared to i386) include:
541 #       aac acpi aout apm atspeaker drm ibcs2 linprocfs linux ncv
542 #       nsp oltr pecoff s3 sbni stg vesa
543 # acpi is not enabled because it is broken as a module on ia64
544 _aic=           aic
545 #_ar=           ar      not 64-bit clean
546 _arcnet=        arcnet
547 _asr=           asr
548 _an=            an
549 _bktr=          bktr
550 _cardbus=       cardbus
551 _cbb=           cbb
552 _ciss=          ciss
553 _cm=            cm
554 _coff=          coff
555 _cpufreq=       cpufreq
556 _em=            em
557 _ep=            ep
558 _exca=          exca
559 _fe=            fe
560 _hfa=           hfa
561 _iir=           iir
562 _mly=           mly
563 _pccard=        pccard
564 _scsi_low=      scsi_low
565 _smbfs=         smbfs
566 _sound=         sound
567 _splash=        splash
568 _sppp=          sppp
569 #_sr=           sr              not 64bit clean
570 _streams=       streams
571 _wi=            wi
572 _xe=            xe
573 .endif
574
575 .if ${MACHINE_ARCH} == "powerpc"
576 _an=            an
577 _ath=           ath
578 _ath_hal=       ath_hal
579 _ath_rate_amrr= ath_rate_amrr
580 _ath_rate_onoe= ath_rate_onoe
581 _ath_rate_sample=ath_rate_sample
582 _gem=           gem
583 _powermac_nvram=        powermac_nvram
584 _smbfs=         smbfs
585 .endif
586
587 .if ${MACHINE_ARCH} == "sparc64"
588 _ath=           ath
589 _ath_hal=       ath_hal
590 _ath_rate_amrr= ath_rate_amrr
591 _ath_rate_onoe= ath_rate_onoe
592 _ath_rate_sample=ath_rate_sample
593 _auxio=         auxio
594 _em=            em
595 _gem=           gem
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>