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