diff options
author | uqs <uqs@FreeBSD.org> | 2010-03-02 16:58:04 +0000 |
---|---|---|
committer | uqs <uqs@FreeBSD.org> | 2010-03-02 16:58:04 +0000 |
commit | f8d1dd7a4ec434051b6212ce3eb8499b4799cb6b (patch) | |
tree | 360810296710b0ace559e49a0c503b4bcfdf7f05 /sbin | |
parent | 1a096d21d2dc8c7098da304d2c62ec61a9ef76ad (diff) | |
download | FreeBSD-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')
-rw-r--r-- | sbin/ddb/Makefile | 2 | ||||
-rw-r--r-- | sbin/ipf/ipftest/Makefile | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/sbin/ddb/Makefile b/sbin/ddb/Makefile index b9189c1..c556be1 100644 --- a/sbin/ddb/Makefile +++ b/sbin/ddb/Makefile @@ -3,7 +3,7 @@ PROG= ddb SRCS= ddb.c ddb_capture.c ddb_script.c MAN= ddb.8 -WARNS= 3 +WARNS?= 3 DPADD= ${LIBKVM} LDADD= -lkvm 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. |