mirror of
https://github.com/opnsense/src.git
synced 2026-04-11 12:26:56 -04:00
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.
18 lines
468 B
Makefile
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>
|