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