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