Makefile revision 158979
1# $FreeBSD: head/sys/modules/sound/driver/emu10k1/Makefile 158979 2006-05-27 16:32:05Z netchild $ 2 3.PATH: ${.CURDIR}/../../../../dev/sound/pci \ 4 ${.CURDIR}/../../../../gnu/dev/sound/pci 5 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> 20