summaryrefslogtreecommitdiffstats
path: root/sys/modules/sound/driver
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2004-01-11 10:30:56 +0000
committerobrien <obrien@FreeBSD.org>2004-01-11 10:30:56 +0000
commitb10112e3d11f879afddde834c51c190d019f5a78 (patch)
treecd62df122e30b81b6d5507d68d31c09cf8547943 /sys/modules/sound/driver
parent032a5ac8ac2af81974aa6ae4fa2e114e80b9e9e9 (diff)
downloadFreeBSD-src-b10112e3d11f879afddde834c51c190d019f5a78.zip
FreeBSD-src-b10112e3d11f879afddde834c51c190d019f5a78.tar.gz
Add Audigy support.
I started with a year-old patch by Orlando Bassotto <orlando.bassotto@ieo-research.it>, and ported it to 5.2-CURRENT along with fixing the problems working with pre-Audigy cards.
Diffstat (limited to 'sys/modules/sound/driver')
-rw-r--r--sys/modules/sound/driver/emu10k1/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/sys/modules/sound/driver/emu10k1/Makefile b/sys/modules/sound/driver/emu10k1/Makefile
index db42fc3..3d9984c 100644
--- a/sys/modules/sound/driver/emu10k1/Makefile
+++ b/sys/modules/sound/driver/emu10k1/Makefile
@@ -1,9 +1,18 @@
# $FreeBSD$
-.PATH: ${.CURDIR}/../../../../dev/sound/pci
+.PATH: ${.CURDIR}/../../../../dev/sound/pci \
+ ${.CURDIR}/../../../../gnu/dev/sound/pci
KMOD= snd_emu10k1
-SRCS= device_if.h bus_if.h pci_if.h
+SRCS= device_if.h bus_if.h pci_if.h emu10k1-alsa%diked.h
SRCS+= emu10k1.c
+CLEANFILES+= emu10k1-alsa%diked.h
+
+emu10k1-alsa%diked.h: emu10k1-alsa.h
+ grep -v '#include' ${.OODATE} | $(CC) -E -D__KERNEL__ -dM - \
+ | awk -F"[ (]" '/define/ \
+ { print "#ifndef " $$2 ; print ; print "#endif" }' \
+ >${.TARGET}
+
.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud