diff options
Diffstat (limited to 'sbin/ipf/Makefile.inc')
-rw-r--r-- | sbin/ipf/Makefile.inc | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/sbin/ipf/Makefile.inc b/sbin/ipf/Makefile.inc new file mode 100644 index 0000000..b3efd6f --- /dev/null +++ b/sbin/ipf/Makefile.inc @@ -0,0 +1,24 @@ +# $FreeBSD$ + +WARNS?= 2 +NO_WFORMAT= +NO_WARRAY_BOUNDS= + +CFLAGS+= -I${.CURDIR}/../../../contrib/ipfilter +CFLAGS+= -I${.CURDIR}/../../../contrib/ipfilter/tools +CFLAGS+= -I${.CURDIR}/../../../sys +CFLAGS+= -I${.CURDIR}/../../../sys/contrib/ipfilter +CFLAGS+= -DSTATETOP -D__UIO_EXPOSE + +LIBIPF= ${.OBJDIR}/../libipf/libipf.a +DPADD+= ${LIBIPF} ${LIBKVM} +LDADD+= ${LIBIPF} -lkvm + +CLEANFILES+= y.tab.c y.tab.h + +.PATH: ${.CURDIR}/../../../contrib/ipfilter \ + ${.CURDIR}/../../../contrib/ipfilter/lib \ + ${.CURDIR}/../../../contrib/ipfilter/tools \ + ${.CURDIR}/../../../contrib/ipfilter/man + +.include "../Makefile.inc" |