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