Makefile revision 1.46
1#	$NetBSD: Makefile,v 1.46 2010/05/31 20:32:29 pgoyette 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+=	miiverbose
32SUBDIR+=	miniroot
33SUBDIR+=	mqueue
34SUBDIR+=	msdos
35SUBDIR+=	nfs
36SUBDIR+=	nfsserver
37SUBDIR+=	nilfs
38SUBDIR+=	ntfs
39SUBDIR+=	null
40SUBDIR+=	overlay
41SUBDIR+=	pciverbose
42SUBDIR+=	pf
43SUBDIR+=	ppp_bsdcomp
44SUBDIR+=	ppp_deflate
45SUBDIR+=	procfs
46SUBDIR+=	ptyfs
47SUBDIR+=	puffs
48SUBDIR+=	putter
49SUBDIR+=	scsiverbose
50SUBDIR+=	secmodel_bsd44
51SUBDIR+=	secmodel_overlay
52SUBDIR+=	securelevel
53SUBDIR+=	smbfs
54SUBDIR+=	sysvbfs
55SUBDIR+=	suser
56SUBDIR+=	tmpfs
57SUBDIR+=	udf
58SUBDIR+=	umap
59SUBDIR+=	union
60SUBDIR+=	usbverbose
61SUBDIR+=	vnd
62SUBDIR+=	tprof
63.if (defined(NOTYET))
64SUBDIR+=	unionfs
65.endif
66.if ${MKBINUTILS} != "no"
67SUBDIR+=	xldscripts
68.endif
69
70# Machine dependent section
71.if ${MACHINE_ARCH} != "alpha"
72SUBDIR+=	exec_elf32
73.endif
74
75.if ${MACHINE_ARCH} == "alpha" || \
76    ${MACHINE_ARCH} == "sparc64" || \
77    ${MACHINE_ARCH} == "x86_64"
78SUBDIR+=	exec_elf64
79.endif
80
81.if ${MACHINE_ARCH} == "i386" || \
82    ${MACHINE_ARCH} == "x86_64"
83SUBDIR+=	tprof_pmi
84.endif
85
86.if ${MACHINE_ARCH} == "i386" || \
87    ${MACHINE_ARCH} == "ia64" || \
88    ${MACHINE_ARCH} == "x86_64"
89SUBDIR+=	acpiverbose
90.endif
91
92.if ${MACHINE_ARCH} == "x86_64"
93SUBDIR+=	azalia
94SUBDIR+=	compat_linux
95SUBDIR+=	compat_linux32
96SUBDIR+=	compat_netbsd32
97SUBDIR+=	drm
98SUBDIR+=	i915drm
99SUBDIR+=	pad
100.endif
101
102.if ${MACHINE_ARCH} == "i386"
103SUBDIR+=	azalia
104SUBDIR+=	compat_freebsd
105SUBDIR+=	compat_ibcs2
106SUBDIR+=	compat_linux
107SUBDIR+=	compat_svr4
108SUBDIR+=	drm
109SUBDIR+=	exec_aout
110SUBDIR+=	i915drm
111SUBDIR+=	radeondrm
112SUBDIR+=	viadrm
113SUBDIR+=	pad
114.endif
115
116.include <bsd.own.mk>
117
118# we need our device mapper for LVM
119.if (${MKLVM} != "no")
120SUBDIR+= 	dm
121.endif
122
123.if (${MKDTRACE} != "no")
124SUBDIR+=	dtrace
125.endif
126
127# we need solaris for the dtrace and zfs modules
128.if (${MKDTRACE} != "no" || ${MKZFS} != "no")
129SUBDIR+=        solaris
130.endif
131
132.if (${MKZFS} != "no")
133SUBDIR+=	zfs
134.endif
135
136.include <bsd.subdir.mk>
137