xref: /freebsd/sys/modules/sound/driver/Makefile (revision 96190b4fef3b4a0cc3ca0606b0c4e3e69a5e6717)
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
11SUBDIR+=	dummy
12
13.if ${MK_SOURCELESS_UCODE} != "no"
14_csa=		csa
15_maestro3=	maestro3
16.endif
17
18.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
19SUBDIR+=	cmi
20.endif
21
22.if ${MACHINE_CPUARCH} == "powerpc"
23SUBDIR+=	ai2s davbus
24.endif
25
26.include <bsd.subdir.mk>
27