1# $FreeBSD$ 2 3.include <src.opts.mk> 4 5PACKAGE=hast 6.PATH: ${.CURDIR:H}/hastd 7 8PROG= hastctl 9SRCS= activemap.c 10SRCS+= ebuf.c 11SRCS+= hast_checksum.c hast_compression.c hast_proto.c hastctl.c 12SRCS+= lzf.c 13SRCS+= metadata.c 14SRCS+= nv.c 15SRCS+= parse.y pjdlog.c 16SRCS+= proto.c proto_common.c proto_uds.c 17SRCS+= token.l 18SRCS+= subr.c 19SRCS+= y.tab.h 20MAN= hastctl.8 21 22NO_WFORMAT= 23NO_WCAST_ALIGN= 24NO_WMISSING_VARIABLE_DECLARATIONS= 25CFLAGS+=-I${.CURDIR:H}/hastd 26CFLAGS+=-DHAVE_CAPSICUM 27CFLAGS+=-DINET 28.if ${MK_INET6_SUPPORT} != "no" 29CFLAGS+=-DINET6 30.endif 31# This is needed to have WARNS > 1. 32CFLAGS+=-DYY_NO_UNPUT 33CFLAGS+=-DYY_NO_INPUT 34 35LIBADD= md util z 36 37YFLAGS+=-v 38 39CLEANFILES=y.tab.c y.tab.h y.output 40 41.include <bsd.prog.mk> 42