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