summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bsnmpd/modules/snmp_hast/Makefile
blob: 625bc216d28496000d76f334595d281c39c67ffa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# $FreeBSD$

.include <bsd.own.mk>

.PATH:	${.CURDIR}/../../../../sbin/hastd

MOD=	hast
SRCS=	ebuf.c
SRCS+=	hast_compression.c hast_proto.c hast_snmp.c
SRCS+=	lzf.c
SRCS+=	nv.c
SRCS+=	parse.y pjdlog.c
SRCS+=	proto.c proto_common.c proto_uds.c
SRCS+=	token.l
SRCS+=	y.tab.h
MAN=	snmp_hast.3

NO_WFORMAT=
NO_WCAST_ALIGN=
NO_WMISSING_VARIABLE_DECLARATIONS=
CFLAGS+=-I${.CURDIR}/../../../../sbin/hastd
CFLAGS+=-DHAVE_CAPSICUM
CFLAGS+=-DINET
.if ${MK_INET6_SUPPORT} != "no"
CFLAGS+=-DINET6
.endif
# This is needed to have WARNS > 1.
CFLAGS+=-DYY_NO_UNPUT
CFLAGS+=-DYY_NO_INPUT
CFLAGS+= -DSNMPTREE_TYPES

DPADD=	${LIBL} ${LIBUTIL}
LDADD=	-ll -lutil

XSYM=	begemotHast
DEFS=	${MOD}_tree.def
BMIBS=	BEGEMOT-HAST-MIB.txt

YFLAGS+=-v

CLEANFILES=y.tab.c y.tab.h y.output

.include <bsd.snmpmod.mk>
OpenPOWER on IntegriCloud