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