FreeBSD/Linux Kernel Cross Reference
sys/modules/Makefile
1 # $FreeBSD: src/sys/modules/Makefile,v 1.393.2.15 2006/03/07 13:53:57 rik Exp $
2
3 # pcic -- currently broken and being worked on out of tree.
4 # oldcard -- specialized use for debugging only.
5 # owi -- totally unsupported for debugging only.
6
7 SUBDIR= ${_3dfx} \
8 ${_aac} \
9 accf_data \
10 accf_http \
11 ${_acpi} \
12 ${_agp} \
13 aha \
14 ${_ahb} \
15 ${_aic} \
16 aic7xxx \
17 aio \
18 ${_amd} \
19 amr \
20 an \
21 ${_aout} \
22 ${_apm} \
23 ${_ar} \
24 ${_arcmsr} \
25 ${_arcnet} \
26 ${_arl} \
27 ${_asr} \
28 ath \
29 ${_ath_hal} \
30 aue \
31 ${_auxio} \
32 ${_awi} \
33 axe \
34 bfe \
35 bge \
36 ${_bios} \
37 ${_bktr} \
38 bridge \
39 cam \
40 ${_canbepm} \
41 ${_canbus} \
42 ${_cardbus} \
43 ${_cbb} \
44 cd9660 \
45 cd9660_iconv \
46 cdce \
47 ${_ce} \
48 ${_ciss} \
49 ${_cm} \
50 coda \
51 coda5 \
52 ${_coff} \
53 ${_cp} \
54 ${_crypto} \
55 ${_cpufreq} \
56 ${_cryptodev} \
57 ${_cs} \
58 ${_ctau} \
59 cue \
60 ${_cx} \
61 dc \
62 dcons \
63 dcons_crom \
64 de \
65 digi \
66 ${_dpt} \
67 ${_drm} \
68 dummynet \
69 ${_ed} \
70 ${_el} \
71 ${_elink} \
72 ${_em} \
73 en \
74 ${_ep} \
75 ${_ex} \
76 ${_exca} \
77 ${_ext2fs} \
78 fatm \
79 fdc \
80 fdescfs \
81 ${_fe} \
82 firewire \
83 fxp \
84 ${_gem} \
85 geom \
86 gx \
87 harp \
88 hatm \
89 ${_hfa} \
90 hifn \
91 hme \
92 ${_hptmv} \
93 ${_i2c} \
94 ${_ibcs2} \
95 ${_ichwd} \
96 ${_ida} \
97 ${_idt} \
98 ${_ie} \
99 if_bridge \
100 if_disc \
101 if_ef \
102 if_faith \
103 if_gif \
104 if_gre \
105 ${_if_ndis} \
106 if_ppp \
107 if_sl \
108 if_stf \
109 if_tap \
110 if_tun \
111 if_vlan \
112 ${_iir} \
113 ${_io} \
114 ip6fw \
115 ${_ipfilter} \
116 ipfw \
117 ip_mroute_mod \
118 ${_ips} \
119 isp \
120 ispfw \
121 joy \
122 kue \
123 lge \
124 libiconv \
125 libmbpool \
126 libmchain \
127 ${_linprocfs} \
128 ${_linux} \
129 ${_lnc} \
130 lpt \
131 mac_biba \
132 mac_bsdextended \
133 mac_ifoff \
134 mac_lomac \
135 mac_mls \
136 mac_none \
137 mac_partition \
138 mac_portacl \
139 mac_seeotheruids \
140 mac_stub \
141 mac_test \
142 mcd \
143 md \
144 mem \
145 mii \
146 mlx \
147 ${_mly} \
148 mpt \
149 msdosfs \
150 msdosfs_iconv \
151 my \
152 ${_ncp} \
153 ${_ncv} \
154 ${_ndis} \
155 netgraph \
156 nfsclient \
157 nfsserver \
158 nge \
159 nmdm \
160 ${_nsp} \
161 ntfs \
162 ntfs_iconv \
163 nullfs \
164 ${_nwfs} \
165 ${_oltr} \
166 ${_osf1} \
167 patm \
168 ${_pccard} \
169 ${_pcfclock} \
170 pcn \
171 ${_pecoff} \
172 ${_pf} \
173 plip \
174 ${_pmc} \
175 portalfs \
176 ppbus \
177 ppi \
178 pps \
179 procfs \
180 pseudofs \
181 pst \
182 ${_random} \
183 ${_ray} \
184 rc \
185 rc4 \
186 re \
187 rl \
188 rp \
189 rue \
190 ${_s3} \
191 ${_safe} \
192 ${_sbni} \
193 sbsh \
194 scd \
195 ${_scsi_low} \
196 sf \
197 sis \
198 sk \
199 ${_smbfs} \
200 sn \
201 ${_snc} \
202 snp \
203 ${_sound} \
204 ${_speaker} \
205 ${_splash} \
206 ${_sppp} \
207 ${_sr} \
208 ste \
209 ${_stg} \
210 ${_streams} \
211 sym \
212 ${_syscons} \
213 sysvipc \
214 ti \
215 tl \
216 trm \
217 ${_twa} \
218 twe \
219 tx \
220 txp \
221 uart \
222 ubsa \
223 ubsec \
224 ubser \
225 ucom \
226 udav \
227 udbp \
228 udf \
229 udf_iconv \
230 ufm \
231 ${_ufs} \
232 uftdi \
233 ugen \
234 uhid \
235 ukbd \
236 ulpt \
237 umass \
238 umct \
239 umodem \
240 ums \
241 unionfs \
242 uplcom \
243 urio \
244 usb \
245 uscanner \
246 utopia \
247 uvisor \
248 uvscom \
249 ${_vesa} \
250 vge \
251 vinum \
252 vpo \
253 vr \
254 vx \
255 wb \
256 ${_wi} \
257 wlan \
258 ${_xe} \
259 xl
260
261 .if ${MACHINE_ARCH} != "sparc64"
262 _syscons= syscons
263 .endif
264
265 .if defined(ALL_MODULES)
266 _ufs= ufs
267 .endif
268
269 .if !defined(NOCRYPT) || defined(ALL_MODULES)
270 .if exists(${.CURDIR}/../opencrypto)
271 _crypto= crypto
272 _cryptodev= cryptodev
273 .endif
274 .if exists(${.CURDIR}/../crypto)
275 _random= random
276 .endif
277 .endif
278
279 .if !defined(NO_IPFILTER) || defined(ALL_MODULES)
280 _ipfilter= ipfilter
281 .endif
282
283 .if !defined(NO_PF) || defined(ALL_MODULES)
284 _pf= pf
285 .endif
286
287 .if ${MACHINE_ARCH} == "i386"
288 # XXX some of these can move to the general case when de-i386'ed
289 # XXX some of these can move now, but are untested on other architectures.
290 _3dfx= 3dfx
291 _agp= agp
292 _aic= aic
293 _amd= amd
294 _aout= aout
295 _apm= apm
296 _ar= ar
297 _arcnet= arcnet
298 _ath_hal= ath_hal
299 _awi= awi
300 _bktr= bktr
301 _ce= ce
302 _coff= coff
303 _cp= cp
304 _cpufreq= cpufreq
305 _cs= cs
306 _drm= drm
307 _ed= ed
308 _elink= elink
309 _em= em
310 _ep= ep
311 _ext2fs= ext2fs
312 _fe= fe
313 _hfa= hfa
314 _i2c= i2c
315 _ibcs2= ibcs2
316 _ie= ie
317 _if_ndis= if_ndis
318 _io= io
319 _linprocfs= linprocfs
320 _linux= linux
321 _lnc= lnc
322 _ncp= ncp
323 _ncv= ncv
324 _ndis= ndis
325 _nsp= nsp
326 _nwfs= nwfs
327 _oltr= oltr
328 _pccard= pccard
329 _pcfclock= pcfclock
330 _pecoff= pecoff
331 _ray= ray
332 _safe= safe
333 _sbni= sbni
334 _scsi_low= scsi_low
335 _smbfs= smbfs
336 _sound= sound
337 _speaker= speaker
338 _splash= splash
339 _sppp= sppp
340 _sr= sr
341 _stg= stg
342 _streams= streams
343 _wi= wi
344 _xe= xe
345 .if ${MACHINE} == "i386"
346 _aac= aac
347 _acpi= acpi
348 _ahb= ahb
349 _arl= arl
350 _arcmsr= arcmsr
351 _asr= asr
352 _bios= bios
353 _cardbus= cardbus
354 _cbb= cbb
355 _ciss= ciss
356 _cm= cm
357 _ctau= ctau
358 _cx= cx
359 _dpt= dpt
360 _el= el
361 _ex= ex
362 _exca= exca
363 _hptmv= hptmv
364 _ichwd= ichwd
365 _ida= ida
366 _idt= idt
367 _iir= iir
368 _ips= ips
369 _mly= mly
370 _s3= s3
371 _twa= twa
372 _vesa= vesa
373 .elif ${MACHINE} == "pc98"
374 _canbepm= canbepm
375 _canbus= canbus
376 _pmc= pmc
377 _snc= snc
378 .endif
379 .endif
380
381 .if ${MACHINE_ARCH} == "alpha"
382 _agp= agp
383 _ahb= ahb
384 _ext2fs= ext2fs
385 _linprocfs= linprocfs
386 _linux= linux
387 _osf1= osf1
388 _sound= sound
389 _sppp= sppp
390 .endif
391
392 .if ${MACHINE_ARCH} == "amd64"
393 _agp= agp
394 _arcmsr= arcmsr
395 _cpufreq= cpufreq
396 _drm= drm
397 _if_ndis= if_ndis
398 _io= io
399 _ndis= ndis
400 _sound= sound
401 .endif
402
403 .if ${MACHINE_ARCH} == "ia64"
404 # Modules not enabled on ia64 (as compared to i386) include:
405 # aac acpi aout apm atspeaker drm ibcs2 linprocfs linux ncv
406 # nsp oltr pecoff s3 sbni stg vesa
407 _aic= aic
408 _ar= ar
409 _arcnet= arcnet
410 _asr= asr
411 _bktr= bktr
412 _cardbus= cardbus
413 _cbb= cbb
414 _ciss= ciss
415 _cm= cm
416 _coff= coff
417 _el= el
418 _em= em
419 _ep= ep
420 _exca= exca
421 _fe= fe
422 _hfa= hfa
423 _iir= iir
424 _mly= mly
425 _pccard= pccard
426 _ray= ray
427 _scsi_low= scsi_low
428 _smbfs= smbfs
429 _sound= sound
430 _splash= splash
431 _sppp= sppp
432 _sr= sr
433 _streams= streams
434 _wi= wi
435 _xe= xe
436 .endif
437
438 .if ${MACHINE_ARCH} == "powerpc"
439 _gem= gem
440 .endif
441
442 .if ${MACHINE_ARCH} == "sparc64"
443 _auxio= auxio
444 _gem= gem
445 _sound= sound
446 .endif
447
448 .if defined(MODULES_OVERRIDE) && !defined(ALL_MODULES)
449 SUBDIR=${MODULES_OVERRIDE}
450 .endif
451
452 .for reject in ${WITHOUT_MODULES}
453 SUBDIR:= ${SUBDIR:N${reject}}
454 .endfor
455
456 # Calling kldxref(8) for each module is expensive.
457 .if !defined(NO_XREF)
458 .MAKEFLAGS+= -DNO_XREF
459 afterinstall:
460 @if type kldxref >/dev/null 2>&1; then \
461 ${ECHO} kldxref ${DESTDIR}${KMODDIR}; \
462 kldxref ${DESTDIR}${KMODDIR}; \
463 fi
464 .endif
465
466 .include <bsd.subdir.mk>
Cache object: 614ab4bba1ceef28500fd2b6f9a979f7
|