Makefile revision 1.45
1#	$NetBSD: Makefile,v 1.45 2010/05/30 17:44:07 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} == "x86_64"
87SUBDIR+=	azalia
88SUBDIR+=	compat_linux
89SUBDIR+=	compat_linux32
90SUBDIR+=	compat_netbsd32
91SUBDIR+=	drm
92SUBDIR+=	i915drm
93SUBDIR+=	pad
94.endif
95
96.if ${MACHINE_ARCH} == "i386"
97SUBDIR+=	azalia
98SUBDIR+=	compat_freebsd
99SUBDIR+=	compat_ibcs2
100SUBDIR+=	compat_linux
101SUBDIR+=	compat_svr4
102SUBDIR+=	drm
103SUBDIR+=	exec_aout
104SUBDIR+=	i915drm
105SUBDIR+=	radeondrm
106SUBDIR+=	viadrm
107SUBDIR+=	pad
108.endif
109
110.include <bsd.own.mk>
111
112# we need our device mapper for LVM
113.if (${MKLVM} != "no")
114SUBDIR+= 	dm
115.endif
116
117.if (${MKDTRACE} != "no")
118SUBDIR+=	dtrace
119.endif
120
121# we need solaris for the dtrace and zfs modules
122.if (${MKDTRACE} != "no" || ${MKZFS} != "no")
123SUBDIR+=        solaris
124.endif
125
126.if (${MKZFS} != "no")
127SUBDIR+=	zfs
128.endif
129
130.include <bsd.subdir.mk>
131