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