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 32DPADD= ${LIBUTIL} 33LDADD= -lutil 34 35XSYM= begemotHast 36DEFS= ${MOD}_tree.def 37BMIBS= BEGEMOT-HAST-MIB.txt 38 39YFLAGS+=-v 40 41CLEANFILES=y.tab.c y.tab.h y.output 42 43.include <bsd.snmpmod.mk> 44