1# $FreeBSD$ 2 3.include <src.opts.mk> 4 5PACKAGE=hast 6PROG= hastd 7SRCS= activemap.c 8SRCS+= control.c crc32.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 pthread util 35.if ${MK_OPENSSL} != "no" 36LIBADD+= crypto 37CFLAGS+=-DHAVE_CRYPTO 38.endif 39 40YFLAGS+=-v 41 42CLEANFILES=y.tab.c y.tab.h y.output 43 44.include <bsd.prog.mk> 45