xref: /freebsd/sys/modules/sound/driver/Makefile (revision ddd5b8e9b4d8957fce018c520657cdfa4ecffad3)
1# $FreeBSD$
2
3.include <bsd.own.mk>
4
5# Modules that include binary-only blobs of microcode should be selectable by
6# MK_SOURCELESS_UCODE option (see below).
7
8SUBDIR=		ad1816 als4000 atiixp cs4281 ${_csa} ${_ds1} emu10k1 emu10kx
9SUBDIR+=	envy24 envy24ht es137x ess fm801 hda hdspe ich maestro
10SUBDIR+=	${_maestro3} neomagic sb16 sb8 sbc solo spicds t4dwave via8233
11SUBDIR+=	via82c686 vibes driver uaudio
12
13.if ${MK_SOURCELESS_UCODE} != "no"
14_csa=		csa
15_ds1=		ds1
16_maestro3=	maestro3
17.endif
18
19.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
20SUBDIR+=	cmi mss
21.endif
22
23.if ${MACHINE_CPUARCH} == "sparc64"
24.if ${MACHINE} == "sparc64"
25SUBDIR+=	audiocs
26.endif
27.endif
28
29.if ${MACHINE_CPUARCH} == "powerpc"
30SUBDIR+=	ai2s davbus
31.endif
32
33.include <bsd.subdir.mk>
34