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