xref: /freebsd/sys/modules/sound/driver/Makefile (revision 0b3105a37d7adcadcb720112fed4dc4e8040be99)
1# $FreeBSD$
2
3SYSDIR?=${.CURDIR}/../../..
4.include "${SYSDIR}/conf/kern.opts.mk"
5
6# Modules that include binary-only blobs of microcode should be selectable by
7# MK_SOURCELESS_UCODE option (see below).
8
9SUBDIR=		ad1816 als4000 atiixp cs4281 ${_csa} ${_ds1} emu10k1 emu10kx
10SUBDIR+=	envy24 envy24ht es137x ess fm801 hda hdspe ich maestro
11SUBDIR+=	${_maestro3} neomagic sb16 sb8 sbc solo spicds t4dwave via8233
12SUBDIR+=	via82c686 vibes driver uaudio
13
14.if ${MK_SOURCELESS_UCODE} != "no"
15_csa=		csa
16_ds1=		ds1
17_maestro3=	maestro3
18.endif
19
20.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
21SUBDIR+=	cmi mss
22.endif
23
24.if ${MACHINE_CPUARCH} == "sparc64"
25.if ${MACHINE} == "sparc64"
26SUBDIR+=	audiocs
27.endif
28.endif
29
30.if ${MACHINE_CPUARCH} == "powerpc"
31SUBDIR+=	ai2s davbus
32.endif
33
34.include <bsd.subdir.mk>
35