]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/modules/Makefile
"pst" is not 64-bit clean for reasons specified in sys/amd64/conf/NOTES.
[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"
263 _syscons=       syscons
264 .endif
265
266 .if defined(ALL_MODULES)
267 _ufs=           ufs
268 .endif
269
270 .if !defined(NO_CRYPT) || defined(ALL_MODULES)
271 .if exists(${.CURDIR}/../opencrypto)
272 _crypto=        crypto
273 _cryptodev=     cryptodev
274 .endif
275 .if exists(${.CURDIR}/../crypto)
276 _random=        random
277 .endif
278 .endif
279
280 .if !defined(NO_IPFILTER) || defined(ALL_MODULES)
281 _ipfilter=      ipfilter
282 .endif
283
284 .if !defined(NO_PF) || defined(ALL_MODULES)
285 _pf=            pf
286 .endif
287
288 .if ${MACHINE_ARCH} == "i386"
289 # XXX some of these can move to the general case when de-i386'ed
290 # XXX some of these can move now, but are untested on other architectures.
291 _3dfx=          3dfx
292 _agp=           agp
293 _aic=           aic
294 _amd=           amd
295 _aout=          aout
296 _apm=           apm
297 _ar=            ar
298 _arcnet=        arcnet
299 _ath_hal=       ath_hal
300 _awi=           awi
301 _bktr=          bktr
302 _coff=          coff
303 _cp=            cp
304 _drm=           drm
305 _ed=            ed
306 _elink=         elink
307 _em=            em
308 _ep=            ep
309 _ext2fs=        ext2fs
310 _fe=            fe
311 _hfa=           hfa
312 _i2c=           i2c
313 _ibcs2=         ibcs2
314 _ie=            ie
315 _io=            io
316 _linprocfs=     linprocfs
317 _linux=         linux
318 _lnc=           lnc
319 _mse=           mse
320 _ncp=           ncp
321 _ncv=           ncv
322 _ndis=          ndis
323 _nsp=           nsp
324 _nwfs=          nwfs
325 _oltr=          oltr
326 _pccard=        pccard
327 _pcfclock=      pcfclock
328 _pecoff=        pecoff
329 _pst=           pst
330 _ray=           ray
331 _safe=          safe
332 _sbni=          sbni
333 _scsi_low=      scsi_low
334 _smbfs=         smbfs
335 _sound=         sound
336 _speaker=       speaker
337 _splash=        splash
338 _sppp=          sppp
339 _sr=            sr
340 _stg=           stg
341 _streams=       streams
342 _wi=            wi
343 _xe=            xe
344 .if ${MACHINE} == "i386"
345 _aac=           aac
346 _acpi=          acpi
347 _ahb=           ahb
348 _arl=           arl
349 _asr=           asr
350 _bios=          bios
351 _cardbus=       cardbus
352 _cbb=           cbb
353 _ciss=          ciss
354 _cm=            cm
355 _cs=            cs
356 _ctau=          ctau
357 _cx=            cx
358 _dpt=           dpt
359 _el=            el
360 _ex=            ex
361 _exca=          exca
362 _hptmv=         hptmv
363 _ichwd=         ichwd
364 _ida=           ida
365 _idt=           idt
366 _iir=           iir
367 _ips=           ips
368 _mly=           mly
369 _s3=            s3
370 _twa=           twa
371 _vesa=          vesa
372 .elif ${MACHINE} == "pc98"
373 _canbepm=       canbepm
374 _canbus=        canbus
375 _pmc=           pmc
376 _snc=           snc
377 .endif
378 .endif
379
380 .if ${MACHINE_ARCH} == "alpha"
381 _agp=           agp
382 _ahb=           ahb
383 _ext2fs=        ext2fs
384 _linprocfs=     linprocfs
385 _linux=         linux
386 _osf1=          osf1
387 _sound=         sound
388 _sppp=          sppp
389 .endif
390
391 .if ${MACHINE_ARCH} == "amd64"
392 _aac=           aac
393 #_acpi=         acpi            # doesn't work on amd64 yet
394 _agp=           agp
395 _ciss=          ciss
396 _drm=           drm
397 _em=            em
398 _ext2fs=        ext2fs
399 _i2c=           i2c
400 _ida=           ida
401 _iir=           iir
402 _io=            io
403 _ips=           ips
404 #_lnc=          lnc
405 _mly=           mly
406 #_ndis=         ndis
407 _safe=          safe
408 _scsi_low=      scsi_low
409 _smbfs=         smbfs
410 _sound=         sound
411 _sppp=          sppp
412 _twa=           twa
413 .endif
414
415 .if ${MACHINE_ARCH} == "ia64"
416 # Modules not enabled on ia64 (as compared to i386) include:
417 #       aac acpi aout apm atspeaker drm ibcs2 linprocfs linux ncv
418 #       nsp oltr pecoff s3 sbni stg vesa
419 # acpi is not enabled because it is broken as a module on ia64
420 _aic=           aic
421 #_ar=           ar      not 64-bit clean
422 _arcnet=        arcnet
423 _asr=           asr
424 _bktr=          bktr
425 _cardbus=       cardbus
426 _cbb=           cbb
427 _ciss=          ciss
428 _cm=            cm
429 _coff=          coff
430 _el=            el
431 _em=            em
432 _ep=            ep
433 _exca=          exca
434 _fe=            fe
435 _hfa=           hfa
436 _iir=           iir
437 _mly=           mly
438 _pccard=        pccard
439 _ray=           ray
440 _scsi_low=      scsi_low
441 _smbfs=         smbfs
442 _sound=         sound
443 _splash=        splash
444 _sppp=          sppp
445 #_sr=           sr              not 64bit clean
446 _streams=       streams
447 _wi=            wi
448 _xe=            xe
449 .endif
450
451 .if ${MACHINE_ARCH} == "powerpc"
452 _gem=           gem
453 .endif
454
455 .if ${MACHINE_ARCH} == "sparc64"
456 _auxio=         auxio
457 _gem=           gem
458 _sound=         sound
459 .endif
460
461 .if defined(MODULES_OVERRIDE) && !defined(ALL_MODULES)
462 SUBDIR=${MODULES_OVERRIDE}
463 .endif
464
465 .for reject in ${WITHOUT_MODULES}
466 SUBDIR:= ${SUBDIR:N${reject}}
467 .endfor
468
469 # Calling kldxref(8) for each module is expensive.
470 .if !defined(NO_XREF)
471 .MAKEFLAGS+=    -DNO_XREF
472 afterinstall:
473         @if type kldxref >/dev/null 2>&1; then \
474                 ${ECHO} kldxref ${DESTDIR}${KMODDIR}; \
475                 kldxref ${DESTDIR}${KMODDIR}; \
476         fi
477 .endif
478
479 .include <bsd.subdir.mk>