Baptiste Daroussin 362492e53e 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

47 lines
1.3 KiB
Makefile

# $FreeBSD$
MAN=
.include "${.CURDIR}/../Makefile.inc"
.PATH: ${SVNDIR}/svnmucc
PROG= svn${SVNLITE}mucc
SRCS= svnmucc.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_CLIENTDIR} -lsvn_client \
-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_UTILDIR} -lsvn_fs_util \
-L${LIBSVN_DELTADIR} -lsvn_delta \
-L${LIBSVN_SUBRDIR} -lsvn_subr \
-L${LIBSERFDIR} -lserf \
-L${LIBAPR_UTILDIR} -lapr-util \
-lbsdxml \
-L${LIBAPRDIR} -lapr \
${LDSQLITE3} \
-lz -lcrypt -lmagic -lcrypto -lssl -lpthread
DPADD= ${LIBSVN_CLIENT} ${LIBSVN_RA} ${LIBSVN_RA_LOCAL} ${LIBSVN_RA_SVN} \
${LIBSVN_RA_SERF} ${LIBSVN_REPOS} ${LIBSVN_FS} ${LIBSVN_FS_FS} \
${LIBSVN_FS_UTIL} ${LIBSVN_DELTA} ${LIBSVN_SUBR} ${LIBSERF} \
${LIBAPR_UTIL} ${LIBBSDXML} ${LIBAPR} ${LIBSQLITE3} ${LIBZ} \
${LIBCRYPT} ${LIBMAGIC} ${LIBCRYPTO} ${LIBSSL} ${LIBPTHREAD}
USEPRIVATELIB= sqlite3
.include <bsd.prog.mk>