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