2010-02-18 18:16:19 -05:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
2014-05-06 00:22:01 -04:00
|
|
|
.include <src.opts.mk>
|
2010-02-18 18:16:19 -05:00
|
|
|
|
2016-02-08 16:15:07 -05:00
|
|
|
PACKAGE=hast
|
2010-02-18 18:16:19 -05:00
|
|
|
PROG= hastd
|
|
|
|
|
SRCS= activemap.c
|
2011-03-06 17:56:14 -05:00
|
|
|
SRCS+= control.c crc32.c
|
2010-08-30 19:26:10 -04:00
|
|
|
SRCS+= ebuf.c event.c
|
2011-03-06 18:09:33 -05:00
|
|
|
SRCS+= hast_checksum.c hast_compression.c hast_proto.c hastd.c hooks.c
|
|
|
|
|
SRCS+= lzf.c
|
2010-02-18 18:16:19 -05:00
|
|
|
SRCS+= metadata.c
|
|
|
|
|
SRCS+= nv.c
|
|
|
|
|
SRCS+= secondary.c
|
|
|
|
|
SRCS+= parse.y pjdlog.c primary.c
|
2011-05-20 07:06:17 -04:00
|
|
|
SRCS+= proto.c proto_common.c proto_socketpair.c proto_tcp.c proto_uds.c
|
2010-02-18 18:16:19 -05:00
|
|
|
SRCS+= rangelock.c
|
|
|
|
|
SRCS+= subr.c
|
|
|
|
|
SRCS+= token.l
|
|
|
|
|
SRCS+= y.tab.h
|
|
|
|
|
MAN= hastd.8 hast.conf.5
|
|
|
|
|
|
2011-03-07 05:38:18 -05:00
|
|
|
NO_WFORMAT=
|
2011-12-19 10:46:15 -05:00
|
|
|
NO_WCAST_ALIGN=
|
2013-04-19 15:45:00 -04:00
|
|
|
NO_WMISSING_VARIABLE_DECLARATIONS=
|
2010-02-18 18:16:19 -05:00
|
|
|
CFLAGS+=-I${.CURDIR}
|
2011-06-27 05:15:41 -04:00
|
|
|
CFLAGS+=-DHAVE_CAPSICUM
|
|
|
|
|
CFLAGS+=-DPROTO_TCP_DEFAULT_PORT=8457
|
2010-02-18 18:16:19 -05:00
|
|
|
CFLAGS+=-DINET
|
|
|
|
|
.if ${MK_INET6_SUPPORT} != "no"
|
|
|
|
|
CFLAGS+=-DINET6
|
|
|
|
|
.endif
|
|
|
|
|
|
2017-02-04 01:12:48 -05:00
|
|
|
LIBADD= geom md pthread util
|
2010-02-18 18:16:19 -05:00
|
|
|
|
|
|
|
|
YFLAGS+=-v
|
|
|
|
|
|
|
|
|
|
CLEANFILES=y.tab.c y.tab.h y.output
|
|
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|