xref: /freebsd/sys/modules/Makefile (revision 0fddbf874719b9bd50cf66ac26d1140bb3f2be69)
1# $FreeBSD$
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	ip6fw \
37	ip_mroute_mod \
38	ipfilter \
39	ipfw \
40	ispfw \
41	joy \
42	kue \
43	lge \
44	libmchain \
45	linux \
46	lnc \
47	md \
48	mii \
49	mlx \
50	msdosfs \
51	ncp \
52	nfs \
53	nge \
54	nmdm \
55	ntfs \
56	nullfs \
57	nwfs \
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# XXX some of these can move to the general case when de-i386'ed
102.if ${MACHINE_ARCH} == "i386"
103SUBDIR+=aac \
104	acpi \
105	aic \
106	ar \
107	asr \
108	atspeaker \
109	bktr \
110	coff \
111	el \
112	fe \
113	fpu \
114	gnufpu \
115	ibcs2 \
116	netgraph \
117	mly \
118	oltr \
119	pecoff \
120	ray \
121	s3 \
122	smbfs \
123	splash \
124	sr \
125	streams \
126	vesa \
127	wi
128.endif
129
130.if ${MACHINE} == "pc98"
131SUBDIR+=snc
132.endif
133
134.if ${MACHINE_ARCH} == "alpha"
135SUBDIR+=osf1
136.endif
137
138.if defined(MODULES_OVERRIDE)
139SUBDIR=${MODULES_OVERRIDE}
140.endif
141
142.include <bsd.subdir.mk>
143