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