diff options
| author | Cy Schubert <cy@FreeBSD.org> | 2014-08-05 13:01:21 +0000 |
|---|---|---|
| committer | Cy Schubert <cy@FreeBSD.org> | 2014-08-05 13:01:21 +0000 |
| commit | e722d6f29ace12f4b345550247e377d448ca3c5e (patch) | |
| tree | 82a6e6412ec75f683d46ef04ddddcfb54a3f9124 /sbin/ipf | |
| parent | c376f4397d82bd41fe914a4785b8cb346eca99b7 (diff) | |
Notes
Diffstat (limited to 'sbin/ipf')
| -rw-r--r-- | sbin/ipf/Makefile.inc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sbin/ipf/Makefile.inc b/sbin/ipf/Makefile.inc index b3efd6f8eec9a..2d7d7b1c71bf7 100644 --- a/sbin/ipf/Makefile.inc +++ b/sbin/ipf/Makefile.inc @@ -1,5 +1,7 @@ # $FreeBSD$ +.include <src.opts.mk> + WARNS?= 2 NO_WFORMAT= NO_WARRAY_BOUNDS= @@ -10,6 +12,12 @@ CFLAGS+= -I${.CURDIR}/../../../sys CFLAGS+= -I${.CURDIR}/../../../sys/contrib/ipfilter CFLAGS+= -DSTATETOP -D__UIO_EXPOSE +.if ${MK_INET6_SUPPORT} != "no" +CFLAGS+= -DUSE_INET6 +.else +CFLAGS+= -DNOINET6 +.endif + LIBIPF= ${.OBJDIR}/../libipf/libipf.a DPADD+= ${LIBIPF} ${LIBKVM} LDADD+= ${LIBIPF} -lkvm |
