1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-17 15:27:36 +00:00

Add emu10k1-alsa%diked.h dependancies.

This commit is contained in:
David E. O'Brien 2004-01-12 19:02:37 +00:00
parent 5ce6805764
commit 4239793589
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=124440
2 changed files with 11 additions and 1 deletions

View File

@ -721,7 +721,8 @@ dev/sound/pci/csa.c optional pcm pci
dev/sound/pci/csamidi.c optional midi csa
dev/sound/pci/csapcm.c optional pcm pci
dev/sound/pci/ds1.c optional pcm pci
dev/sound/pci/emu10k1.c optional pcm pci
dev/sound/pci/emu10k1.c optional pcm pci dependency "emu10k1-alsa%diked.h" \
clean "emu10k1-alsa%diked.h"
dev/sound/pci/es137x.c optional pcm pci
dev/sound/pci/fm801.c optional pcm pci
dev/sound/pci/ich.c optional pcm pci

View File

@ -222,6 +222,15 @@ vnode_if.c: $S/tools/vnode_if.awk $S/kern/vnode_if.src
vnode_if.h: $S/tools/vnode_if.awk $S/kern/vnode_if.src
${AWK} -f $S/tools/vnode_if.awk $S/kern/vnode_if.src -h
emu10k1-alsa%diked.h: $S/gnu/dev/sound/pci/emu10k1-alsa.h
grep -v '#include' ${.OODATE} | ${CC} -E -D__KERNEL__ -dM - \
| awk -F"[ (]" '/define/ \
{ print "#ifndef " $$2 ; print ; print "#endif" }' \
>${.TARGET}
.if !exists(${.OBJDIR}/.depend)
_kernel-depend: emu10k1-alsa%diked.h
.endif
# XXX strictly, everything depends on Makefile because changes to ${PROF}
# only appear there, but we don't handle that.