1 2.include <src.opts.mk> 3 4PACKAGE=hast 5PROG= hastd 6SRCS= activemap.c 7SRCS+= control.c 8SRCS+= ebuf.c event.c 9SRCS+= hast_checksum.c hast_compression.c hast_proto.c hastd.c hooks.c 10SRCS+= lzf.c 11SRCS+= metadata.c 12SRCS+= nv.c 13SRCS+= secondary.c 14SRCS+= parse.y pjdlog.c primary.c 15SRCS+= proto.c proto_common.c proto_socketpair.c proto_tcp.c proto_uds.c 16SRCS+= rangelock.c 17SRCS+= subr.c 18SRCS+= token.l 19SRCS+= y.tab.h 20MAN= hastd.8 hast.conf.5 21 22NO_WFORMAT= 23NO_WCAST_ALIGN= 24NO_WMISSING_VARIABLE_DECLARATIONS= 25CFLAGS+=-I${.CURDIR} 26CFLAGS+=-DHAVE_CAPSICUM 27CFLAGS+=-DPROTO_TCP_DEFAULT_PORT=8457 28CFLAGS+=-DINET 29.if ${MK_INET6_SUPPORT} != "no" 30CFLAGS+=-DINET6 31.endif 32 33LIBADD= geom md pthread util z 34 35YFLAGS+=-v 36 37CLEANFILES=y.tab.c y.tab.h y.output 38 39.include <bsd.prog.mk> 40