xref: /freebsd/tools/test/bsnmp/Makefile (revision bc7afab6a1fa4294df0b8d7d461bd0bdc542fbfe)
1CONTRIB=${SRCTOP}/contrib/bsnmp
2.PATH: ${CONTRIB}/tests
3
4PROG_CXX=ctest
5SRCS= main.cc asn1.cc snmp_parse_server.cc
6CFLAGS += -I/${CONTRIB}/lib
7CXXFLAGS+= -std=c++2a
8CXXWARNFLAGS += -Wno-missing-variable-declarations
9LIBADD= bsnmp
10
11CFLAGS += -DBOGUS_CVE_2019_5610_FIX
12MK_MAN= no
13
14.include <bsd.prog.mk>
15
16
17run:
18	${.OBJDIR}/ctest
19