1# $FreeBSD: head/sys/modules/Makefile 83768 2001-09-21 11:21:06Z ru $
2
3.if exists(${.CURDIR}/../crypto) && !defined(NOCRYPT)
4_random= random
5.endif
6
7SUBDIR= 3dfx \
8 accf_data \
9 accf_http \
10 agp \
11 aha \
12 amr \
13 an \
14 aue \
15 cam \
16 ccd \
17 cd9660 \
18 coda \
19 cue \
20 dc \
21 de \
22 digi \
23 ed \
24 fdescfs \
25 fdc \
26 fs \
27 fxp \
28 if_disc \
29 if_ef \
30 if_gif \
31 if_ppp \
32 if_sl \
33 if_stf \
34 if_tap \
35 if_tun \
36 if_vlan \
37 ip6fw \
38 ip_mroute_mod \
39 ipfilter \
40 ipfw \
41 ispfw \
42 joy \
43 kue \
44 lge \
45 libmchain \
46 linux \
47 lnc \
48 md \
49 mii \
50 mlx \
51 msdosfs \
52 nfsclient \
53 nfsserver \
54 nge \
55 nmdm \
56 ntfs \
57 nullfs \
58 pcn \
59 portalfs \
60 procfs \
61 ${_random} \
62 rl \
63 rp \
64 sf \
65 sis \
66 sk \
67 sn \
68 snp \
69 sound \
70 sppp \
71 ste \
72 sym \
73 syscons \
74 sysvipc \
75 ti \
76 tl \
77 twe \
78 tx \
79 txp \
80 udbp \
81 ugen \
82 uhid \
83 ukbd \
84 ulpt \
85 umapfs \
86 umass \
87 umodem \
88 ums \
89 unionfs \
90 urio \
91 usb \
92 uscanner \
93 vinum \
94 vpo \
95 vr \
96 vx \
97 wb \
98 wx \
99 xl
100
101#removed while KSE settles in:
102# ncp \
103# nwfs \
104# XXX some of these can move to the general case when de-i386'ed
105.if ${MACHINE_ARCH} == "i386"
106SUBDIR+=aac \
107 acpi \
108 aic \
109 ar \
110 asr \
111 atspeaker \
112 bktr \
113 coff \
114 el \
115 fe \
116 fpu \
117 gnufpu \
118 ibcs2 \
119 netgraph \
120 mly \
121 oltr \
122 pecoff \
123 ray \
124 s3 \
125 splash \
126 sr \
127 streams \
128 vesa \
129 wi
130.endif
131#removed while KSE settles in:
132# smbfs \
133
134.if ${MACHINE} == "pc98"
135SUBDIR+=snc
136.endif
137
138.if ${MACHINE_ARCH} == "alpha"
139SUBDIR+=osf1
140.endif
141
142.if defined(WANT_EXT2FS_MODULE)
143SUBDIR+=ext2fs
144.endif
145
146.if defined(MODULES_OVERRIDE)
147SUBDIR=${MODULES_OVERRIDE}
148.endif
149
150# Calling kldxref(8) for each module is expensive.
151.if !defined(NO_XREF)
152.MAKEFLAGS:= ${.MAKEFLAGS} -DNO_XREF
153afterinstall:
154 -kldxref ${DESTDIR}${KMODDIR}
155.endif
156
157.include <bsd.subdir.mk>
2
3.if exists(${.CURDIR}/../crypto) && !defined(NOCRYPT)
4_random= random
5.endif
6
7SUBDIR= 3dfx \
8 accf_data \
9 accf_http \
10 agp \
11 aha \
12 amr \
13 an \
14 aue \
15 cam \
16 ccd \
17 cd9660 \
18 coda \
19 cue \
20 dc \
21 de \
22 digi \
23 ed \
24 fdescfs \
25 fdc \
26 fs \
27 fxp \
28 if_disc \
29 if_ef \
30 if_gif \
31 if_ppp \
32 if_sl \
33 if_stf \
34 if_tap \
35 if_tun \
36 if_vlan \
37 ip6fw \
38 ip_mroute_mod \
39 ipfilter \
40 ipfw \
41 ispfw \
42 joy \
43 kue \
44 lge \
45 libmchain \
46 linux \
47 lnc \
48 md \
49 mii \
50 mlx \
51 msdosfs \
52 nfsclient \
53 nfsserver \
54 nge \
55 nmdm \
56 ntfs \
57 nullfs \
58 pcn \
59 portalfs \
60 procfs \
61 ${_random} \
62 rl \
63 rp \
64 sf \
65 sis \
66 sk \
67 sn \
68 snp \
69 sound \
70 sppp \
71 ste \
72 sym \
73 syscons \
74 sysvipc \
75 ti \
76 tl \
77 twe \
78 tx \
79 txp \
80 udbp \
81 ugen \
82 uhid \
83 ukbd \
84 ulpt \
85 umapfs \
86 umass \
87 umodem \
88 ums \
89 unionfs \
90 urio \
91 usb \
92 uscanner \
93 vinum \
94 vpo \
95 vr \
96 vx \
97 wb \
98 wx \
99 xl
100
101#removed while KSE settles in:
102# ncp \
103# nwfs \
104# XXX some of these can move to the general case when de-i386'ed
105.if ${MACHINE_ARCH} == "i386"
106SUBDIR+=aac \
107 acpi \
108 aic \
109 ar \
110 asr \
111 atspeaker \
112 bktr \
113 coff \
114 el \
115 fe \
116 fpu \
117 gnufpu \
118 ibcs2 \
119 netgraph \
120 mly \
121 oltr \
122 pecoff \
123 ray \
124 s3 \
125 splash \
126 sr \
127 streams \
128 vesa \
129 wi
130.endif
131#removed while KSE settles in:
132# smbfs \
133
134.if ${MACHINE} == "pc98"
135SUBDIR+=snc
136.endif
137
138.if ${MACHINE_ARCH} == "alpha"
139SUBDIR+=osf1
140.endif
141
142.if defined(WANT_EXT2FS_MODULE)
143SUBDIR+=ext2fs
144.endif
145
146.if defined(MODULES_OVERRIDE)
147SUBDIR=${MODULES_OVERRIDE}
148.endif
149
150# Calling kldxref(8) for each module is expensive.
151.if !defined(NO_XREF)
152.MAKEFLAGS:= ${.MAKEFLAGS} -DNO_XREF
153afterinstall:
154 -kldxref ${DESTDIR}${KMODDIR}
155.endif
156
157.include <bsd.subdir.mk>