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