Makefile revision 1.48
1#	$NetBSD: Makefile,v 1.48 2010/10/19 11:58:01 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+=	swsensor
57SUBDIR+=	tmpfs
58SUBDIR+=	udf
59SUBDIR+=	umap
60SUBDIR+=	union
61SUBDIR+=	usbverbose
62SUBDIR+=	vnd
63SUBDIR+=	tprof
64.if (defined(NOTYET))
65SUBDIR+=	unionfs
66.endif
67.if ${MKBINUTILS} != "no"
68SUBDIR+=	xldscripts
69.endif
70
71# Machine dependent section
72.if ${MACHINE_ARCH} == "i386" || \
73    ${MACHINE_ARCH} == "m68k"
74SUBDIR+=	exec_aout
75.endif
76
77.if ${MACHINE_ARCH} != "alpha"
78SUBDIR+=	exec_elf32
79.endif
80
81.if ${MACHINE_ARCH} == "alpha" || \
82    ${MACHINE_ARCH} == "sparc64" || \
83    ${MACHINE_ARCH} == "x86_64"
84SUBDIR+=	exec_elf64
85.endif
86
87.if ${MACHINE_ARCH} == "i386" || \
88    ${MACHINE_ARCH} == "x86_64"
89SUBDIR+=	tprof_pmi
90.endif
91
92.if ${MACHINE_ARCH} == "i386" || \
93    ${MACHINE_ARCH} == "ia64" || \
94    ${MACHINE_ARCH} == "x86_64"
95SUBDIR+=	acpiverbose
96.endif
97
98.if ${MACHINE_ARCH} == "x86_64"
99SUBDIR+=	azalia
100SUBDIR+=	compat_linux
101SUBDIR+=	compat_linux32
102SUBDIR+=	compat_netbsd32
103SUBDIR+=	drm
104SUBDIR+=	i915drm
105SUBDIR+=	pad
106.endif
107
108.if ${MACHINE_ARCH} == "i386"
109SUBDIR+=	azalia
110SUBDIR+=	compat_freebsd
111SUBDIR+=	compat_ibcs2
112SUBDIR+=	compat_linux
113SUBDIR+=	compat_svr4
114SUBDIR+=	drm
115SUBDIR+=	i915drm
116SUBDIR+=	radeondrm
117SUBDIR+=	viadrm
118SUBDIR+=	pad
119.endif
120
121.if ${MACHINE_ARCH} == "m68k"
122SUBDIR+=	compat_aoutm68k
123#SUBDIR+=	compat_linux
124#SUBDIR+=	compat_sunos
125#SUBDIR+=	compat_svr4
126.endif
127
128.include <bsd.own.mk>
129
130# we need our device mapper for LVM
131.if (${MKLVM} != "no")
132SUBDIR+= 	dm
133.endif
134
135.if (${MKDTRACE} != "no")
136SUBDIR+=	dtrace
137.endif
138
139# we need solaris for the dtrace and zfs modules
140.if (${MKDTRACE} != "no" || ${MKZFS} != "no")
141SUBDIR+=        solaris
142.endif
143
144.if (${MKZFS} != "no")
145SUBDIR+=	zfs
146.endif
147
148.include <bsd.subdir.mk>
149