]> CyberLeo.Net >> Repos - FreeBSD/releng/8.1.git/blob - sbin/hastctl/Makefile
Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.
[FreeBSD/releng/8.1.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 WARNS?= 6
19 MAN=    hastctl.8
20
21 CFLAGS+=-I${.CURDIR}/../hastd
22 CFLAGS+=-DINET
23 .if ${MK_INET6_SUPPORT} != "no"
24 CFLAGS+=-DINET6
25 .endif
26 # This is needed to have WARNS > 1.
27 CFLAGS+=-DYY_NO_UNPUT
28
29 DPADD=  ${LIBL}
30 LDADD=  -ll
31 .if ${MK_OPENSSL} != "no"
32 DPADD+= ${LIBCRYPTO}
33 LDADD+= -lcrypto
34 CFLAGS+=-DHAVE_CRYPTO
35 .endif
36
37 YFLAGS+=-v
38
39 CLEANFILES=y.tab.c y.tab.h y.output
40
41 .include <bsd.prog.mk>