]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sbin/hastctl/Makefile
Use function tdfind() to find a thread.
[FreeBSD/FreeBSD.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+=  ebuf.c
10 SRCS+=  hast_proto.c hastctl.c
11 SRCS+=  metadata.c
12 SRCS+=  nv.c
13 SRCS+=  parse.y pjdlog.c
14 SRCS+=  proto.c proto_common.c proto_tcp4.c proto_uds.c
15 SRCS+=  token.l
16 SRCS+=  subr.c
17 SRCS+=  y.tab.h
18 MAN=    hastctl.8
19
20 CFLAGS+=-I${.CURDIR}/../hastd
21 CFLAGS+=-DINET
22 .if ${MK_INET6_SUPPORT} != "no"
23 CFLAGS+=-DINET6
24 .endif
25 # This is needed to have WARNS > 1.
26 CFLAGS+=-DYY_NO_UNPUT
27
28 DPADD=  ${LIBL}
29 LDADD=  -ll
30 .if ${MK_OPENSSL} != "no"
31 DPADD+= ${LIBCRYPTO}
32 LDADD+= -lcrypto
33 CFLAGS+=-DHAVE_CRYPTO
34 .endif
35
36 YFLAGS+=-v
37
38 CLEANFILES=y.tab.c y.tab.h y.output
39
40 .include <bsd.prog.mk>