4 SRCS= ${GENHDRS} ipnat.c ipnat_y.c ipnat_l.c
5 MAN= ipnat.8 ipnat.4 ipnat.5
6 MLINKS= ipnat.5 ipnat.conf.5
9 GENHDRS= ipnat_l.h ipnat_y.h
12 CLEANFILES+= ${GENHDRS} ipnat_y.c ipnat_l.c
16 sed -e 's/yy/ipnat_yy/g' \
17 -e 's/y.tab.c/ipnat_y.c/' \
18 -e s/\"ipnat_y.y\"/\"..\\/tools\\/ipnat_y.y\"/ \
20 sed -e 's/yy/ipnat_yy/g' \
21 -e 's/y.tab.h/ipnat_y.h/' \
22 y.tab.h > ${.TARGET:.c=.h}
27 sed -e 's/yy/ipnat_yy/g' \
28 -e 's/y.tab.h/ipnat_y.h/' \
29 -e 's/lexer.h/ipnat_l.h/' \
30 ${.ALLSRC} > ${.TARGET}
33 sed -e 's/yy/ipnat_yy/g' \
34 ${.ALLSRC} > ${.TARGET}
36 .include <bsd.prog.mk>