freebsd-dev/sbin/ipf/ippool/Makefile
Cy Schubert 7cb2d7c413 ipfilter userland: Path fixup no longer required
Since the move of ipfilter from contrib to sbin adjusting the source path
is no longer required.

Fixes:		41edb306f0
MFC after:	1 month
2021-12-27 00:40:18 -08:00

32 lines
641 B
Makefile

# $FreeBSD$
PACKAGE= ipf
PROG= ippool
SRCS= ${GENHDRS} ippool_y.c ippool_l.c ippool.c
MAN= ippool.5 ippool.8
CFLAGS+= -I.
GENHDRS= ippool_l.h ippool_y.h
CLEANFILES+= ${GENHDRS} ippool_y.c ippool_l.c
ippool_y.c: ippool_y.y
${YACC} -d ${.ALLSRC}
sed -e 's/yy/ippool_yy/g' \
y.tab.c > ${.TARGET}
sed -e 's/yy/ippool_yy/g' \
y.tab.h > ${.TARGET:.c=.h}
ippool_y.h: ippool_y.c
ippool_l.c: lexer.c
sed -e 's/yy/ippool_yy/g' \
-e 's/y.tab.h/ippool_y.h/' \
-e 's/lexer.h/ippool_l.h/' \
${.ALLSRC} > ${.TARGET}
ippool_l.h: lexer.h
sed -e 's/yy/ippool_yy/g' \
${.ALLSRC} > ${.TARGET}
.include <bsd.prog.mk>