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