head	1.3;
access;
symbols;
locks; strict;
comment	@# @;


1.3
date	2007.10.02.07.51.42;	author bushman;	state dead;
branches;
next	1.2;

1.2
date	2006.11.26.14.36.34;	author ru;	state Exp;
branches;
next	1.1;

1.1
date	2006.04.28.12.03.37;	author ume;	state Exp;
branches;
next	;


desc
@@


1.3
log
@Removing obsolete cached files after cached->nscd renaming.

Approved by:	re (kensmith), brooks (mentor)
@
text
@# $FreeBSD: src/usr.sbin/cached/Makefile,v 1.2 2006/11/26 14:36:34 ru Exp $

PROG=	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=	-lm -lpthread -lutil

.PATH: ${.CURDIR}/agents
.include "${.CURDIR}/agents/Makefile.inc"
.include <bsd.prog.mk>
@


1.2
log
@- When building world WITHOUT_LIBPTHREAD, link libthr to libpthread.
- Don't build ngctl(8) and cached(8) if threading libs aren't built.
- Fix various issues in a cached(8) makefile.
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.1
log
@- Extend the nsswitch to support Services, Protocols and Rpc
  databases.
- Make nsswitch support caching.

Submitted by:	Michael Bushkov <bushman__at__rsu.ru>
Sponsored by:	Google Summer of Code 2005
@
text
@d3 2
a4 3
PROG=cached
PROGNAME=cached
MAN=cached.conf.5 cached.8
d6 2
a7 2
WARNS?=2
SRCS= agent.c cached.c cachedcli.c cachelib.c cacheplcs.c debug.c log.c \
d11 2
a12 3
DPADD+=${LIBM} ${LIBPTHREAD} ${LIBUTIL}
LDADD+=${LIBM} ${LIBPTHREAD} ${LIBUTIL}
LDFLAGS+= -Xlinker --export-dynamic
d14 2
a15 3
.PATH:	${.CURDIR}/agents
.include "agents/Makefile.inc"
.include "../Makefile.inc"
@

