Makefile.inc revision 302408
195586Sanholt# $FreeBSD: stable/11/sbin/ipf/Makefile.inc 291621 2015-12-01 22:39:19Z bdrewery $ 295586Sanholt 395586Sanholt.include <src.opts.mk> 495586Sanholt 595586SanholtWARNS?= 2 695586SanholtNO_WFORMAT= 795607SanholtNO_WARRAY_BOUNDS= 895586Sanholt 995586SanholtCFLAGS+= -I${.CURDIR}/../../../contrib/ipfilter 1095586SanholtCFLAGS+= -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 21.if ${.CURDIR:M*/libipf} == "" 22LIBADD+= ipf 23.endif 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