Makefile (206b17d71186737ca290ab21dc42a17cc73418e9) Makefile (4f767b9d7dbc31662f0ecf8483b5e834a245cd06)
1# $FreeBSD$
2
1# $FreeBSD$
2
3.PATH: ${.CURDIR}/../../../../dev/sound/pci \
4 ${.CURDIR}/../../../../gnu/dev/sound/pci
3.PATH: ${.CURDIR}/../../../../dev/sound/pci
4KMOD = snd_emu10k1
5SRCS = device_if.h bus_if.h isa_if.h pci_if.h
6SRCS += emu10k1.c
5
7
6KMOD= snd_emu10k1
7SRCS= device_if.h bus_if.h pci_if.h emu10k1-alsa%diked.h
8SRCS+= mpufoi_if.h
9SRCS+= emu10k1.c
10
11CLEANFILES+= emu10k1-alsa%diked.h
12
13emu10k1-alsa%diked.h: emu10k1-alsa.h
14 grep -v '#include' ${.OODATE} | $(CC) -E -D__KERNEL__ -dM - \
15 | awk -F"[ (]" '/define/ \
16 { print "#ifndef " $$2 ; print ; print "#endif" }' \
17 >${.TARGET}
18
19.include <bsd.kmod.mk>
8.include <bsd.kmod.mk>