[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / src / usr.bin / snmp

File: [local] / src / usr.bin / snmp / Makefile (download)

Revision 1.1, Fri Aug 9 06:17:59 2019 UTC (4 years, 10 months ago) by martijn
Branch: MAIN

Import snmp(1), a new snmp client which aims to be netsnmp compatible for
supported features.  It only supports get, getnext, walk, bulkget, bulkwalk,
trap, mibtree, and is SNMPv1 and SNMPv2c for now.

This will shortly replace snmpctl entirely. People using snmpctl are encouraged
to test and migrate to this code as soon as possible.

Much help with the manpage from schwarze@ and jmc@
No objections from reyk@
"Roll it in" deraadt@

#	$OpenBSD: Makefile,v 1.1 2019/08/09 06:17:59 martijn Exp $

PROG=		snmp
SRCS=		mib.c smi.c snmp.c snmpc.c
LDADD+=		-lutil
DPADD+=		${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>