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