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