xref: /freebsd/sys/modules/sound/driver/Makefile (revision da477bcdc0c335171bb0ed3813f570026de6df85)
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=		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} == "powerpc"
25SUBDIR+=	ai2s davbus
26.endif
27
28.include <bsd.subdir.mk>
29