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