FreeBSD/Linux Kernel Cross Reference
sys/modules/Makefile
1 # $FreeBSD: releng/5.2/sys/modules/Makefile 123136 2003-12-03 21:13:06Z jhb $
2
3 .if !defined(NOCRYPT) || defined(ALL_MODULES)
4 .if exists(${.CURDIR}/../opencrypto)
5 _crypto= crypto
6 _cryptodev= cryptodev
7 .endif
8 .if exists(${.CURDIR}/../crypto)
9 _random= random
10 .endif
11 .endif
12
13 SUBDIR= accf_data \
14 accf_http \
15 aha \
16 aic7xxx \
17 aio \
18 amr \
19 an \
20 ath \
21 aue \
22 axe \
23 bfe \
24 bge \
25 bridge \
26 cam \
27 cd9660 \
28 cd9660_iconv \
29 coda \
30 coda5 \
31 ${_crypto} \
32 ${_cryptodev} \
33 cue \
34 dc \
35 dcons \
36 dcons_crom \
37 de \
38 digi \
39 dummynet \
40 en \
41 fatm \
42 fdc \
43 fdescfs \
44 firewire \
45 fxp \
46 geom \
47 gx \
48 harp \
49 hatm \
50 hifn \
51 if_disc \
52 if_ef \
53 if_faith \
54 if_gif \
55 if_gre \
56 if_ppp \
57 if_sl \
58 if_stf \
59 if_tap \
60 if_tun \
61 if_vlan \
62 ip6fw \
63 ip_mroute_mod \
64 ipfw \
65 isp \
66 ispfw \
67 joy \
68 kue \
69 lge \
70 libiconv \
71 libmbpool \
72 libmchain \
73 lpt \
74 mac_biba \
75 mac_bsdextended \
76 mac_ifoff \
77 mac_lomac \
78 mac_mls \
79 mac_none \
80 mac_partition \
81 mac_portacl \
82 mac_seeotheruids \
83 mac_stub \
84 mac_test \
85 mcd \
86 md \
87 mii \
88 mlx \
89 mpt \
90 msdosfs \
91 msdosfs_iconv \
92 my \
93 nfsclient \
94 nfsserver \
95 nge \
96 nmdm \
97 ntfs \
98 ntfs_iconv \
99 nullfs \
100 patm \
101 pcn \
102 plip \
103 portalfs \
104 ppbus \
105 ppi \
106 pps \
107 procfs \
108 pseudofs \
109 pst \
110 raidframe \
111 ${_random} \
112 rc \
113 rc4 \
114 re \
115 rl \
116 rp \
117 rue \
118 sbsh \
119 scd \
120 sf \
121 sis \
122 sk \
123 sn \
124 snp \
125 ste \
126 sym \
127 sysvipc \
128 ti \
129 tl \
130 trm \
131 twe \
132 tx \
133 txp \
134 uart \
135 ubsa \
136 ubsec \
137 ucom \
138 udbp \
139 udf \
140 udf_iconv \
141 ufm \
142 uftdi \
143 ugen \
144 uhid \
145 ukbd \
146 ulpt \
147 umapfs \
148 umass \
149 umct \
150 umodem \
151 ums \
152 unionfs \
153 uplcom \
154 urio \
155 usb \
156 uscanner \
157 utopia \
158 uvisor \
159 uvscom \
160 vpo \
161 vr \
162 vx \
163 wb \
164 wlan \
165 xl
166
167 .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "alpha"
168 .if defined(WANT_EXT2FS_MODULE) || defined(ALL_MODULES)
169 SUBDIR+=ext2fs
170 .endif
171 .endif
172
173 .if !defined(NO_IPFILTER) || defined(ALL_MODULES)
174 SUBDIR+=ipfilter
175 .endif
176
177 .if ${MACHINE_ARCH} != "sparc64"
178 SUBDIR+=syscons
179 .endif
180
181 # XXX some of these can move to the general case when de-i386'ed
182 # XXX some of these can move now, but are untested on other architectures.
183 .if ${MACHINE_ARCH} == "i386"
184 SUBDIR+=3dfx \
185 agp \
186 aic \
187 amd \
188 aout \
189 apm \
190 ar \
191 arcnet \
192 ath_hal \
193 awi \
194 bktr \
195 coff \
196 drm \
197 ed \
198 elink \
199 em \
200 ep \
201 fe \
202 hea \
203 hfa \
204 i2c \
205 ibcs2 \
206 ie \
207 linprocfs \
208 linux \
209 lnc \
210 ncp \
211 ncv \
212 netgraph \
213 nsp \
214 nwfs \
215 oltr \
216 pccard \
217 pcfclock \
218 pecoff \
219 ray \
220 safe \
221 sbni \
222 scsi_low \
223 smbfs \
224 sound \
225 speaker \
226 splash \
227 sppp \
228 sr \
229 stg \
230 streams \
231 vinum \
232 wi \
233 xe
234
235 .if ${MACHINE} == "i386"
236 SUBDIR+=aac \
237 acpi \
238 asr \
239 bios \
240 cardbus \
241 cbb \
242 ciss \
243 cm \
244 dpt \
245 el \
246 ex \
247 exca \
248 idt \
249 iir \
250 ips \
251 mly \
252 s3 \
253 vesa
254
255 .elif ${MACHINE} == "pc98"
256 SUBDIR+=canbepm \
257 canbus \
258 pmc \
259 snc
260 .endif
261 .endif
262
263 .if ${MACHINE_ARCH} == "ia64"
264 # Modules not enabled on ia64 (as compared to i386) include:
265 # aac acpi aout apm atspeaker drm ibcs2 linprocfs linux ncv
266 # nsp oltr pecoff s3 sbni stg vesa
267 SUBDIR+=aic \
268 ar \
269 arcnet \
270 asr \
271 bktr \
272 cardbus \
273 cbb \
274 ciss \
275 cm \
276 coff \
277 el \
278 em \
279 ep \
280 exca \
281 fe \
282 hea \
283 hfa \
284 iir \
285 mly \
286 netgraph \
287 pccard \
288 ray \
289 rc \
290 scsi_low \
291 smbfs \
292 sound \
293 splash \
294 sppp \
295 sr \
296 streams \
297 vinum \
298 wi \
299 xe
300 .endif
301
302 .if ${MACHINE_ARCH} == "alpha"
303 SUBDIR+=agp \
304 linprocfs \
305 linux \
306 osf1 \
307 sound \
308 sppp \
309 vinum
310 .endif
311
312 .if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "sparc64"
313 SUBDIR+=gem
314 .endif
315
316 .if ${MACHINE_ARCH} == "sparc64"
317 SUBDIR+=hme
318 .endif
319
320 .if defined(ALL_MODULES)
321 SUBDIR+=null
322 SUBDIR+=ufs
323 .endif
324
325 .if defined(MODULES_OVERRIDE) && !defined(ALL_MODULES)
326 SUBDIR=${MODULES_OVERRIDE}
327 .endif
328
329 # pcic -- currently broken and being worked on out of tree.
330 # oldcard -- specialized use for debugging only.
331 # owi -- totally unsupported for debugging only.
332
333 # Calling kldxref(8) for each module is expensive.
334 .if !defined(NO_XREF)
335 .MAKEFLAGS+= -DNO_XREF
336 afterinstall:
337 @if type kldxref >/dev/null 2>&1; then \
338 ${ECHO} kldxref ${DESTDIR}${KMODDIR}; \
339 kldxref ${DESTDIR}${KMODDIR}; \
340 fi
341 .endif
342
343 .include <bsd.subdir.mk>
Cache object: e8d10d40ae4929a444628a082bfc3983
|