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