4 SRCS= ${GENHDRS} ippool_y.c ippool_l.c kmem.c ippool.c
8 GENHDRS= ippool_l.h ippool_y.h
11 CLEANFILES+= ${GENHDRS} ippool_y.c ippool_l.c
13 ippool_y.c: ippool_y.y
15 sed -e 's/yy/ippool_yy/g' \
16 -e 's/"ippool_y.y"/"..\/tools\/ippool_y.y"/' \
18 sed -e 's/yy/ippool_yy/g' \
19 y.tab.h > ${.TARGET:.c=.h}
21 ippool_y.h: ippool_y.c
24 sed -e 's/yy/ippool_yy/g' \
25 -e 's/y.tab.h/ippool_y.h/' \
26 -e 's/lexer.h/ippool_l.h/' \
27 ${.ALLSRC} > ${.TARGET}
30 sed -e 's/yy/ippool_yy/g' \
31 ${.ALLSRC} > ${.TARGET}
33 .include <bsd.prog.mk>