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