summaryrefslogtreecommitdiffstats
path: root/sbin/ipf
diff options
context:
space:
mode:
authoruqs <uqs@FreeBSD.org>2010-03-02 16:58:04 +0000
committeruqs <uqs@FreeBSD.org>2010-03-02 16:58:04 +0000
commitf8d1dd7a4ec434051b6212ce3eb8499b4799cb6b (patch)
tree360810296710b0ace559e49a0c503b4bcfdf7f05 /sbin/ipf
parent1a096d21d2dc8c7098da304d2c62ec61a9ef76ad (diff)
downloadFreeBSD-src-f8d1dd7a4ec434051b6212ce3eb8499b4799cb6b.zip
FreeBSD-src-f8d1dd7a4ec434051b6212ce3eb8499b4799cb6b.tar.gz
Always assign WARNS using ?=
- fix some nearby style bugs - include Makefile.inc where it makes sense and reduces duplication Approved by: ed (co-mentor)
Diffstat (limited to 'sbin/ipf')
-rw-r--r--sbin/ipf/ipftest/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/sbin/ipf/ipftest/Makefile b/sbin/ipf/ipftest/Makefile
index 8903f25..d089b2b 100644
--- a/sbin/ipf/ipftest/Makefile
+++ b/sbin/ipf/ipftest/Makefile
@@ -1,7 +1,5 @@
# $FreeBSD$
-WARNS=0
-
PROG= ipftest
SRCS= ${GENHDRS} ipftest.c fil.c ip_frag.c ip_state.c ip_nat.c \
ip_proxy.c ip_auth.c ip_htable.c ip_lookup.c \
@@ -10,6 +8,7 @@ SRCS= ${GENHDRS} ipftest.c fil.c ip_frag.c ip_state.c ip_nat.c \
ipf_l.c ipnat_y.c ipnat_l.c md5.c radix.c bpf_filter.c
MAN= ipftest.1
+WARNS?= 0
CFLAGS+= -DIPFILTER_LOG -DIPFILTER_COMPILED -DIPFILTER_LOOKUP \
-DIPFILTER_SCAN -DIPFILTER_SYNC -DIPFILTER_CKSUM -I.
OpenPOWER on IntegriCloud