Makefile revision 158979
162598Scg# $FreeBSD: head/sys/modules/sound/driver/emu10k1/Makefile 158979 2006-05-27 16:32:05Z netchild $ 262598Scg 3124373Sobrien.PATH: ${.CURDIR}/../../../../dev/sound/pci \ 4124373Sobrien ${.CURDIR}/../../../../gnu/dev/sound/pci 562598Scg 670711SobrienKMOD= snd_emu10k1 7124373SobrienSRCS= device_if.h bus_if.h pci_if.h emu10k1-alsa%diked.h 8158979SnetchildSRCS+= mpufoi_if.h 970711SobrienSRCS+= emu10k1.c 1070711Sobrien 11124373SobrienCLEANFILES+= emu10k1-alsa%diked.h 12124373Sobrien 13124373Sobrienemu10k1-alsa%diked.h: emu10k1-alsa.h 14124373Sobrien grep -v '#include' ${.OODATE} | $(CC) -E -D__KERNEL__ -dM - \ 15124373Sobrien | awk -F"[ (]" '/define/ \ 16124373Sobrien { print "#ifndef " $$2 ; print ; print "#endif" }' \ 17124373Sobrien >${.TARGET} 18124373Sobrien 1962598Scg.include <bsd.kmod.mk> 20