1# $FreeBSD$ 2 3.include <src.opts.mk> 4 5.PATH: ${.CURDIR}/../../../../sbin/hastd 6 7MOD= hast 8SRCS= ebuf.c 9SRCS+= hast_compression.c hast_proto.c hast_snmp.c 10SRCS+= lzf.c 11SRCS+= nv.c 12SRCS+= parse.y pjdlog.c 13SRCS+= proto.c proto_common.c proto_uds.c 14SRCS+= token.l 15SRCS+= y.tab.h 16MAN= snmp_hast.3 17 18NO_WFORMAT= 19NO_WCAST_ALIGN= 20NO_WMISSING_VARIABLE_DECLARATIONS= 21CFLAGS+=-I${.CURDIR}/../../../../sbin/hastd 22CFLAGS+=-DHAVE_CAPSICUM 23CFLAGS+=-DINET 24.if ${MK_INET6_SUPPORT} != "no" 25CFLAGS+=-DINET6 26.endif 27# This is needed to have WARNS > 1. 28CFLAGS+=-DYY_NO_UNPUT 29CFLAGS+=-DYY_NO_INPUT 30CFLAGS+= -DSNMPTREE_TYPES 31 32LIBADD= util 33 34XSYM= begemotHast 35DEFS= ${MOD}_tree.def 36BMIBS= BEGEMOT-HAST-MIB.txt 37 38YFLAGS+=-v 39 40CLEANFILES=y.tab.c y.tab.h y.output 41 42.include <bsd.snmpmod.mk> 43