summaryrefslogtreecommitdiff
path: root/usr.sbin/snmpd/Makefile
blob: e4a0fd7f69ff1a18b84785789d11c1b948ac6f8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#	$OpenBSD: Makefile,v 1.6 2010/05/26 16:44:33 nicm Exp $

PROG=		snmpd
MAN=		snmpd.8 snmpd.conf.5
SRCS=		parse.y ber.c log.c control.c snmpe.c \
		    mps.c trap.c mib.c smi.c kroute.c snmpd.c timer.c

LDADD=		-levent -lutil
DPADD=		${LIBEVENT} ${LIBUTIL}
CFLAGS+=	-Wall -I${.CURDIR}
CFLAGS+=	-Wstrict-prototypes -Wmissing-prototypes
CFLAGS+=	-Wmissing-declarations
CFLAGS+=	-Wshadow -Wpointer-arith -Wcast-qual
CFLAGS+=	-Wsign-compare -Wbounded
CLEANFILES+=	y.tab.h

.include <bsd.prog.mk>