Set -Wno-error on a per-source basis instead of the NOGCCERROR sledgehammer.

This commit is contained in:
lukem 2005-01-01 13:56:21 +00:00
parent 1701924009
commit 772de66405
4 changed files with 6 additions and 13 deletions

View File

@ -1,6 +1,4 @@
# $NetBSD: Makefile,v 1.18 2004/04/03 22:16:27 he Exp $
NOGCCERROR= # defined
# $NetBSD: Makefile,v 1.19 2005/01/01 13:56:21 lukem Exp $
PROG= ipfstat
SRCS= ipfstat.c

View File

@ -1,6 +1,4 @@
# $NetBSD: Makefile,v 1.29 2004/10/01 15:26:35 christos Exp $
NOGCCERROR= # defined
# $NetBSD: Makefile,v 1.30 2005/01/01 13:56:21 lukem Exp $
.include <bsd.own.mk>
@ -16,6 +14,8 @@ CPPFLAGS+= -DIPFILTER_LOG -DIPFILTER_LOOKUP \
-DIPFILTER_SCAN -DIPFILTER_SYNC -DIPFILTER_CKSUM -D_RADIX_H_ \
-I.
CPPFLAGS.radix.c= -Wno-error
.PATH: ${NETBSDSRCDIR}/sys/dist/ipf/netinet
DPSRCS+= ipnat_l.h ipnat_y.h ippool_l.h ippool_y.h ipf_l.h ipf_y.h

View File

@ -1,6 +1,4 @@
# $NetBSD: Makefile,v 1.23 2004/03/31 00:34:32 lukem Exp $
NOGCCERROR= # defined
# $NetBSD: Makefile,v 1.24 2005/01/01 13:56:21 lukem Exp $
.include <bsd.own.mk>

View File

@ -1,9 +1,6 @@
# $NetBSD: Makefile,v 1.3 2004/05/23 02:24:52 lukem Exp $
# $NetBSD: Makefile,v 1.4 2005/01/01 13:56:21 lukem Exp $
MKPRIVATELIB= yes
USE_SHLIBDIR= yes
NOGCCERROR= # defined
LIB= ipf