]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/modules/Makefile
SampleRate rate control algorithm for the ath driver
[FreeBSD/FreeBSD.git] / sys / modules / Makefile
1 # $FreeBSD$
2
3 # oldcard -- specialized use for debugging only.
4 # owi -- totally unsupported for debugging only.
5
6 SUBDIR= ${_3dfx} \
7         ${_aac} \
8         accf_data \
9         accf_http \
10         ${_acpi} \
11         ${_agp} \
12         aha \
13         ${_ahb} \
14         ${_aic} \
15         aic7xxx \
16         aio \
17         ${_amd} \
18         amr \
19         an \
20         ${_aout} \
21         ${_apm} \
22         ${_ar} \
23         ${_arcnet} \
24         ${_arl} \
25         ${_asr} \
26         ath \
27         ${_ath_hal} \
28         ath_rate_amrr \
29         ath_rate_onoe \
30         ath_rate_sample \
31         aue \
32         ${_auxio} \
33         ${_awi} \
34         axe \
35         bfe \
36         bge \
37         ${_bios} \
38         ${_bktr} \
39         bridge \
40         cam \
41         ${_canbepm} \
42         ${_canbus} \
43         ${_cardbus} \
44         ${_cbb} \
45         cd9660 \
46         cd9660_iconv \
47         ${_ciss} \
48         ${_cm} \
49         coda \
50         coda5 \
51         ${_coff} \
52         ${_cp} \
53         ${_cpufreq} \
54         ${_crypto} \
55         ${_cryptodev} \
56         ${_cs} \
57         ${_ctau} \
58         cue \
59         ${_cx} \
60         dc \
61         dcons \
62         dcons_crom \
63         de \
64         ${_digi} \
65         ${_dpt} \
66         ${_drm} \
67         dummynet \
68         ${_ed} \
69         ${_el} \
70         ${_elink} \
71         ${_em} \
72         en \
73         ${_ep} \
74         ${_ex} \
75         ${_exca} \
76         ${_ext2fs} \
77         fatm \
78         fdc \
79         fdescfs \
80         ${_fe} \
81         firewire \
82         fxp \
83         ${_gem} \
84         geom \
85         harp \
86         hatm \
87         ${_hfa} \
88         hifn \
89         hme \
90         ${_hptmv} \
91         ${_i2c} \
92         ${_ibcs2} \
93         ${_ichwd} \
94         ${_ida} \
95         ${_idt} \
96         ${_ie} \
97         if_disc \
98         if_ef \
99         if_faith \
100         if_gif \
101         if_gre \
102         if_ppp \
103         if_sl \
104         if_stf \
105         if_tap \
106         if_tun \
107         if_vlan \
108         ${_iir} \
109         ${_io} \
110         ip6fw \
111         ipdivert \
112         ${_ipfilter} \
113         ipfw \
114         ip_mroute_mod \
115         ${_ips} \
116         isp \
117         ispfw \
118         joy \
119         kue \
120         lge \
121         libiconv \
122         libmbpool \
123         libmchain \
124         ${_linprocfs} \
125         ${_linux} \
126         ${_lnc} \
127         lpt \
128         mac_biba \
129         mac_bsdextended \
130         mac_ifoff \
131         mac_lomac \
132         mac_mls \
133         mac_none \
134         mac_partition \
135         mac_portacl \
136         mac_seeotheruids \
137         mac_stub \
138         mac_test \
139         mcd \
140         md \
141         mem \
142         mii \
143         mlx \
144         ${_mly} \
145         mpt \
146         ${_mse} \
147         msdosfs \
148         msdosfs_iconv \
149         my \
150         ${_ncp} \
151         ${_ncv} \
152         ${_ndis} \
153         netgraph \
154         nfsclient \
155         nfsserver \
156         nge \
157         nmdm \
158         ${_nsp} \
159         ntfs \
160         ntfs_iconv \
161         nullfs \
162         ${_nwfs} \
163         ${_oltr} \
164         ${_osf1} \
165         patm \
166         ${_pccard} \
167         ${_pcfclock} \
168         pcn \
169         ${_pecoff} \
170         ${_pf} \
171         plip \
172         ${_pmc} \
173         portalfs \
174         ppbus \
175         ppi \
176         pps \
177         procfs \
178         pseudofs \
179         ${_pst} \
180         ${_random} \
181         ${_ray} \
182         rc \
183         rc4 \
184         re \
185         rl \
186         rp \
187         rue \
188         ${_s3} \
189         ${_safe} \
190         ${_sbni} \
191         sbsh \
192         scd \
193         ${_scsi_low} \
194         sf \
195         sis \
196         sk \
197         ${_smbfs} \
198         sn \
199         ${_snc} \
200         snp \
201         ${_sound} \
202         ${_speaker} \
203         ${_splash} \
204         ${_sppp} \
205         ${_sr} \
206         ste \
207         ${_stg} \
208         ${_streams} \
209         sym \
210         ${_syscons} \
211         sysvipc \
212         ti \
213         tl \
214         trm \
215         ${_twa} \
216         twe \
217         tx \
218         txp \
219         ${_uart} \
220         ubsa \
221         ubsec \
222         ubser \
223         ucom \
224         ucycom \
225         udav \
226         udbp \
227         udf \
228         udf_iconv \
229         ufm \
230         ${_ufs} \
231         uftdi \
232         ugen \
233         uhid \
234         ukbd \
235         ulpt \
236         umass \
237         umct \
238         umodem \
239         ums \
240         unionfs \
241         uplcom \
242         urio \
243         usb \
244         uscanner \
245         utopia \
246         uvisor \
247         uvscom \
248         ${_vesa} \
249         vge \
250         vkbd \
251         ${_vpo} \
252         vr \
253         vx \
254         wb \
255         ${_wi} \
256         wlan \
257         wlan_acl \
258         wlan_ccmp \
259         wlan_tkip \
260         wlan_wep \
261         wlan_xauth \
262         ${_xe} \
263         xl
264
265 .if ${MACHINE_ARCH} != "sparc64" && ${MACHINE_ARCH} != "powerpc"
266 _syscons=       syscons
267 .endif
268
269 .if ${MACHINE_ARCH} != "powerpc"
270 _uart=          uart
271 _vpo=           vpo
272 .endif
273
274 .if defined(ALL_MODULES)
275 _ufs=           ufs
276 .endif
277
278 .if !defined(NO_CRYPT) || defined(ALL_MODULES)
279 .if exists(${.CURDIR}/../opencrypto)
280 _crypto=        crypto
281 _cryptodev=     cryptodev
282 .endif
283 .if exists(${.CURDIR}/../crypto)
284 _random=        random
285 .endif
286 .endif
287
288 .if !defined(NO_IPFILTER) || defined(ALL_MODULES)
289 _ipfilter=      ipfilter
290 .endif
291
292 .if !defined(NO_PF) || defined(ALL_MODULES)
293 _pf=            pf
294 .endif
295
296 .if ${MACHINE_ARCH} == "i386"
297 # XXX some of these can move to the general case when de-i386'ed
298 # XXX some of these can move now, but are untested on other architectures.
299 _3dfx=          3dfx
300 _agp=           agp
301 _aic=           aic
302 _amd=           amd
303 _aout=          aout
304 _apm=           apm
305 _ar=            ar
306 _arcnet=        arcnet
307 _ath_hal=       ath_hal
308 _awi=           awi
309 _bktr=          bktr
310 _coff=          coff
311 _cp=            cp
312 _cpufreq=       cpufreq
313 _digi=          digi
314 _drm=           drm
315 _ed=            ed
316 _elink=         elink
317 _em=            em
318 _ep=            ep
319 _ext2fs=        ext2fs
320 _fe=            fe
321 _hfa=           hfa
322 _i2c=           i2c
323 _ibcs2=         ibcs2
324 _ie=            ie
325 _io=            io
326 _linprocfs=     linprocfs
327 _linux=         linux
328 _lnc=           lnc
329 _mse=           mse
330 _ncp=           ncp
331 _ncv=           ncv
332 _ndis=          ndis
333 _nsp=           nsp
334 _nwfs=          nwfs
335 _oltr=          oltr
336 _pccard=        pccard
337 _pcfclock=      pcfclock
338 _pecoff=        pecoff
339 _pst=           pst
340 _ray=           ray
341 _safe=          safe
342 _sbni=          sbni
343 _scsi_low=      scsi_low
344 _smbfs=         smbfs
345 _sound=         sound
346 _speaker=       speaker
347 _splash=        splash
348 _sppp=          sppp
349 _sr=            sr
350 _stg=           stg
351 _streams=       streams
352 _wi=            wi
353 _xe=            xe
354 .if ${MACHINE} == "i386"
355 _aac=           aac
356 _acpi=          acpi
357 _ahb=           ahb
358 _arl=           arl
359 _asr=           asr
360 _bios=          bios
361 _cardbus=       cardbus
362 _cbb=           cbb
363 _ciss=          ciss
364 _cm=            cm
365 _cs=            cs
366 _ctau=          ctau
367 _cx=            cx
368 _dpt=           dpt
369 _el=            el
370 _ex=            ex
371 _exca=          exca
372 _hptmv=         hptmv
373 _ichwd=         ichwd
374 _ida=           ida
375 _idt=           idt
376 _iir=           iir
377 _ips=           ips
378 _mly=           mly
379 _s3=            s3
380 _twa=           twa
381 _vesa=          vesa
382 .elif ${MACHINE} == "pc98"
383 _canbepm=       canbepm
384 _canbus=        canbus
385 _pmc=           pmc
386 _snc=           snc
387 .endif
388 .endif
389
390 .if ${MACHINE_ARCH} == "alpha"
391 _agp=           agp
392 _ahb=           ahb
393 _ext2fs=        ext2fs
394 _linprocfs=     linprocfs
395 _linux=         linux
396 _osf1=          osf1
397 _sound=         sound
398 _sppp=          sppp
399 .endif
400
401 .if ${MACHINE_ARCH} == "amd64"
402 _aac=           aac
403 #_acpi=         acpi            # doesn't work on amd64 yet
404 _agp=           agp
405 _ciss=          ciss
406 _cpufreq=       cpufreq
407 _digi=          digi
408 _drm=           drm
409 _em=            em
410 _ext2fs=        ext2fs
411 _i2c=           i2c
412 _ida=           ida
413 _iir=           iir
414 _io=            io
415 _ips=           ips
416 #_lnc=          lnc
417 _mly=           mly
418 _ndis=          ndis
419 _safe=          safe
420 _scsi_low=      scsi_low
421 _smbfs=         smbfs
422 _sound=         sound
423 _sppp=          sppp
424 _twa=           twa
425 .endif
426
427 .if ${MACHINE_ARCH} == "ia64"
428 # Modules not enabled on ia64 (as compared to i386) include:
429 #       aac acpi aout apm atspeaker drm ibcs2 linprocfs linux ncv
430 #       nsp oltr pecoff s3 sbni stg vesa
431 # acpi is not enabled because it is broken as a module on ia64
432 _aic=           aic
433 #_ar=           ar      not 64-bit clean
434 _arcnet=        arcnet
435 _asr=           asr
436 _bktr=          bktr
437 _cardbus=       cardbus
438 _cbb=           cbb
439 _ciss=          ciss
440 _cm=            cm
441 _coff=          coff
442 _el=            el
443 _em=            em
444 _ep=            ep
445 _exca=          exca
446 _fe=            fe
447 _hfa=           hfa
448 _iir=           iir
449 _mly=           mly
450 _pccard=        pccard
451 _ray=           ray
452 _scsi_low=      scsi_low
453 _smbfs=         smbfs
454 _sound=         sound
455 _splash=        splash
456 _sppp=          sppp
457 #_sr=           sr              not 64bit clean
458 _streams=       streams
459 _wi=            wi
460 _xe=            xe
461 .endif
462
463 .if ${MACHINE_ARCH} == "powerpc"
464 _gem=           gem
465 .endif
466
467 .if ${MACHINE_ARCH} == "sparc64"
468 _auxio=         auxio
469 _gem=           gem
470 _sound=         sound
471 .endif
472
473 .if defined(MODULES_OVERRIDE) && !defined(ALL_MODULES)
474 SUBDIR=${MODULES_OVERRIDE}
475 .endif
476
477 .for reject in ${WITHOUT_MODULES}
478 SUBDIR:= ${SUBDIR:N${reject}}
479 .endfor
480
481 # Calling kldxref(8) for each module is expensive.
482 .if !defined(NO_XREF)
483 .MAKEFLAGS+=    -DNO_XREF
484 afterinstall:
485         @if type kldxref >/dev/null 2>&1; then \
486                 ${ECHO} kldxref ${DESTDIR}${KMODDIR}; \
487                 kldxref ${DESTDIR}${KMODDIR}; \
488         fi
489 .endif
490
491 .include <bsd.subdir.mk>