Makefile revision 1.111
1#	$NetBSD: Makefile,v 1.111 2012/09/16 13:47:41 rmind 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+=	chfs
19SUBDIR+=	dbcool
20SUBDIR+=	efs
21SUBDIR+=	ext2fs
22SUBDIR+=	exec_script
23SUBDIR+=	fdesc
24SUBDIR+=	ffs
25SUBDIR+=	filecore
26SUBDIR+=	filemon
27SUBDIR+=	flash
28SUBDIR+=	fss
29SUBDIR+=	gpio
30SUBDIR+=	gpioiic
31SUBDIR+=	gpioow
32SUBDIR+=	gpiosim
33SUBDIR+=	hfs
34SUBDIR+=	if_axe
35SUBDIR+=	iic
36SUBDIR+=	kernfs
37SUBDIR+=	layerfs
38SUBDIR+=	lfs
39SUBDIR+=	mfs
40SUBDIR+=	miiverbose
41SUBDIR+=	miniroot
42SUBDIR+=	mqueue
43SUBDIR+=	msdos
44SUBDIR+=	nand
45SUBDIR+=	nandemulator
46SUBDIR+=	nfs
47SUBDIR+=	nfsserver
48SUBDIR+=	nilfs
49SUBDIR+=	npf
50SUBDIR+=	npf_alg_icmp
51SUBDIR+=	npf_ext_log
52SUBDIR+=	npf_ext_normalise
53SUBDIR+=	ntfs
54SUBDIR+=	null
55SUBDIR+=	onewire
56SUBDIR+=	overlay
57SUBDIR+=	pciverbose
58SUBDIR+=	pf
59SUBDIR+=	ppp_bsdcomp
60SUBDIR+=	ppp_deflate
61SUBDIR+=	procfs
62SUBDIR+=	ptyfs
63SUBDIR+=	puffs
64SUBDIR+=	putter
65SUBDIR+=	scsiverbose
66SUBDIR+=	sdtemp
67SUBDIR+=	secmodel_bsd44
68SUBDIR+=	secmodel_extensions
69SUBDIR+=	secmodel_overlay
70SUBDIR+=	securelevel
71SUBDIR+=	smbfs
72SUBDIR+=	spdmem
73SUBDIR+=	sysvbfs
74SUBDIR+=	suser
75SUBDIR+=	swsensor
76SUBDIR+=	tmpfs
77SUBDIR+=	uatp
78SUBDIR+=	udf
79SUBDIR+=	umap
80SUBDIR+=	union
81SUBDIR+=	usbverbose
82SUBDIR+=	vcoda
83SUBDIR+=	v7fs
84SUBDIR+=	vnd
85SUBDIR+=	tprof
86.if (defined(NOTYET))
87SUBDIR+=	unionfs
88.endif
89.if ${MKBINUTILS} != "no"
90SUBDIR+=	xldscripts
91.endif
92
93# Machine dependent section
94.if ${MACHINE_ARCH} == "i386" || \
95    ${MACHINE_CPU} == "m68k"
96SUBDIR+=	exec_aout
97.endif
98
99.if ${MACHINE_ARCH} != "alpha"
100SUBDIR+=	exec_elf32
101.endif
102
103.if ${MACHINE_ARCH} == "alpha" || \
104    ${MACHINE_ARCH} == "sparc64" || \
105    ${MACHINE_ARCH} == "x86_64"
106SUBDIR+=	exec_elf64
107.endif
108
109.if ${MACHINE_ARCH} == "i386" || \
110    ${MACHINE_ARCH} == "x86_64"
111SUBDIR+=	amdtemp
112SUBDIR+=	coretemp
113SUBDIR+=	est
114SUBDIR+=	hdafg
115SUBDIR+=	hdaudio
116SUBDIR+=	hpet
117SUBDIR+=	odcm
118SUBDIR+=	powernow
119SUBDIR+=	tprof_pmi
120SUBDIR+=	tprof_amdpmi
121SUBDIR+=	vmt
122.endif
123
124#
125# ACPI modules
126#
127.if ${MACHINE_ARCH} == "i386" || \
128    ${MACHINE_ARCH} == "ia64" || \
129    ${MACHINE_ARCH} == "x86_64"
130SUBDIR+=	acpiverbose
131.endif
132
133.if ${MACHINE_ARCH} == "i386" || \
134    ${MACHINE_ARCH} == "x86_64"
135SUBDIR+=	acpiacad
136SUBDIR+=	acpibat
137SUBDIR+=	acpibut
138SUBDIR+=	acpicpu
139SUBDIR+=	acpidalb
140SUBDIR+=	acpifan
141SUBDIR+=	acpilid
142SUBDIR+=	acpipmtr
143SUBDIR+=	acpitz
144SUBDIR+=	acpivga
145SUBDIR+=	acpiwdrt
146SUBDIR+=	acpiwmi
147SUBDIR+=	aibs
148SUBDIR+=	asus
149SUBDIR+=	fujbp
150SUBDIR+=	fujhk
151SUBDIR+=	hpacel
152SUBDIR+=	hpqlb
153SUBDIR+=	thinkpad
154SUBDIR+=	wmidell
155SUBDIR+=	wmieeepc
156SUBDIR+=	wmihp
157SUBDIR+=	wmimsi
158.endif
159
160.if ${MACHINE_ARCH} == "x86_64"
161SUBDIR+=	azalia
162SUBDIR+=	compat_linux
163SUBDIR+=	compat_linux32
164SUBDIR+=	compat_netbsd32
165SUBDIR+=	drm
166SUBDIR+=	i915drm
167SUBDIR+=	pad
168.endif
169
170.if ${MACHINE_ARCH} == "i386"
171SUBDIR+=	ati_pcigart
172SUBDIR+=	azalia
173SUBDIR+=	compat_freebsd
174SUBDIR+=	compat_ibcs2
175SUBDIR+=	compat_linux
176SUBDIR+=	compat_svr4
177SUBDIR+=	drm
178SUBDIR+=	i915drm
179SUBDIR+=	mach64drm
180SUBDIR+=	mgadrm
181SUBDIR+=	nsclpcsio
182SUBDIR+=	pad
183SUBDIR+=	padlock
184SUBDIR+=	r128drm
185SUBDIR+=	radeondrm
186SUBDIR+=	savagedrm
187SUBDIR+=	sisdrm
188SUBDIR+=	tdfxdrm
189SUBDIR+=	viac7temp
190SUBDIR+=	viadrm
191.endif
192
193#
194# ISA modules
195#
196.if ${MACHINE_ARCH} == "i386" || \
197    ${MACHINE_ARCH} == "x86_64"
198SUBDIR+=	aps
199SUBDIR+=	finsio
200SUBDIR+=	itesio
201SUBDIR+=	lm
202SUBDIR+=	lm_isa
203SUBDIR+=	lm_isa_common
204SUBDIR+=	lm_wbsio
205SUBDIR+=	wbsio
206.endif
207
208.if ${MACHINE_CPU} == "m68k"
209SUBDIR+=	compat_aoutm68k
210#SUBDIR+=	compat_linux
211#SUBDIR+=	compat_sunos
212#SUBDIR+=	compat_svr4
213.endif
214
215.if ${MACHINE_ARCH} == "i386" || \
216    ${MACHINE_ARCH} == "x86_64" || \
217    ${MACHINE_ARCH} == "sparc64"
218SUBDIR+=	pwdog
219.endif
220
221.include <bsd.own.mk>
222
223#
224# NetBSD/usermode support
225#
226.if ${MACHINE_ARCH} == "i386" || \
227    ${MACHINE_ARCH} == "x86_64"
228SUBDIR+=	../arch/usermode/modules/syscallemu
229.endif
230
231# we need our device mapper for LVM
232.if (${MKLVM} != "no")
233SUBDIR+= 	dm
234.endif
235
236.if (${MKDTRACE} != "no")
237SUBDIR+=	dtrace
238.endif
239
240# we need solaris for the dtrace and zfs modules
241.if (${MKDTRACE} != "no" || ${MKZFS} != "no")
242SUBDIR+=        solaris
243.endif
244
245.if (${MKZFS} != "no")
246SUBDIR+=	zfs
247.endif
248
249.if (${MKCOMPATMODULES} != "no")
250SUBDIR+=	arch
251.endif
252
253#
254# DTV modules
255#
256SUBDIR+=	dtv
257SUBDIR+=	dtv_math
258.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
259# tuners/demods
260SUBDIR+=	au8522
261SUBDIR+=	cx24227
262SUBDIR+=	lg3303
263SUBDIR+=	mt2131
264SUBDIR+=	nxt2k
265SUBDIR+=	tvpll
266SUBDIR+=	xc3028
267SUBDIR+=	xc5k
268SUBDIR+=	zl10353
269# hardware drivers
270SUBDIR+=	auvitek
271SUBDIR+=	coram
272SUBDIR+=	cxdtv
273SUBDIR+=	emdtv
274.endif
275
276.if (${MKISCSI} != "no")
277SUBDIR+=	iscsi
278.endif
279
280.include <bsd.subdir.mk>
281