-# $OpenBSD: Makefile,v 1.5 2009/08/10 14:48:27 jsg Exp $
+# $OpenBSD: Makefile,v 1.6 2010/07/20 02:06:39 deraadt Exp $
.if ${MACHINE} == "i386" || ${MACHINE} == "macppc" || ${MACHINE} == "amd64"
CFLAGS+=-Wall
CFLAGS+=-Wstrict-prototypes -Wmissing-prototypes
-CFLAGS+=-Wmissing-declarations -Wredundant-decls
+CFLAGS+=-Wmissing-declarations
CFLAGS+=-Wshadow -Wpointer-arith -Wcast-qual
.else
-# $OpenBSD: Makefile,v 1.12 2010/01/30 20:48:53 miod Exp $
+# $OpenBSD: Makefile,v 1.13 2010/07/20 02:05:51 deraadt Exp $
.if ${MACHINE} == "alpha" || ${MACHINE} == "amd64" || \
${MACHINE} == "armish" || ${MACHINE} == "hppa" || \
CFLAGS+= -Wall
CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes
-CFLAGS+= -Wmissing-declarations -Wredundant-decls
+CFLAGS+= -Wmissing-declarations
CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual
.else
-# $OpenBSD: Makefile,v 1.9 2007/10/25 06:03:31 pyr Exp $
+# $OpenBSD: Makefile,v 1.10 2010/07/20 02:05:15 deraadt Exp $
PROG= ifstated
SRCS= ifstated.c log.c parse.y
CFLAGS+= -Wall -I${.CURDIR}
CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes
-CFLAGS+= -Wmissing-declarations -Wredundant-decls
+CFLAGS+= -Wmissing-declarations
CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual
YFLAGS=
MAN= ifstated.8 ifstated.conf.5