1# $FreeBSD: stable/11/usr.bin/svn/svnrdump/Makefile 362181 2020-06-14 18:49:06Z dim $
2
3MAN=
4
5.include "${.CURDIR:H}/Makefile.inc"
6
7.PATH:		${SVNDIR}/svnrdump
8
9PROG=		svn${SVNLITE}rdump
10
11SRCS=		dump_editor.c \
12		load_editor.c \
13		svnrdump.c \
14		util.c
15
16CFLAGS+=	-I${SVNDIR}/include \
17		-I${SVNDIR} \
18		-I${.CURDIR:H} \
19		-I${.CURDIR:H}/lib/libapr \
20		-I${APR}/include/arch/unix \
21		-I${APR}/include \
22		-I${.CURDIR:H}/lib/libapr_util \
23		-I${APRU}/include/private \
24		-I${APRU}/include
25
26LDADD=		-L${LIBSVN_CLIENTDIR} -lsvn_client \
27		-L${LIBSVN_WCDIR} -lsvn_wc \
28		-L${LIBSVN_RADIR} -lsvn_ra \
29		-L${LIBSVN_RA_LOCALDIR} -lsvn_ra_local \
30		-L${LIBSVN_RA_SVNDIR} -lsvn_ra_svn \
31		-L${LIBSVN_RA_SERFDIR} -lsvn_ra_serf \
32		-L${LIBSVN_REPOSDIR} -lsvn_repos \
33		-L${LIBSVN_FSDIR} -lsvn_fs \
34		-L${LIBSVN_FS_FSDIR} -lsvn_fs_fs \
35		-L${LIBSVN_FS_XDIR} -lsvn_fs_x \
36		-L${LIBSVN_FS_UTILDIR} -lsvn_fs_util \
37		-L${LIBSVN_DELTADIR} -lsvn_delta \
38		-L${LIBSVN_DIFFDIR} -lsvn_diff \
39		-L${LIBSVN_SUBRDIR} -lsvn_subr \
40		-L${LIBSERFDIR} -lserf \
41		-L${LIBAPR_UTILDIR} -lapr-util \
42		-L${LIBAPRDIR} -lapr
43
44LIBADD+=	bsdxml \
45		sqlite3 \
46		z \
47		crypto \
48		ssl \
49		pthread
50
51DPADD=		${LIBSVN_CLIENT} \
52		${LIBSVN_WC} \
53		${LIBSVN_RA} \
54		${LIBSVN_RA_LOCAL} \
55		${LIBSVN_RA_SVN} \
56		${LIBSVN_RA_SERF} \
57		${LIBSVN_REPOS} \
58		${LIBSVN_FS} \
59		${LIBSVN_FS_FS} \
60		${LIBSVN_FS_UTIL} \
61		${LIBSVN_DELTA} \
62		${LIBSVN_DIFF} \
63		${LIBSVN_SUBR} \
64		${LIBSERF} \
65		${LIBAPR_UTIL} \
66		${LIBAPR}
67
68.include <bsd.prog.mk>
69