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