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