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