5 SRCS= ${GENHDRS} ippool_y.c ippool_l.c kmem.c ippool.c
9 GENHDRS= ippool_l.h ippool_y.h
10 CLEANFILES+= ${GENHDRS} ippool_y.c ippool_l.c
12 ippool_y.c: ippool_y.y
14 sed -e 's/yy/ippool_yy/g' \
15 -e 's/"ippool_y.y"/"..\/tools\/ippool_y.y"/' \
17 sed -e 's/yy/ippool_yy/g' \
18 y.tab.h > ${.TARGET:.c=.h}
20 ippool_y.h: ippool_y.c
23 sed -e 's/yy/ippool_yy/g' \
24 -e 's/y.tab.h/ippool_y.h/' \
25 -e 's/lexer.h/ippool_l.h/' \
26 ${.ALLSRC} > ${.TARGET}
29 sed -e 's/yy/ippool_yy/g' \
30 ${.ALLSRC} > ${.TARGET}
32 .include <bsd.prog.mk>