freebsd-skq/usr.bin/svn/svnversion/Makefile
bapt ac30980145 Promote SQLite3 as a privatelib as it will also be used by mandoc
While here ensure sqlite3 is using pread(2) and enable the suppot for FTS4
2014-11-22 19:44:49 +00:00

37 lines
823 B
Makefile

# $FreeBSD$
MAN=
.include "${.CURDIR}/../Makefile.inc"
.PATH: ${SVNDIR}/svnversion
PROG= svn${SVNLITE}version
SRCS= svnversion.c
CFLAGS+=-I${SVNDIR}/include -I${SVNDIR} -I${.CURDIR}/.. \
-I${.CURDIR}/../lib/libapr \
-I${APR}/include/arch/unix \
-I${APR}/include \
-I${.CURDIR}/../lib/libapr_util \
-I${APRU}/include/private \
-I${APRU}/include
LDADD= -L${LIBSVN_WCDIR} -lsvn_wc \
-L${LIBSVN_DELTADIR} -lsvn_delta \
-L${LIBSVN_DIFFDIR} -lsvn_diff \
-L${LIBSVN_SUBRDIR} -lsvn_subr \
-L${LIBAPR_UTILDIR} -lapr-util \
-lbsdxml \
-L${LIBAPRDIR} -lapr \
${LDSQLITE3} \
-lz -lcrypt -lpthread
DPADD= ${LIBSVN_WC} ${LIBSVN_DELTA} ${LIBSVN_DIFF} ${LIBSVN_SUBR} \
${LIBSERF} ${LIBAPR_UTIL} ${LIBBSDXML} ${LIBAPR} ${LIBSQLITE3} \
${LIBZ} ${LIBCRYPT} ${LIBPTHREAD}
USEPRIVATELIB= sqlite3
.include <bsd.prog.mk>