mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-20 11:11:24 +00:00
acc1741c58
The application links and runs without libl Approved by: rpaulo (mentor) Phabric: D673 X-MFC with: r270117 Submitted by: trociny
46 lines
940 B
Makefile
46 lines
940 B
Makefile
# $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
|
|
|
|
DPADD= ${LIBGEOM} ${LIBBSDXML} ${LIBSBUF} ${LIBPTHREAD} ${LIBUTIL}
|
|
LDADD= -lgeom -lbsdxml -lsbuf -lpthread -lutil
|
|
.if ${MK_OPENSSL} != "no"
|
|
DPADD+= ${LIBCRYPTO}
|
|
LDADD+= -lcrypto
|
|
CFLAGS+=-DHAVE_CRYPTO
|
|
.endif
|
|
|
|
YFLAGS+=-v
|
|
|
|
CLEANFILES=y.tab.c y.tab.h y.output
|
|
|
|
.include <bsd.prog.mk>
|