FreeBSD/Linux Kernel Cross Reference
sys/modules/Makefile
1 # $FreeBSD$
2
3 .include <bsd.own.mk>
4
5 SUBDIR= ${_3dfx} \
6 ${_3dfx_linux} \
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_onoe} \
32 ${_ath_rate_sample} \
33 aue \
34 ${_auxio} \
35 ${_awi} \
36 axe \
37 bce \
38 bfe \
39 bge \
40 ${_bios} \
41 ${_bktr} \
42 bridgestp \
43 cam \
44 ${_canbepm} \
45 ${_canbus} \
46 ${_cardbus} \
47 ${_cbb} \
48 cd9660 \
49 cd9660_iconv \
50 cdce \
51 ${_ce} \
52 ${_ciss} \
53 ${_cm} \
54 coda \
55 coda5 \
56 ${_coff} \
57 ${_coretemp} \
58 ${_cp} \
59 ${_cpufreq} \
60 ${_crypto} \
61 ${_cryptodev} \
62 ${_cs} \
63 ${_ctau} \
64 cue \
65 cxgb \
66 ${_cx} \
67 dc \
68 dcons \
69 dcons_crom \
70 de \
71 ${_digi} \
72 ${_dpt} \
73 ${_drm} \
74 dummynet \
75 ${_ed} \
76 ${_elink} \
77 ${_em} \
78 en \
79 ${_ep} \
80 ${_ex} \
81 ${_exca} \
82 ${_ext2fs} \
83 fatm \
84 fdc \
85 fdescfs \
86 ${_fe} \
87 firewire \
88 firmware \
89 fxp \
90 gem \
91 geom \
92 ${_harp} \
93 hatm \
94 ${_hfa} \
95 hifn \
96 hme \
97 ${_hptiop} \
98 ${_hptmv} \
99 ${_hptrr} \
100 hwpmc \
101 ${_i2c} \
102 ${_ibcs2} \
103 ${_ichwd} \
104 ${_ida} \
105 ${_idt} \
106 ${_ie} \
107 if_bridge \
108 if_disc \
109 if_edsc \
110 if_ef \
111 if_faith \
112 if_gif \
113 if_gre \
114 if_lagg \
115 ${_if_ndis} \
116 if_ppp \
117 if_sl \
118 if_stf \
119 if_tap \
120 if_tun \
121 if_vlan \
122 ${_iir} \
123 ${_io} \
124 ipdivert \
125 ${_ipfilter} \
126 ipfw \
127 ip_mroute_mod \
128 ${_ipmi} \
129 ${_ips} \
130 ${_ipw} \
131 ${_ipwfw} \
132 iscsi \
133 isp \
134 ispfw \
135 ${_iwi} \
136 ${_iwifw} \
137 ${_ixgb} \
138 joy \
139 kbdmux \
140 kue \
141 le \
142 lge \
143 libalias \
144 libiconv \
145 libmbpool \
146 libmchain \
147 ${_linprocfs} \
148 ${_linsysfs} \
149 ${_linux} \
150 lmc \
151 lpt \
152 mac_biba \
153 mac_bsdextended \
154 mac_ifoff \
155 mac_lomac \
156 mac_mls \
157 mac_none \
158 mac_partition \
159 mac_portacl \
160 mac_seeotheruids \
161 mac_stub \
162 mac_test \
163 mcd \
164 md \
165 mem \
166 mfi \
167 mii \
168 mlx \
169 ${_mly} \
170 mpt \
171 mqueue \
172 msdosfs \
173 msdosfs_iconv \
174 ${_mse} \
175 msk \
176 mxge \
177 my \
178 ${_ncp} \
179 ${_ncv} \
180 ${_ndis} \
181 netgraph \
182 ${_nfe} \
183 nfsclient \
184 nfsserver \
185 nge \
186 nmdm \
187 ${_nsp} \
188 ntfs \
189 ntfs_iconv \
190 ${_nxge} \
191 nullfs \
192 ${_nve} \
193 ${_nvram} \
194 ${_nwfs} \
195 ${_oltr} \
196 ${_padlock} \
197 patm \
198 ${_pccard} \
199 ${_pcfclock} \
200 pcn \
201 ${_pecoff} \
202 ${_pf} \
203 ${_pflog} \
204 plip \
205 ${_pmc} \
206 portalfs \
207 ppbus \
208 ppc \
209 ppi \
210 pps \
211 procfs \
212 pseudofs \
213 ${_pst} \
214 puc \
215 ral \
216 ${_random} \
217 ${_ray} \
218 rc \
219 rc4 \
220 re \
221 reiserfs \
222 rl \
223 rp \
224 rue \
225 rum \
226 ${_s3} \
227 ${_safe} \
228 ${_sbni} \
229 sbsh \
230 scc \
231 scd \
232 ${_scsi_low} \
233 sem \
234 sf \
235 ${_sio} \
236 sis \
237 sk \
238 ${_smbfs} \
239 sn \
240 ${_snc} \
241 snp \
242 ${_sound} \
243 ${_speaker} \
244 ${_splash} \
245 ${_sppp} \
246 ${_sr} \
247 ste \
248 ${_stg} \
249 stge \
250 ${_streams} \
251 sym \
252 ${_syscons} \
253 sysvipc \
254 ti \
255 tl \
256 ${_tmpfs} \
257 trm \
258 ${_twa} \
259 twe \
260 tx \
261 txp \
262 uark \
263 uart \
264 ubsa \
265 ubsec \
266 ubser \
267 ucom \
268 ucycom \
269 udav \
270 udbp \
271 udf \
272 udf_iconv \
273 ufm \
274 ${_ufs} \
275 ufoma \
276 uftdi \
277 ugen \
278 uhid \
279 ukbd \
280 ulpt \
281 umass \
282 umct \
283 umodem \
284 ums \
285 unionfs \
286 uplcom \
287 ural \
288 urio \
289 usb \
290 uscanner \
291 utopia \
292 uvisor \
293 uvscom \
294 ${_vesa} \
295 vge \
296 vkbd \
297 ${_vpo} \
298 vr \
299 vx \
300 wb \
301 ${_wi} \
302 wlan \
303 wlan_scan_ap \
304 wlan_scan_sta \
305 wlan_acl \
306 wlan_amrr \
307 wlan_ccmp \
308 wlan_tkip \
309 wlan_wep \
310 wlan_xauth \
311 ${_wpi} \
312 ${_wpifw} \
313 ${_xe} \
314 xfs \
315 xl \
316 ${_zfs} \
317 zlib \
318 zyd
319
320 .if ${MACHINE_ARCH} != "powerpc"
321 _syscons= syscons
322 _vpo= vpo
323 .endif
324
325 .if defined(ALL_MODULES)
326 _ufs= ufs
327 .endif
328
329 # Disabled in 7.0 as netatm is not MPSAFE.
330 #if ${MK_ATM} != "no"
331 #_harp= harp
332 #.endif
333
334 .if ${MK_CRYPT} != "no" || defined(ALL_MODULES)
335 .if exists(${.CURDIR}/../opencrypto)
336 _crypto= crypto
337 _cryptodev= cryptodev
338 .endif
339 .if exists(${.CURDIR}/../crypto)
340 _random= random
341 .endif
342 .endif
343
344 .if ${MK_IPFILTER} != "no" || defined(ALL_MODULES)
345 _ipfilter= ipfilter
346 .endif
347
348 .if ${MK_PF} != "no" || defined(ALL_MODULES)
349 _pf= pf
350 _pflog= pflog
351 .endif
352
353 .if ${MACHINE_ARCH} == "i386"
354 # XXX some of these can move to the general case when de-i386'ed
355 # XXX some of these can move now, but are untested on other architectures.
356 _3dfx= 3dfx
357 _3dfx_linux= 3dfx_linux
358 _agp= agp
359 _aic= aic
360 _amd= amd
361 _an= an
362 _aout= aout
363 _apm= apm
364 _ar= ar
365 _arcnet= arcnet
366 _ath= ath
367 _ath_hal= ath_hal
368 _ath_rate_amrr= ath_rate_amrr
369 _ath_rate_onoe= ath_rate_onoe
370 _ath_rate_sample=ath_rate_sample
371 _awi= awi
372 _bktr= bktr
373 _cardbus= cardbus
374 _cbb= cbb
375 _ce= ce
376 _coff= coff
377 _cp= cp
378 _cpufreq= cpufreq
379 _cs= cs
380 _digi= digi
381 _drm= drm
382 _ed= ed
383 _elink= elink
384 _em= em
385 _ep= ep
386 _exca= exca
387 _ext2fs= ext2fs
388 _fe= fe
389 # Disabled due to non-MPSAFEty in 7.0
390 #_hfa= hfa
391 _i2c= i2c
392 _ibcs2= ibcs2
393 _ie= ie
394 _if_ndis= if_ndis
395 _io= io
396 _linprocfs= linprocfs
397 _linsysfs= linsysfs
398 _linux= linux
399 _mse= mse
400 .if ${MK_NCP} != "no"
401 _ncp= ncp
402 .endif
403 _ncv= ncv
404 _ndis= ndis
405 _nsp= nsp
406 .if ${MK_NCP} != "no"
407 _nwfs= nwfs
408 .endif
409 _oltr= oltr
410 _pccard= pccard
411 _pcfclock= pcfclock
412 _pecoff= pecoff
413 _pst= pst
414 _ray= ray
415 _safe= safe
416 _sbni= sbni
417 _scsi_low= scsi_low
418 _sio= sio
419 _smbfs= smbfs
420 _sound= sound
421 _speaker= speaker
422 _splash= splash
423 _sppp= sppp
424 _sr= sr
425 _stg= stg
426 _streams= streams
427 _tmpfs= tmpfs
428 _wi= wi
429 _xe= xe
430 .if ${MK_ZFS} != "no" || defined(ALL_MODULES)
431 _zfs= zfs
432 .endif
433 .if ${MACHINE} == "i386"
434 _aac= aac
435 _acpi= acpi
436 _ahb= ahb
437 _arcmsr= arcmsr
438 _arl= arl
439 _asr= asr
440 _bios= bios
441 _ciss= ciss
442 _cm= cm
443 _coretemp= coretemp
444 _ctau= ctau
445 _cx= cx
446 _dpt= dpt
447 _ex= ex
448 _hptiop= hptiop
449 _hptmv= hptmv
450 _hptrr= hptrr
451 _ichwd= ichwd
452 _ida= ida
453 # Disabled due to non-MPSAFEty in 7.0
454 #_idt= idt
455 _iir= iir
456 _ipmi= ipmi
457 _ips= ips
458 _ipw= ipw
459 _ipwfw= ipwfw
460 _iwi= iwi
461 _iwifw= iwifw
462 _ixgb= ixgb
463 _mly= mly
464 _nfe= nfe
465 _nve= nve
466 _nvram= nvram
467 _nxge= nxge
468 _wpi= wpi
469 _wpifw= wpifw
470 .if ${MK_CRYPT} != "no" || defined(ALL_MODULES)
471 .if exists(${.CURDIR}/../crypto/via)
472 _padlock= padlock
473 .endif
474 .endif
475 _s3= s3
476 _twa= twa
477 _vesa= vesa
478 .elif ${MACHINE} == "pc98"
479 _canbepm= canbepm
480 _canbus= canbus
481 _pmc= pmc
482 _snc= snc
483 .endif
484 .endif
485
486 .if ${MACHINE_ARCH} == "amd64"
487 _aac= aac
488 _acpi= acpi
489 _agp= agp
490 _an= an
491 _arcmsr= arcmsr
492 _ath= ath
493 _ath_hal= ath_hal
494 _ath_rate_amrr= ath_rate_amrr
495 _ath_rate_onoe= ath_rate_onoe
496 _ath_rate_sample=ath_rate_sample
497 _cardbus= cardbus
498 _cbb= cbb
499 _ciss= ciss
500 _coretemp= coretemp
501 _cpufreq= cpufreq
502 _digi= digi
503 _drm= drm
504 _ed= ed
505 _em= em
506 _exca= exca
507 _ext2fs= ext2fs
508 _hptiop= hptiop
509 _hptmv= hptmv
510 _hptrr= hptrr
511 _i2c= i2c
512 _ichwd= ichwd
513 _ida= ida
514 _if_ndis= if_ndis
515 _iir= iir
516 _io= io
517 _ipmi= ipmi
518 _ips= ips
519 _ipw= ipw
520 _ipwfw= ipwfw
521 _ixgb= ixgb
522 _linprocfs= linprocfs
523 _linsysfs= linsysfs
524 _linux= linux
525 _mly= mly
526 _ndis= ndis
527 _nfe= nfe
528 _nve= nve
529 _nvram= nvram
530 _nxge= nxge
531 _pccard= pccard
532 _safe= safe
533 _scsi_low= scsi_low
534 _smbfs= smbfs
535 _sound= sound
536 _speaker= speaker
537 _sppp= sppp
538 _tmpfs= tmpfs
539 _twa= twa
540 _wi= wi
541 _wpi= wpi
542 _wpifw= wpifw
543 .if ${MK_ZFS} != "no" || defined(ALL_MODULES)
544 _zfs= zfs
545 .endif
546 .endif
547
548 .if ${MACHINE_ARCH} == "ia64"
549 # Modules not enabled on ia64 (as compared to i386) include:
550 # aac acpi aout apm atspeaker drm ibcs2 linprocfs linux ncv
551 # nsp oltr pecoff s3 sbni stg vesa
552 # acpi is not enabled because it is broken as a module on ia64
553 _aic= aic
554 #_ar= ar not 64-bit clean
555 _arcnet= arcnet
556 _asr= asr
557 _an= an
558 _bktr= bktr
559 _cardbus= cardbus
560 _cbb= cbb
561 _ciss= ciss
562 _cm= cm
563 _coff= coff
564 _cpufreq= cpufreq
565 _em= em
566 _ep= ep
567 _exca= exca
568 _fe= fe
569 _hfa= hfa
570 _iir= iir
571 _mly= mly
572 _pccard= pccard
573 _scsi_low= scsi_low
574 _smbfs= smbfs
575 _sound= sound
576 _splash= splash
577 _sppp= sppp
578 #_sr= sr not 64bit clean
579 _streams= streams
580 _wi= wi
581 _xe= xe
582 .endif
583
584 .if ${MACHINE_ARCH} == "powerpc"
585 _an= an
586 _ath= ath
587 _ath_hal= ath_hal
588 _ath_rate_amrr= ath_rate_amrr
589 _ath_rate_onoe= ath_rate_onoe
590 _ath_rate_sample=ath_rate_sample
591 _nvram= powermac_nvram
592 _smbfs= smbfs
593 .endif
594
595 .if ${MACHINE_ARCH} == "sparc64"
596 _ath= ath
597 _ath_hal= ath_hal
598 _ath_rate_amrr= ath_rate_amrr
599 _ath_rate_onoe= ath_rate_onoe
600 _ath_rate_sample=ath_rate_sample
601 _auxio= auxio
602 _em= em
603 _i2c= i2c
604 _sound= sound
605 .endif
606
607 .if defined(MODULES_OVERRIDE) && !defined(ALL_MODULES)
608 SUBDIR=${MODULES_OVERRIDE}
609 .endif
610
611 .for reject in ${WITHOUT_MODULES}
612 SUBDIR:= ${SUBDIR:N${reject}}
613 .endfor
614
615 # Calling kldxref(8) for each module is expensive.
616 .if !defined(NO_XREF)
617 .MAKEFLAGS+= -DNO_XREF
618 afterinstall:
619 @if type kldxref >/dev/null 2>&1; then \
620 ${ECHO} kldxref ${DESTDIR}${KMODDIR}; \
621 kldxref ${DESTDIR}${KMODDIR}; \
622 fi
623 .endif
624
625 .include <bsd.subdir.mk>
Cache object: d4c3d0adddf6269bc809ddb41b03d6dd
|