1# $FreeBSD$ 2 3.include <src.opts.mk> 4 5.PATH: ${SRCTOP}/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${SRCTOP}/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 30 31LIBADD= util 32 33XSYM= begemotHast 34DEFS= ${MOD}_tree.def 35BMIBS= BEGEMOT-HAST-MIB.txt 36 37YFLAGS+=-v 38 39CLEANFILES=y.tab.c y.tab.h y.output 40 41.include <bsd.snmpmod.mk> 42