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