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