Makefile revision 1.34
1#	$NetBSD: Makefile,v 1.34 2009/10/05 22:32:58 haad 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+=	mqueue
29SUBDIR+=	msdos
30SUBDIR+=	nfs
31SUBDIR+=	nfsserver
32SUBDIR+=	nilfs
33SUBDIR+=	ntfs
34SUBDIR+=	null
35SUBDIR+=	overlay
36SUBDIR+=	portal
37SUBDIR+=	ppp_bsdcomp
38SUBDIR+=	ppp_deflate
39SUBDIR+=	procfs
40SUBDIR+=	ptyfs
41SUBDIR+=	puffs
42SUBDIR+=	putter
43SUBDIR+=	miniroot
44SUBDIR+=	secmodel_bsd44
45SUBDIR+=	secmodel_overlay
46SUBDIR+=	securelevel
47SUBDIR+=	smbfs
48SUBDIR+=	sysvbfs
49SUBDIR+=	suser
50SUBDIR+=	tmpfs
51SUBDIR+=	udf
52SUBDIR+=	umap
53SUBDIR+=	union
54SUBDIR+=	vnd
55SUBDIR+=	tprof
56.if (defined(NOTYET))
57SUBDIR+=	unionfs
58.endif
59
60# Machine dependent section
61.if ${MACHINE_ARCH} != "alpha"
62SUBDIR+=	exec_elf32
63.endif
64
65.if ${MACHINE_ARCH} == "alpha" || \
66    ${MACHINE_ARCH} == "sparc64" || \
67    ${MACHINE_ARCH} == "x86_64"
68SUBDIR+=	exec_elf64
69.endif
70
71.if ${MACHINE_ARCH} == "i386" || \
72    ${MACHINE_ARCH} == "x86_64"
73SUBDIR+=	tprof_pmi
74.endif
75
76.if ${MACHINE_ARCH} == "x86_64"
77SUBDIR+=	azalia
78SUBDIR+=	compat_linux
79SUBDIR+=	compat_linux32
80SUBDIR+=	compat_netbsd32
81SUBDIR+=	drm
82SUBDIR+=	i915drm
83.endif
84
85.if ${MACHINE_ARCH} == "i386"
86SUBDIR+=	azalia
87SUBDIR+=	compat_freebsd
88SUBDIR+=	compat_ibcs2
89SUBDIR+=	compat_linux
90SUBDIR+=	compat_svr4
91SUBDIR+=	drm
92SUBDIR+=	exec_aout
93SUBDIR+=	i915drm
94SUBDIR+=	radeondrm
95SUBDIR+=	viadrm
96.endif
97
98.include <bsd.own.mk>
99
100# we need our device mapper for LVM
101.if (${MKLVM} != "no")
102SUBDIR+= 	dm
103.endif
104
105# we need solaris and zfs modules for ZFS
106.if (${MKZFS} != "no")
107SUBDIR+=        solaris
108SUBDIR+=	zfs
109.endif
110
111.include <bsd.subdir.mk>
112