]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/modules/Makefile
Hook the aic7xxx modules up. This requires some extra care since aicasm
[FreeBSD/FreeBSD.git] / sys / modules / Makefile
1 # $FreeBSD$
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= 3dfx \
16         accf_data \
17         accf_http \
18         agp \
19         aha \
20         aic7xxx \
21         aio \
22         amr \
23         an \
24         aue \
25         bge \
26         bridge \
27         cam \
28         ccd \
29         cd9660 \
30         coda \
31         ${_crypto} \
32         ${_cryptodev} \
33         cue \
34         dc \
35         de \
36         digi \
37         dummynet \
38         ed \
39         fdc \
40         fdescfs \
41         firewire \
42         fxp \
43         gx \
44         hifn \
45         if_disc \
46         if_ef \
47         if_faith \
48         if_gif \
49         if_gre \
50         if_ppp \
51         if_sl \
52         if_stf \
53         if_tap \
54         if_tun \
55         if_vlan \
56         ip6fw \
57         ip_mroute_mod \
58         ipfw \
59         isp \
60         ispfw \
61         joy \
62         kue \
63         lge \
64         libiconv \
65         libmchain \
66         lnc \
67         lpt \
68         mac_biba \
69         mac_bsdextended \
70         mac_ifoff \
71         mac_mls \
72         mac_none \
73         mac_partition \
74         mac_seeotheruids \
75         mac_test \
76         mcd \
77         md \
78         mii \
79         mlx \
80         mpt \
81         msdosfs \
82         nfsclient \
83         nfsserver \
84         nge \
85         nmdm \
86         ntfs \
87         nullfs \
88         pcn \
89         plip \
90         portalfs \
91         ppbus \
92         ppi \
93         pps \
94         procfs \
95         pseudofs \
96         ${_random} \
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} == "i386"
156 SUBDIR+=aac \
157         acpi \
158         aic \
159         aout \
160         apm \
161         ar \
162         arcnet \
163         asr \
164         atspeaker \
165         bktr \
166         cardbus \
167         cbb \
168         ciss \
169         cm \
170         coff \
171         drm \
172         el \
173         em \
174         ep \
175         exca \
176         fe \
177         fpu \
178         gnufpu \
179         hea \
180         hfa \
181         ibcs2 \
182         iir \
183         linprocfs \
184         linux \
185         lomac \
186         mly \
187         ncv \
188         netgraph \
189         nsp \
190         oltr \
191         pccard \
192         pecoff \
193         ray \
194         rc \
195         s3 \
196         sbni \
197         scsi_low \
198         smbfs \
199         sound \
200         splash \
201         sppp \
202         sr \
203         stg \
204         streams \
205         vesa \
206         vinum \
207         wi \
208         xe
209 .endif
210
211 .if ${MACHINE} == "pc98"
212 SUBDIR+=aic \
213         aout \
214         apm \
215         ar \
216         arcnet \
217         bktr \
218         coff \
219         em \
220         ep \
221         fe \
222         fpu \
223         gnufpu \
224         hea \
225         hfa \
226         ibcs2 \
227         linprocfs \
228         linux \
229         lomac \
230         ncv \
231         netgraph \
232         nsp \
233         oltr \
234         pccard \
235         pcspeaker \
236         pecoff \
237         pmc \
238         ray \
239         sbni \
240         scsi_low \
241         smbfs \
242         snc \
243         sound \
244         splash \
245         sppp \
246         sr \
247         stg \
248         streams \
249         vinum \
250         wi \
251         xe
252 .endif
253
254 .if ${MACHINE_ARCH} == "ia64"
255 # Modules not enabled on ia64 (as compared to i386) include:
256 #       aac acpi aout apm atspeaker drm fpu gnufpu ibcs2 linprocfs linux ncv
257 #       nsp oltr pecoff s3 sbni stg vesa
258 SUBDIR+=aic \
259         ar \
260         arcnet \
261         asr \
262         bktr \
263         cardbus \
264         cbb \
265         ciss \
266         cm \
267         coff \
268         el \
269         em \
270         ep \
271         exca \
272         fe \
273         hea \
274         hfa \
275         iir \
276         lomac \
277         mly \
278         netgraph \
279         pccard \
280         ray \
281         rc \
282         scsi_low \
283         smbfs \
284         sound \
285         splash \
286         sppp \
287         sr \
288         streams \
289         vinum \
290         wi \
291         xe
292 .endif
293
294 .if ${MACHINE_ARCH} == "alpha"
295 SUBDIR+=linprocfs \
296         linux \
297         lomac \
298         osf1 \
299         sound \
300         sppp \
301         vinum
302 .endif
303
304 .if defined(MODULES_OVERRIDE) && !defined(ALL_MODULES)
305 SUBDIR=${MODULES_OVERRIDE}
306 .endif
307
308 # Calling kldxref(8) for each module is expensive.
309 .if !defined(NO_XREF)
310 .MAKEFLAGS:=    ${.MAKEFLAGS} -DNO_XREF
311 afterinstall:
312         @if type kldxref >/dev/null 2>&1; then \
313                 ${ECHO} kldxref ${DESTDIR}${KMODDIR}; \
314                 kldxref ${DESTDIR}${KMODDIR}; \
315         fi
316 .endif
317
318 .include <bsd.subdir.mk>