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