xref: /freebsd/sys/modules/sound/driver/Makefile (revision e9ac41698b2f322d55ccf9da50a3596edb2c1800)
1SYSDIR?=${SRCTOP}/sys
2.include "${SYSDIR}/conf/kern.opts.mk"
3
4# Modules that include binary-only blobs of microcode should be selectable by
5# MK_SOURCELESS_UCODE option (see below).
6
7SUBDIR=		als4000 atiixp cs4281 ${_csa} emu10k1 emu10kx
8SUBDIR+=	envy24 envy24ht es137x fm801 hda hdsp hdspe ich
9SUBDIR+=	${_maestro3} neomagic solo spicds t4dwave via8233
10SUBDIR+=	via82c686 vibes driver uaudio
11
12.if ${MK_SOURCELESS_UCODE} != "no"
13_csa=		csa
14_maestro3=	maestro3
15.endif
16
17.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
18SUBDIR+=	cmi
19.endif
20
21.if ${MACHINE_CPUARCH} == "powerpc"
22SUBDIR+=	ai2s davbus
23.endif
24
25.include <bsd.subdir.mk>
26