Makefile.inc revision 269585
1# $FreeBSD: head/sbin/ipf/Makefile.inc 269585 2014-08-05 13:01:21Z cy $ 2 3.include <src.opts.mk> 4 5WARNS?= 2 6NO_WFORMAT= 7NO_WARRAY_BOUNDS= 8 9CFLAGS+= -I${.CURDIR}/../../../contrib/ipfilter 10CFLAGS+= -I${.CURDIR}/../../../contrib/ipfilter/tools 11CFLAGS+= -I${.CURDIR}/../../../sys 12CFLAGS+= -I${.CURDIR}/../../../sys/contrib/ipfilter 13CFLAGS+= -DSTATETOP -D__UIO_EXPOSE 14 15.if ${MK_INET6_SUPPORT} != "no" 16CFLAGS+= -DUSE_INET6 17.else 18CFLAGS+= -DNOINET6 19.endif 20 21LIBIPF= ${.OBJDIR}/../libipf/libipf.a 22DPADD+= ${LIBIPF} ${LIBKVM} 23LDADD+= ${LIBIPF} -lkvm 24 25CLEANFILES+= y.tab.c y.tab.h 26 27.PATH: ${.CURDIR}/../../../contrib/ipfilter \ 28 ${.CURDIR}/../../../contrib/ipfilter/lib \ 29 ${.CURDIR}/../../../contrib/ipfilter/tools \ 30 ${.CURDIR}/../../../contrib/ipfilter/man 31 32.include "../Makefile.inc" 33