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