25 lines
670 B
Makefile
25 lines
670 B
Makefile
# $FreeBSD$
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
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
|
|
|
|
IPFOBJDIR= ${.OBJDIR}/../libipf
|
|
DPADD+= ${IPFOBJDIR}/libipf.a ${LIBKVM}
|
|
LDADD+= -L${IPFOBJDIR} -lipf -lkvm
|
|
|
|
CLEANFILES+= y.tab.c y.tab.h
|
|
|
|
.PATH: ${.CURDIR}/../../../contrib/ipfilter \
|
|
${.CURDIR}/../../../contrib/ipfilter/lib \
|
|
${.CURDIR}/../../../contrib/ipfilter/tools \
|
|
${.CURDIR}/../../../contrib/ipfilter/man
|
|
|
|
.if exists(${.CURDIR}/../../Makefile.inc)
|
|
.include "${.CURDIR}/../../Makefile.inc"
|
|
.endif
|