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