summaryrefslogtreecommitdiffstats
path: root/sbin/hastd/Makefile
blob: e3fed8d0b5224f6579ba780351412a193d174b6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# $FreeBSD$

.include <src.opts.mk>

PROG=	hastd
SRCS=	activemap.c
SRCS+=	control.c crc32.c
SRCS+=	ebuf.c event.c
SRCS+=	hast_checksum.c hast_compression.c hast_proto.c hastd.c hooks.c
SRCS+=	lzf.c
SRCS+=	metadata.c
SRCS+=	nv.c
SRCS+=	secondary.c
SRCS+=	parse.y pjdlog.c primary.c
SRCS+=	proto.c proto_common.c proto_socketpair.c proto_tcp.c proto_uds.c
SRCS+=	rangelock.c
SRCS+=	subr.c
SRCS+=	token.l
SRCS+=	y.tab.h
MAN=	hastd.8 hast.conf.5

NO_WFORMAT=
NO_WCAST_ALIGN=
NO_WMISSING_VARIABLE_DECLARATIONS=
CFLAGS+=-I${.CURDIR}
CFLAGS+=-DHAVE_CAPSICUM
CFLAGS+=-DPROTO_TCP_DEFAULT_PORT=8457
CFLAGS+=-DINET
.if ${MK_INET6_SUPPORT} != "no"
CFLAGS+=-DINET6
.endif

LIBADD=	geom pthread util
.if ${MK_OPENSSL} != "no"
LIBADD+=	crypto
CFLAGS+=-DHAVE_CRYPTO
.endif

YFLAGS+=-v

CLEANFILES=y.tab.c y.tab.h y.output

.include <bsd.prog.mk>
OpenPOWER on IntegriCloud