summaryrefslogtreecommitdiffstats
path: root/usr.sbin/nscd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/nscd/Makefile')
-rw-r--r--usr.sbin/nscd/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/usr.sbin/nscd/Makefile b/usr.sbin/nscd/Makefile
new file mode 100644
index 0000000..5478341
--- /dev/null
+++ b/usr.sbin/nscd/Makefile
@@ -0,0 +1,19 @@
+# $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>
OpenPOWER on IntegriCloud