1251886Speter# $FreeBSD: releng/11.0/usr.bin/svn/svnbench/Makefile 289180 2015-10-12 09:53:55Z peter $
2251886Speter
3289180SpeterMAN=
4289180Speter
5251886Speter.include "${.CURDIR}/../Makefile.inc"
6251886Speter
7289180Speter.PATH:	${SVNDIR}/svnbench
8251886Speter
9289180SpeterPROG=	svn${SVNLITE}bench
10251886Speter
11289180SpeterSRCS=	help-cmd.c notify.c null-blame-cmd.c null-export-cmd.c \
12289180Speter	null-info-cmd.c null-list-cmd.c null-log-cmd.c svnbench.c util.c
13251886Speter
14251886SpeterCFLAGS+=-I${SVNDIR}/include -I${SVNDIR} -I${.CURDIR}/.. \
15251886Speter	-I${.CURDIR}/../lib/libapr \
16251886Speter	-I${APR}/include/arch/unix \
17251886Speter	-I${APR}/include \
18251886Speter	-I${.CURDIR}/../lib/libapr_util \
19251886Speter	-I${APRU}/include/private \
20251886Speter	-I${APRU}/include
21251886Speter
22251886SpeterLDADD=	-L${LIBSVN_CLIENTDIR} -lsvn_client \
23251886Speter	-L${LIBSVN_WCDIR} -lsvn_wc \
24251886Speter	-L${LIBSVN_RADIR} -lsvn_ra \
25251886Speter	-L${LIBSVN_RA_LOCALDIR} -lsvn_ra_local \
26251886Speter	-L${LIBSVN_RA_SVNDIR} -lsvn_ra_svn \
27251886Speter	-L${LIBSVN_RA_SERFDIR} -lsvn_ra_serf \
28251886Speter	-L${LIBSVN_REPOSDIR} -lsvn_repos \
29251886Speter	-L${LIBSVN_FSDIR} -lsvn_fs \
30251886Speter	-L${LIBSVN_FS_FSDIR} -lsvn_fs_fs \
31289180Speter	-L${LIBSVN_FS_XDIR} -lsvn_fs_x \
32251886Speter	-L${LIBSVN_FS_UTILDIR} -lsvn_fs_util \
33251886Speter	-L${LIBSVN_DELTADIR} -lsvn_delta \
34251886Speter	-L${LIBSVN_DIFFDIR} -lsvn_diff \
35251886Speter	-L${LIBSVN_SUBRDIR} -lsvn_subr \
36251886Speter	-L${LIBSERFDIR} -lserf \
37251886Speter	-L${LIBAPR_UTILDIR} -lapr-util \
38275079Sbapt	-L${LIBAPRDIR} -lapr
39289180Speter
40275079SbaptLIBADD+=	bsdxml sqlite3 z magic crypto ssl pthread
41251886Speter
42251886SpeterDPADD=	${LIBSVN_CLIENT} ${LIBSVN_WC} ${LIBSVN_RA} ${LIBSVN_RA_LOCAL} \
43251886Speter	${LIBSVN_RA_SVN} ${LIBSVN_RA_SERF} ${LIBSVN_REPOS} \
44251886Speter	${LIBSVN_FS} ${LIBSVN_FS_FS} ${LIBSVN_FS_UTIL} ${LIBSVN_DELTA} \
45251886Speter	${LIBSVN_DIFF} ${LIBSVN_SUBR} ${LIBSERF} ${LIBAPR_UTIL} \
46275079Sbapt	${LIBAPR}
47251886Speter
48251886Speter.include <bsd.prog.mk>
49