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