aboutsummaryrefslogblamecommitdiff
path: root/sbin/ipf/Makefile.inc
blob: a38edf3481db8a111e1559aa44cbf61f0b8c8bfe (plain) (tree)
1
2
3
4
5
6
7
8

                 

                      
                 

                 
 



                                                  

                                         





                               
                              
                   
      


                               



                                                 
 
                          
#	$FreeBSD$

.include <src.opts.mk>

WARNS?=		2
NO_WFORMAT=
NO_WARRAY_BOUNDS=

CFLAGS+=	-I${SRCTOP}/contrib/ipfilter
CFLAGS+=	-I${SRCTOP}/contrib/ipfilter/tools
CFLAGS+=	-I${SRCTOP}/sys
CFLAGS+=	-I${SRCTOP}/sys/contrib/ipfilter
CFLAGS+=	-DSTATETOP -D__UIO_EXPOSE

.if ${MK_INET6_SUPPORT} != "no"
CFLAGS+=	-DUSE_INET6
.else
CFLAGS+=	-DNOINET6
.endif

.if ${.CURDIR:M*/libipf} == ""
LIBADD+=	ipf
.endif

CLEANFILES+=	y.tab.c y.tab.h

.PATH:	${SRCTOP}/contrib/ipfilter		\
	${SRCTOP}/contrib/ipfilter/lib		\
	${SRCTOP}/contrib/ipfilter/tools	\
	${SRCTOP}/contrib/ipfilter/man

.include "../Makefile.inc"