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