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