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