]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - sbin/hastctl/Makefile
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / sbin / hastctl / Makefile
1 # $FreeBSD$
2
3 .include <bsd.own.mk>
4
5 .PATH:  ${.CURDIR}/../hastd
6
7 PROG=   hastctl
8 SRCS=   activemap.c
9 SRCS+=  crc32.c
10 SRCS+=  ebuf.c
11 SRCS+=  hast_checksum.c hast_compression.c hast_proto.c hastctl.c
12 SRCS+=  lzf.c
13 SRCS+=  metadata.c
14 SRCS+=  nv.c
15 SRCS+=  parse.y pjdlog.c
16 SRCS+=  proto.c proto_common.c proto_uds.c
17 SRCS+=  token.l
18 SRCS+=  subr.c
19 SRCS+=  y.tab.h
20 MAN=    hastctl.8
21
22 NO_WFORMAT=
23 NO_WCAST_ALIGN=
24 CFLAGS+=-I${.CURDIR}/../hastd
25 CFLAGS+=-DHAVE_CAPSICUM
26 CFLAGS+=-DINET
27 .if ${MK_INET6_SUPPORT} != "no"
28 CFLAGS+=-DINET6
29 .endif
30 # This is needed to have WARNS > 1.
31 CFLAGS+=-DYY_NO_UNPUT
32 CFLAGS+=-DYY_NO_INPUT
33
34 DPADD=  ${LIBUTIL}
35 LDADD=  -lutil
36 .if ${MK_OPENSSL} != "no"
37 DPADD+= ${LIBCRYPTO}
38 LDADD+= -lcrypto
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>