kernel: Move GPL'd kernel files to sys/gnu to have them all in one place.
[dragonfly.git] / sys / dev / sound / driver / emu10k1 / Makefile
CommitLineData
558a398b 1# $FreeBSD: src/sys/modules/sound/driver/emu10k1/Makefile,v 1.4 2004/01/11 10:30:56 obrien Exp $
558a398b
SS
2
3.PATH: ${.CURDIR}/../../pci \
b993bb87 4 ${.CURDIR}/../../../../gnu/dev/sound/pci
558a398b
SS
5
6KMOD= snd_emu10k1
7SRCS= device_if.h bus_if.h pci_if.h emu10k1-alsa%diked.h
8SRCS+= emu10k1.c
9
558a398b
SS
10CLEANFILES+= emu10k1-alsa%diked.h
11
12emu10k1-alsa%diked.h: emu10k1-alsa.h
13 grep -v '#include' ${.OODATE} | $(CC) -E -D__KERNEL__ -dM - \
14 | awk -F"[ (]" '/define/ \
15 { print "#ifndef " $$2 ; print ; print "#endif" }' \
16 >${.TARGET}
984263bc
MD
17
18.include <bsd.kmod.mk>