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