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