xref: /freebsd-14.2/sys/modules/Makefile (revision fffcbbcd)
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	aic \
105	ar \
106	asr \
107	atspeaker \
108	bktr \
109	coff \
110	el \
111	fpu \
112	gnufpu \
113	ibcs2 \
114	netgraph \
115	mly \
116	oltr \
117	pecoff \
118	ray \
119	s3 \
120	smbfs \
121	splash \
122	sr \
123	streams \
124	vesa \
125	wi
126.endif
127
128.if ${MACHINE} == "pc98"
129SUBDIR+=snc
130.endif
131
132.if ${MACHINE_ARCH} == "alpha"
133SUBDIR+=osf1
134.endif
135
136.if defined(MODULES_OVERRIDE)
137SUBDIR=${MODULES_OVERRIDE}
138.endif
139
140.include <bsd.subdir.mk>
141