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