diff options
author | Jacek Masiulaniec <jacekm@cvs.openbsd.org> | 2008-12-21 13:06:44 +0000 |
---|---|---|
committer | Jacek Masiulaniec <jacekm@cvs.openbsd.org> | 2008-12-21 13:06:44 +0000 |
commit | 3082e8e5b678e99cf90ab6aa92b2d7f7112b2fa7 (patch) | |
tree | ea3ffaa6afddf4e489fa3d299cd841e07e0038f7 /usr.sbin/smtpd/smtpctl | |
parent | 2e2449b98ca52b5e8ba2e24a7e48d02467e0ec67 (diff) |
Add more compile time checking; fix warnings reported by gcc.
From: Nicholas Marriott <nicholas.marriott@gmail.com>
Diffstat (limited to 'usr.sbin/smtpd/smtpctl')
-rw-r--r-- | usr.sbin/smtpd/smtpctl/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/usr.sbin/smtpd/smtpctl/Makefile b/usr.sbin/smtpd/smtpctl/Makefile index 3c3acf8c1d8..bf7b10c2e7a 100644 --- a/usr.sbin/smtpd/smtpctl/Makefile +++ b/usr.sbin/smtpd/smtpctl/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.2 2008/12/06 02:44:08 gilles Exp $ +# $OpenBSD: Makefile,v 1.3 2008/12/21 13:06:43 jacekm Exp $ .PATH: ${.CURDIR}/.. @@ -10,6 +10,12 @@ BINMODE?=555 BINDIR= /usr/bin MAN= smtpctl.8 +CFLAGS+= -g3 -ggdb -I${.CURDIR}/.. +CFLAGS+= -Wall -Wstrict-prototypes -Wmissing-prototypes +CFLAGS+= -Wmissing-declarations +CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual +CFLAGS+= -Wsign-compare -Wbounded + SRCS= smtpctl.c parser.c buffer.c imsg.c log.c showqueue.c LDFLAGS= -lutil .include <bsd.prog.mk> |