Makefile revision 124373
10Sstevel@tonic-gate# $FreeBSD: head/sys/modules/sound/driver/emu10k1/Makefile 124373 2004-01-11 10:30:56Z obrien $ 20Sstevel@tonic-gate 30Sstevel@tonic-gate.PATH: ${.CURDIR}/../../../../dev/sound/pci \ 40Sstevel@tonic-gate ${.CURDIR}/../../../../gnu/dev/sound/pci 50Sstevel@tonic-gate 60Sstevel@tonic-gateKMOD= snd_emu10k1 70Sstevel@tonic-gateSRCS= device_if.h bus_if.h pci_if.h emu10k1-alsa%diked.h 80Sstevel@tonic-gateSRCS+= emu10k1.c 90Sstevel@tonic-gate 100Sstevel@tonic-gateCLEANFILES+= emu10k1-alsa%diked.h 110Sstevel@tonic-gate 120Sstevel@tonic-gateemu10k1-alsa%diked.h: emu10k1-alsa.h 130Sstevel@tonic-gate grep -v '#include' ${.OODATE} | $(CC) -E -D__KERNEL__ -dM - \ 140Sstevel@tonic-gate | awk -F"[ (]" '/define/ \ 150Sstevel@tonic-gate { print "#ifndef " $$2 ; print ; print "#endif" }' \ 160Sstevel@tonic-gate >${.TARGET} 170Sstevel@tonic-gate 180Sstevel@tonic-gate.include <bsd.kmod.mk> 190Sstevel@tonic-gate