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