summaryrefslogtreecommitdiff
path: root/usr.bin/snmp/Makefile
blob: 3b666631a4410fff66f4a067647c35c5a2e5cb6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#	$OpenBSD: Makefile,v 1.3 2019/09/18 09:52:47 martijn Exp $

PROG=		snmp
SRCS=		mib.c smi.c snmp.c snmpc.c usm.c
LDADD+=		-lcrypto -lutil
DPADD+=		${LIBCRYPTO} ${LIBUTIL}

MAN=		snmp.1

CFLAGS+=	-Wall -I${.CURDIR}
CFLAGS+=	-Wstrict-prototypes -Wmissing-prototypes
CFLAGS+=	-Wmissing-declarations
CFLAGS+=	-Wshadow -Wpointer-arith -Wcast-qual
CFLAGS+=	-Wsign-compare

.include <bsd.prog.mk>