Makefile revision 1.42
1#	$NetBSD: Makefile,v 1.42 2010/05/24 20:29:41 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+=	secmodel_bsd44
49SUBDIR+=	secmodel_overlay
50SUBDIR+=	securelevel
51SUBDIR+=	smbfs
52SUBDIR+=	sysvbfs
53SUBDIR+=	suser
54SUBDIR+=	tmpfs
55SUBDIR+=	udf
56SUBDIR+=	umap
57SUBDIR+=	union
58SUBDIR+=	vnd
59SUBDIR+=	tprof
60.if (defined(NOTYET))
61SUBDIR+=	unionfs
62.endif
63.if ${MKBINUTILS} != "no"
64SUBDIR+=	xldscripts
65.endif
66
67# Machine dependent section
68.if ${MACHINE_ARCH} != "alpha"
69SUBDIR+=	exec_elf32
70.endif
71
72.if ${MACHINE_ARCH} == "alpha" || \
73    ${MACHINE_ARCH} == "sparc64" || \
74    ${MACHINE_ARCH} == "x86_64"
75SUBDIR+=	exec_elf64
76.endif
77
78.if ${MACHINE_ARCH} == "i386" || \
79    ${MACHINE_ARCH} == "x86_64"
80SUBDIR+=	tprof_pmi
81.endif
82
83.if ${MACHINE_ARCH} == "x86_64"
84SUBDIR+=	azalia
85SUBDIR+=	compat_linux
86SUBDIR+=	compat_linux32
87SUBDIR+=	compat_netbsd32
88SUBDIR+=	drm
89SUBDIR+=	i915drm
90SUBDIR+=	pad
91.endif
92
93.if ${MACHINE_ARCH} == "i386"
94SUBDIR+=	azalia
95SUBDIR+=	compat_freebsd
96SUBDIR+=	compat_ibcs2
97SUBDIR+=	compat_linux
98SUBDIR+=	compat_svr4
99SUBDIR+=	drm
100SUBDIR+=	exec_aout
101SUBDIR+=	i915drm
102SUBDIR+=	radeondrm
103SUBDIR+=	viadrm
104SUBDIR+=	pad
105.endif
106
107.include <bsd.own.mk>
108
109# we need our device mapper for LVM
110.if (${MKLVM} != "no")
111SUBDIR+= 	dm
112.endif
113
114.if (${MKDTRACE} != "no")
115SUBDIR+=	dtrace
116.endif
117
118# we need solaris for the dtrace and zfs modules
119.if (${MKDTRACE} != "no" || ${MKZFS} != "no")
120SUBDIR+=        solaris
121.endif
122
123.if (${MKZFS} != "no")
124SUBDIR+=	zfs
125.endif
126
127.include <bsd.subdir.mk>
128