xref: /freebsd/sys/modules/sound/driver/Makefile (revision 8ddb146abcdf061be9f2c0db7e391697dafad85c)
1# $FreeBSD$
2
3SYSDIR?=${SRCTOP}/sys
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=		als4000 atiixp cs4281 ${_csa} emu10k1 emu10kx
10SUBDIR+=	envy24 envy24ht es137x fm801 hda hdspe ich
11SUBDIR+=	${_maestro3} neomagic solo spicds t4dwave via8233
12SUBDIR+=	via82c686 vibes driver uaudio
13
14.if ${MK_SOURCELESS_UCODE} != "no"
15_csa=		csa
16_maestro3=	maestro3
17.endif
18
19.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
20SUBDIR+=	cmi
21.endif
22
23.if ${MACHINE_CPUARCH} == "powerpc"
24SUBDIR+=	ai2s davbus
25.endif
26
27.include <bsd.subdir.mk>
28