freebsd-skq/usr.bin/svn/svnbench/Makefile
ngie fd35055c1e Use SRCTOP/OBJTOP relative paths where possible; use :H manipulation in lieu
of ../ elsewhere

This simplifies pathing in make/displayed output

MFC after:	1 week
Sponsored by:	Dell EMC Isilon
2017-02-12 08:36:47 +00:00

49 lines
1.4 KiB
Makefile

# $FreeBSD$
MAN=
.include "${.CURDIR:H}/Makefile.inc"
.PATH: ${SVNDIR}/svnbench
PROG= svn${SVNLITE}bench
SRCS= help-cmd.c notify.c null-blame-cmd.c null-export-cmd.c \
null-info-cmd.c null-list-cmd.c null-log-cmd.c svnbench.c util.c
CFLAGS+=-I${SVNDIR}/include -I${SVNDIR} -I${.CURDIR:H} \
-I${.CURDIR:H}/lib/libapr \
-I${APR}/include/arch/unix \
-I${APR}/include \
-I${.CURDIR:H}/lib/libapr_util \
-I${APRU}/include/private \
-I${APRU}/include
LDADD= -L${LIBSVN_CLIENTDIR} -lsvn_client \
-L${LIBSVN_WCDIR} -lsvn_wc \
-L${LIBSVN_RADIR} -lsvn_ra \
-L${LIBSVN_RA_LOCALDIR} -lsvn_ra_local \
-L${LIBSVN_RA_SVNDIR} -lsvn_ra_svn \
-L${LIBSVN_RA_SERFDIR} -lsvn_ra_serf \
-L${LIBSVN_REPOSDIR} -lsvn_repos \
-L${LIBSVN_FSDIR} -lsvn_fs \
-L${LIBSVN_FS_FSDIR} -lsvn_fs_fs \
-L${LIBSVN_FS_XDIR} -lsvn_fs_x \
-L${LIBSVN_FS_UTILDIR} -lsvn_fs_util \
-L${LIBSVN_DELTADIR} -lsvn_delta \
-L${LIBSVN_DIFFDIR} -lsvn_diff \
-L${LIBSVN_SUBRDIR} -lsvn_subr \
-L${LIBSERFDIR} -lserf \
-L${LIBAPR_UTILDIR} -lapr-util \
-L${LIBAPRDIR} -lapr
LIBADD+= bsdxml sqlite3 z magic crypto ssl pthread
DPADD= ${LIBSVN_CLIENT} ${LIBSVN_WC} ${LIBSVN_RA} ${LIBSVN_RA_LOCAL} \
${LIBSVN_RA_SVN} ${LIBSVN_RA_SERF} ${LIBSVN_REPOS} \
${LIBSVN_FS} ${LIBSVN_FS_FS} ${LIBSVN_FS_UTIL} ${LIBSVN_DELTA} \
${LIBSVN_DIFF} ${LIBSVN_SUBR} ${LIBSERF} ${LIBAPR_UTIL} \
${LIBAPR}
.include <bsd.prog.mk>