opnsense-src/sys/modules/sound/driver/emu10k1/Makefile
David E. O'Brien 21f1e37cbd 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.
2004-01-11 10:30:56 +00:00

18 lines
468 B
Makefile

# $FreeBSD$
.PATH: ${.CURDIR}/../../../../dev/sound/pci \
${.CURDIR}/../../../../gnu/dev/sound/pci
KMOD= snd_emu10k1
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>