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