xref: /freebsd/tools/test/bsnmp/Makefile (revision bc7afab6a1fa4294df0b8d7d461bd0bdc542fbfe)
1a82d25d7SHartmut BrandtCONTRIB=${SRCTOP}/contrib/bsnmp
2a82d25d7SHartmut Brandt.PATH: ${CONTRIB}/tests
3a82d25d7SHartmut Brandt
4a82d25d7SHartmut BrandtPROG_CXX=ctest
5a82d25d7SHartmut BrandtSRCS= main.cc asn1.cc snmp_parse_server.cc
6a82d25d7SHartmut BrandtCFLAGS += -I/${CONTRIB}/lib
7a82d25d7SHartmut BrandtCXXFLAGS+= -std=c++2a
8*bc7afab6SHartmut BrandtCXXWARNFLAGS += -Wno-missing-variable-declarations
9a82d25d7SHartmut BrandtLIBADD= bsnmp
10a82d25d7SHartmut Brandt
11a82d25d7SHartmut BrandtCFLAGS += -DBOGUS_CVE_2019_5610_FIX
12a82d25d7SHartmut BrandtMK_MAN= no
13a82d25d7SHartmut Brandt
14a82d25d7SHartmut Brandt.include <bsd.prog.mk>
15a82d25d7SHartmut Brandt
16a82d25d7SHartmut Brandt
17a82d25d7SHartmut Brandtrun:
18a82d25d7SHartmut Brandt	${.OBJDIR}/ctest
19