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