FreeBSD/Linux Kernel Cross Reference
sys/modules/Makefile
1 # $FreeBSD: releng/5.0/sys/modules/Makefile 107804 2002-12-13 00:32:29Z jake $
2
3 .if exists(${.CURDIR}/../opencrypto) && !defined(NOCRYPT)
4 _crypto= crypto
5 _cryptodev= cryptodev
6 .endif
7 .if exists(${.CURDIR}/../crypto) && !defined(NOCRYPT)
8 _random= random
9 .endif
10
11 # Removed while KSE settles in:
12 # ncp \
13 # nwfs \
14
15 SUBDIR= accf_data \
16 accf_http \
17 agp \
18 aha \
19 aic7xxx \
20 aio \
21 amr \
22 an \
23 aue \
24 bge \
25 bridge \
26 cam \
27 ccd \
28 cd9660 \
29 coda \
30 ${_crypto} \
31 ${_cryptodev} \
32 cue \
33 dc \
34 de \
35 digi \
36 dummynet \
37 fdc \
38 fdescfs \
39 firewire \
40 fxp \
41 gx \
42 hifn \
43 if_disc \
44 if_ef \
45 if_faith \
46 if_gif \
47 if_gre \
48 if_ppp \
49 if_sl \
50 if_stf \
51 if_tap \
52 if_tun \
53 if_vlan \
54 ip6fw \
55 ip_mroute_mod \
56 ipfw \
57 isp \
58 ispfw \
59 joy \
60 kue \
61 lge \
62 libiconv \
63 libmchain \
64 lpt \
65 mac_biba \
66 mac_bsdextended \
67 mac_ifoff \
68 mac_lomac \
69 mac_mls \
70 mac_none \
71 mac_partition \
72 mac_seeotheruids \
73 mac_test \
74 mcd \
75 md \
76 mii \
77 mlx \
78 mpt \
79 msdosfs \
80 nfsclient \
81 nfsserver \
82 nge \
83 nmdm \
84 ntfs \
85 nullfs \
86 pcn \
87 plip \
88 portalfs \
89 ppbus \
90 ppi \
91 pps \
92 procfs \
93 pseudofs \
94 raidframe \
95 ${_random} \
96 rc \
97 rl \
98 rp \
99 sf \
100 sis \
101 sk \
102 sn \
103 snp \
104 ste \
105 sym \
106 sysvipc \
107 ti \
108 tl \
109 trm \
110 twe \
111 tx \
112 txp \
113 ubsa \
114 ubsec \
115 ucom \
116 udbp \
117 udf \
118 ufm \
119 uftdi \
120 ugen \
121 uhid \
122 ukbd \
123 ulpt \
124 umapfs \
125 umass \
126 umodem \
127 ums \
128 unionfs \
129 uplcom \
130 urio \
131 usb \
132 uscanner \
133 uvisor \
134 uvscom \
135 vpo \
136 vr \
137 vx \
138 wb \
139 xl
140
141 .if defined(WANT_EXT2FS_MODULE)
142 SUBDIR+=ext2fs
143 .endif
144
145 .if !defined(NO_IPFILTER)
146 SUBDIR+=ipfilter
147 .endif
148
149 .if ${MACHINE_ARCH} != "sparc64"
150 SUBDIR+=syscons
151 .endif
152
153 # XXX some of these can move to the general case when de-i386'ed
154 # XXX some of these can move now, but are untested on other architectures.
155 .if ${MACHINE_ARCH} == "i386"
156 SUBDIR+=3dfx \
157 aic \
158 aout \
159 apm \
160 ar \
161 arcnet \
162 awi \
163 bktr \
164 coff \
165 ed \
166 em \
167 ep \
168 fe \
169 fpu \
170 gnufpu \
171 hea \
172 hfa \
173 ibcs2 \
174 linprocfs \
175 linux \
176 lnc \
177 ncv \
178 netgraph \
179 nsp \
180 oltr \
181 pccard \
182 pecoff \
183 ray \
184 sbni \
185 scsi_low \
186 smbfs \
187 sound \
188 splash \
189 sppp \
190 sr \
191 stg \
192 streams \
193 vinum \
194 wi \
195 xe
196
197 .if ${MACHINE} == "i386"
198 SUBDIR+=aac \
199 acpi \
200 asr \
201 atspeaker \
202 cardbus \
203 cbb \
204 ciss \
205 cm \
206 drm \
207 el \
208 exca \
209 iir \
210 mly \
211 s3 \
212 vesa
213
214 .elif ${MACHINE} == "pc98"
215 SUBDIR+=pcspeaker \
216 pmc \
217 snc
218 .endif
219 .endif
220
221 .if ${MACHINE_ARCH} == "ia64"
222 # Modules not enabled on ia64 (as compared to i386) include:
223 # aac acpi aout apm atspeaker drm fpu gnufpu ibcs2 linprocfs linux ncv
224 # nsp oltr pecoff s3 sbni stg vesa
225 SUBDIR+=aic \
226 ar \
227 arcnet \
228 asr \
229 bktr \
230 cardbus \
231 cbb \
232 ciss \
233 cm \
234 coff \
235 el \
236 em \
237 ep \
238 exca \
239 fe \
240 hea \
241 hfa \
242 iir \
243 mly \
244 netgraph \
245 pccard \
246 ray \
247 rc \
248 scsi_low \
249 smbfs \
250 sound \
251 splash \
252 sppp \
253 sr \
254 streams \
255 vinum \
256 wi \
257 xe
258 .endif
259
260 .if ${MACHINE_ARCH} == "alpha"
261 SUBDIR+=linprocfs \
262 linux \
263 osf1 \
264 sound \
265 sppp \
266 vinum
267 .endif
268
269 .if defined(MODULES_OVERRIDE) && !defined(ALL_MODULES)
270 SUBDIR=${MODULES_OVERRIDE}
271 .endif
272
273 # Calling kldxref(8) for each module is expensive.
274 .if !defined(NO_XREF) && ${MACHINE_ARCH} != "sparc64"
275 .MAKEFLAGS:= ${.MAKEFLAGS} -DNO_XREF
276 afterinstall:
277 @if type kldxref >/dev/null 2>&1; then \
278 ${ECHO} kldxref ${DESTDIR}${KMODDIR}; \
279 kldxref ${DESTDIR}${KMODDIR}; \
280 fi
281 .endif
282
283 .include <bsd.subdir.mk>
Cache object: 6cabcb55cd7f614b17cbbdf58fc28f27
|