06a99fe36f
databases. - Make nsswitch support caching. Submitted by: Michael Bushkov <bushman__at__rsu.ru> Sponsored by: Google Summer of Code 2005
20 lines
512 B
Makefile
20 lines
512 B
Makefile
# $FreeBSD$
|
|
|
|
PROG=cached
|
|
PROGNAME=cached
|
|
MAN=cached.conf.5 cached.8
|
|
|
|
WARNS?=2
|
|
SRCS= agent.c cached.c cachedcli.c cachelib.c cacheplcs.c debug.c log.c \
|
|
config.c query.c mp_ws_query.c mp_rs_query.c singletons.c protocol.c \
|
|
parser.c
|
|
CFLAGS+= -DCONFIG_PATH="\"${PREFIX}/etc/cached.conf\""
|
|
DPADD+=${LIBM} ${LIBPTHREAD} ${LIBUTIL}
|
|
LDADD+=${LIBM} ${LIBPTHREAD} ${LIBUTIL}
|
|
LDFLAGS+= -Xlinker --export-dynamic
|
|
|
|
.PATH: ${.CURDIR}/agents
|
|
.include "agents/Makefile.inc"
|
|
.include "../Makefile.inc"
|
|
.include <bsd.prog.mk>
|