xref: /netbsd-src/sys/modules/Makefile (revision 36a7970f3ca969e60c2740bc8a6eebfb895840c0)
1#	$NetBSD: Makefile,v 1.29 2009/03/10 14:56:30 yamt Exp $
2
3# For all platforms
4
5SUBDIR=		accf_dataready
6SUBDIR+=	accf_httpready
7SUBDIR+=	adosfs
8SUBDIR+=	aio
9SUBDIR+=	cd9660
10SUBDIR+=	coda
11SUBDIR+=	coda5
12SUBDIR+=	compat
13SUBDIR+=	compat_ossaudio
14SUBDIR+=	coredump
15SUBDIR+=	efs
16SUBDIR+=	ext2fs
17SUBDIR+=	exec_script
18SUBDIR+=	fdesc
19SUBDIR+=	ffs
20SUBDIR+=	filecore
21SUBDIR+=	fss
22SUBDIR+=	hfs
23SUBDIR+=	kernfs
24SUBDIR+=	ksem
25SUBDIR+=	layerfs
26SUBDIR+=	lfs
27SUBDIR+=	mfs
28SUBDIR+=	msdos
29SUBDIR+=	nfs
30SUBDIR+=	nfsserver
31SUBDIR+=	ntfs
32SUBDIR+=	null
33SUBDIR+=	overlay
34SUBDIR+=	portal
35SUBDIR+=	ppp_bsdcomp
36SUBDIR+=	ppp_deflate
37SUBDIR+=	procfs
38SUBDIR+=	ptyfs
39SUBDIR+=	puffs
40SUBDIR+=	putter
41SUBDIR+=	miniroot
42SUBDIR+=	smbfs
43SUBDIR+=	sysvbfs
44SUBDIR+=	tmpfs
45SUBDIR+=	udf
46SUBDIR+=	umap
47SUBDIR+=	union
48SUBDIR+=	vnd
49SUBDIR+=	tprof
50.if (defined(NOTYET))
51SUBDIR+=	unionfs
52.endif
53
54# Machine dependent section
55.if ${MACHINE_ARCH} != "alpha"
56SUBDIR+=	exec_elf32
57.endif
58
59.if ${MACHINE_ARCH} == "alpha" || \
60    ${MACHINE_ARCH} == "sparc64" || \
61    ${MACHINE_ARCH} == "x86_64"
62SUBDIR+=	exec_elf64
63.endif
64
65.if ${MACHINE_ARCH} == "i386" || \
66    ${MACHINE_ARCH} == "x86_64"
67SUBDIR+=	tprof_pmi
68.endif
69
70.if ${MACHINE_ARCH} == "x86_64"
71SUBDIR+=	azalia
72SUBDIR+=	compat_linux
73SUBDIR+=	compat_linux32
74SUBDIR+=	compat_netbsd32
75SUBDIR+=	drm
76SUBDIR+=	i915drm
77.endif
78
79.if ${MACHINE_ARCH} == "i386"
80SUBDIR+=	azalia
81SUBDIR+=	compat_freebsd
82SUBDIR+=	compat_ibcs2
83SUBDIR+=	compat_linux
84SUBDIR+=	compat_svr4
85SUBDIR+=	drm
86SUBDIR+=	exec_aout
87SUBDIR+=	i915drm
88SUBDIR+=	radeondrm
89.endif
90
91.include <bsd.own.mk>
92
93# we need our device mapper for LVM
94.if (${MKLVM} != "no")
95SUBDIR+= 	dm
96.endif
97
98.include <bsd.subdir.mk>
99