xref: /freebsd/sys/modules/sound/driver/Makefile (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
1
2SYSDIR?=${SRCTOP}/sys
3.include "${SYSDIR}/conf/kern.opts.mk"
4
5# Modules that include binary-only blobs of microcode should be selectable by
6# MK_SOURCELESS_UCODE option (see below).
7
8SUBDIR=		als4000 atiixp cs4281 ${_csa} emu10k1 emu10kx
9SUBDIR+=	envy24 envy24ht es137x fm801 hda hdspe ich
10SUBDIR+=	${_maestro3} neomagic solo spicds t4dwave via8233
11SUBDIR+=	via82c686 vibes driver uaudio
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