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