4 SRCS= ${GENHDRS} ippool_y.c ippool_l.c kmem.c ippool.c
8 GENHDRS= ippool_l.h ippool_y.h
9 CLEANFILES+= ${GENHDRS} ippool_y.c ippool_l.c
11 ippool_y.c: ippool_y.y
13 sed -e 's/yy/ippool_yy/g' \
14 -e 's/"ippool_y.y"/"..\/tools\/ippool_y.y"/' \
16 sed -e 's/yy/ippool_yy/g' \
17 y.tab.h > ${.TARGET:.c=.h}
19 ippool_y.h: ippool_y.c
22 sed -e 's/yy/ippool_yy/g' \
23 -e 's/y.tab.h/ippool_y.h/' \
24 -e 's/lexer.h/ippool_l.h/' \
25 ${.ALLSRC} > ${.TARGET}
28 sed -e 's/yy/ippool_yy/g' \
29 ${.ALLSRC} > ${.TARGET}
31 .include <bsd.prog.mk>