From 1f404a4a8e5991e083dec0f89bd6393ec4146b6a Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Sun, 31 May 2020 22:40:39 +0000 Subject: [PATCH] Change more Makefiles under usr.bin/svn to make them easier to incrementally update. No functional change intended. MFC after: 2 weeks X-MFC-With: r361677 --- usr.bin/svn/svn/Makefile | 143 ++++++++++++++++++++--------- usr.bin/svn/svnadmin/Makefile | 57 +++++++----- usr.bin/svn/svnbench/Makefile | 94 ++++++++++++------- usr.bin/svn/svndumpfilter/Makefile | 58 +++++++----- usr.bin/svn/svnfsfs/Makefile | 60 +++++++----- usr.bin/svn/svnlook/Makefile | 60 +++++++----- usr.bin/svn/svnmucc/Makefile | 82 ++++++++++------- usr.bin/svn/svnrdump/Makefile | 88 +++++++++++------- usr.bin/svn/svnserve/Makefile | 78 ++++++++++------ usr.bin/svn/svnsync/Makefile | 76 +++++++++------ usr.bin/svn/svnversion/Makefile | 49 ++++++---- 11 files changed, 533 insertions(+), 312 deletions(-) diff --git a/usr.bin/svn/svn/Makefile b/usr.bin/svn/svn/Makefile index a9f57cce2f22..52ca922cd34d 100644 --- a/usr.bin/svn/svn/Makefile +++ b/usr.bin/svn/svn/Makefile @@ -2,54 +2,111 @@ .include "${.CURDIR:H}/Makefile.inc" -.PATH: ${SVNDIR}/svn +.PATH: ${SVNDIR}/svn -PROG= svn${SVNLITE} +PROG= svn${SVNLITE} -SRCS= add-cmd.c auth-cmd.c blame-cmd.c cat-cmd.c changelist-cmd.c \ - checkout-cmd.c cl-conflicts.c cleanup-cmd.c commit-cmd.c \ - conflict-callbacks.c copy-cmd.c delete-cmd.c deprecated.c \ - diff-cmd.c export-cmd.c file-merge.c help-cmd.c import-cmd.c \ - info-cmd.c list-cmd.c lock-cmd.c log-cmd.c merge-cmd.c \ - mergeinfo-cmd.c mkdir-cmd.c move-cmd.c notify.c patch-cmd.c \ - propdel-cmd.c propedit-cmd.c propget-cmd.c proplist-cmd.c \ - props.c propset-cmd.c relocate-cmd.c resolve-cmd.c \ - resolved-cmd.c revert-cmd.c \ - shelve-cmd.c status-cmd.c similarity.c status.c \ - svn.c switch-cmd.c unlock-cmd.c update-cmd.c upgrade-cmd.c util.c +SRCS= add-cmd.c \ + auth-cmd.c \ + blame-cmd.c \ + cat-cmd.c \ + changelist-cmd.c \ + checkout-cmd.c \ + cl-conflicts.c \ + cleanup-cmd.c \ + commit-cmd.c \ + conflict-callbacks.c \ + copy-cmd.c \ + delete-cmd.c \ + deprecated.c \ + diff-cmd.c \ + export-cmd.c \ + file-merge.c \ + help-cmd.c \ + import-cmd.c \ + info-cmd.c \ + list-cmd.c \ + lock-cmd.c \ + log-cmd.c \ + merge-cmd.c \ + mergeinfo-cmd.c \ + mkdir-cmd.c \ + move-cmd.c \ + notify.c \ + patch-cmd.c \ + propdel-cmd.c \ + propedit-cmd.c \ + propget-cmd.c \ + proplist-cmd.c \ + props.c \ + propset-cmd.c \ + relocate-cmd.c \ + resolve-cmd.c \ + resolved-cmd.c \ + revert-cmd.c \ + shelve-cmd.c \ + status-cmd.c \ + similarity.c \ + status.c \ + svn.c \ + switch-cmd.c \ + unlock-cmd.c \ + update-cmd.c \ + upgrade-cmd.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 +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${PIE_SUFFIX} \ - -L${LIBSVN_WCDIR} -lsvn_wc${PIE_SUFFIX} \ - -L${LIBSVN_RADIR} -lsvn_ra${PIE_SUFFIX} \ - -L${LIBSVN_RA_LOCALDIR} -lsvn_ra_local${PIE_SUFFIX} \ - -L${LIBSVN_RA_SVNDIR} -lsvn_ra_svn${PIE_SUFFIX} \ - -L${LIBSVN_RA_SERFDIR} -lsvn_ra_serf${PIE_SUFFIX} \ - -L${LIBSVN_REPOSDIR} -lsvn_repos${PIE_SUFFIX} \ - -L${LIBSVN_FSDIR} -lsvn_fs${PIE_SUFFIX} \ - -L${LIBSVN_FS_FSDIR} -lsvn_fs_fs${PIE_SUFFIX} \ - -L${LIBSVN_FS_XDIR} -lsvn_fs_x${PIE_SUFFIX} \ - -L${LIBSVN_FS_UTILDIR} -lsvn_fs_util${PIE_SUFFIX} \ - -L${LIBSVN_DELTADIR} -lsvn_delta${PIE_SUFFIX} \ - -L${LIBSVN_DIFFDIR} -lsvn_diff${PIE_SUFFIX} \ - -L${LIBSVN_SUBRDIR} -lsvn_subr${PIE_SUFFIX} \ - -L${LIBSERFDIR} -lserf${PIE_SUFFIX} \ - -L${LIBAPR_UTILDIR} -lapr-util${PIE_SUFFIX} \ - -L${LIBAPRDIR} -lapr${PIE_SUFFIX} -LIBADD+= bsdxml sqlite3 z magic crypto ssl pthread +LDADD= -L${LIBSVN_CLIENTDIR} -lsvn_client${PIE_SUFFIX} \ + -L${LIBSVN_WCDIR} -lsvn_wc${PIE_SUFFIX} \ + -L${LIBSVN_RADIR} -lsvn_ra${PIE_SUFFIX} \ + -L${LIBSVN_RA_LOCALDIR} -lsvn_ra_local${PIE_SUFFIX} \ + -L${LIBSVN_RA_SVNDIR} -lsvn_ra_svn${PIE_SUFFIX} \ + -L${LIBSVN_RA_SERFDIR} -lsvn_ra_serf${PIE_SUFFIX} \ + -L${LIBSVN_REPOSDIR} -lsvn_repos${PIE_SUFFIX} \ + -L${LIBSVN_FSDIR} -lsvn_fs${PIE_SUFFIX} \ + -L${LIBSVN_FS_FSDIR} -lsvn_fs_fs${PIE_SUFFIX} \ + -L${LIBSVN_FS_XDIR} -lsvn_fs_x${PIE_SUFFIX} \ + -L${LIBSVN_FS_UTILDIR} -lsvn_fs_util${PIE_SUFFIX} \ + -L${LIBSVN_DELTADIR} -lsvn_delta${PIE_SUFFIX} \ + -L${LIBSVN_DIFFDIR} -lsvn_diff${PIE_SUFFIX} \ + -L${LIBSVN_SUBRDIR} -lsvn_subr${PIE_SUFFIX} \ + -L${LIBSERFDIR} -lserf${PIE_SUFFIX} \ + -L${LIBAPR_UTILDIR} -lapr-util${PIE_SUFFIX} \ + -L${LIBAPRDIR} -lapr${PIE_SUFFIX} -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} +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} CLEANFILES+= svnlite.1 .if(defined(ORGANIZATION) && !empty(ORGANIZATION)) diff --git a/usr.bin/svn/svnadmin/Makefile b/usr.bin/svn/svnadmin/Makefile index 8fe3dfc15d4c..f6d0a8e0c540 100644 --- a/usr.bin/svn/svnadmin/Makefile +++ b/usr.bin/svn/svnadmin/Makefile @@ -4,33 +4,44 @@ MAN= .include "${.CURDIR:H}/Makefile.inc" -.PATH: ${SVNDIR}/svnadmin +.PATH: ${SVNDIR}/svnadmin -PROG= svn${SVNLITE}admin +PROG= svn${SVNLITE}admin -SRCS= svnadmin.c +SRCS= svnadmin.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 +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_REPOSDIR} -lsvn_repos${PIE_SUFFIX} \ - -L${LIBSVN_FSDIR} -lsvn_fs${PIE_SUFFIX} \ - -L${LIBSVN_FS_FSDIR} -lsvn_fs_fs${PIE_SUFFIX} \ - -L${LIBSVN_FS_XDIR} -lsvn_fs_x${PIE_SUFFIX} \ - -L${LIBSVN_FS_UTILDIR} -lsvn_fs_util${PIE_SUFFIX} \ - -L${LIBSVN_DELTADIR} -lsvn_delta${PIE_SUFFIX} \ - -L${LIBSVN_SUBRDIR} -lsvn_subr${PIE_SUFFIX} \ - -L${LIBAPR_UTILDIR} -lapr-util${PIE_SUFFIX} \ - -L${LIBAPRDIR} -lapr${PIE_SUFFIX} -LIBADD+= bsdxml sqlite3 z pthread +LDADD= -L${LIBSVN_REPOSDIR} -lsvn_repos${PIE_SUFFIX} \ + -L${LIBSVN_FSDIR} -lsvn_fs${PIE_SUFFIX} \ + -L${LIBSVN_FS_FSDIR} -lsvn_fs_fs${PIE_SUFFIX} \ + -L${LIBSVN_FS_XDIR} -lsvn_fs_x${PIE_SUFFIX} \ + -L${LIBSVN_FS_UTILDIR} -lsvn_fs_util${PIE_SUFFIX} \ + -L${LIBSVN_DELTADIR} -lsvn_delta${PIE_SUFFIX} \ + -L${LIBSVN_SUBRDIR} -lsvn_subr${PIE_SUFFIX} \ + -L${LIBAPR_UTILDIR} -lapr-util${PIE_SUFFIX} \ + -L${LIBAPRDIR} -lapr${PIE_SUFFIX} -DPADD= ${LIBSVN_REPOS} ${LIBSVN_FS} ${LIBSVN_FS_FS} ${LIBSVN_FS_UTIL} \ - ${LIBSVN_DELTA} ${LIBSVN_SUBR} ${LIBAPR_UTIL} \ - ${LIBAPR} +LIBADD+= bsdxml \ + sqlite3 \ + z \ + pthread + +DPADD= ${LIBSVN_REPOS} \ + ${LIBSVN_FS} \ + ${LIBSVN_FS_FS} \ + ${LIBSVN_FS_UTIL} \ + ${LIBSVN_DELTA} \ + ${LIBSVN_SUBR} \ + ${LIBAPR_UTIL} \ + ${LIBAPR} .include diff --git a/usr.bin/svn/svnbench/Makefile b/usr.bin/svn/svnbench/Makefile index 728de8802d7f..5ab6d8636156 100644 --- a/usr.bin/svn/svnbench/Makefile +++ b/usr.bin/svn/svnbench/Makefile @@ -4,45 +4,71 @@ MAN= .include "${.CURDIR:H}/Makefile.inc" -.PATH: ${SVNDIR}/svnbench +.PATH: ${SVNDIR}/svnbench -PROG= svn${SVNLITE}bench +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 +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 +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${PIE_SUFFIX} \ - -L${LIBSVN_WCDIR} -lsvn_wc${PIE_SUFFIX} \ - -L${LIBSVN_RADIR} -lsvn_ra${PIE_SUFFIX} \ - -L${LIBSVN_RA_LOCALDIR} -lsvn_ra_local${PIE_SUFFIX} \ - -L${LIBSVN_RA_SVNDIR} -lsvn_ra_svn${PIE_SUFFIX} \ - -L${LIBSVN_RA_SERFDIR} -lsvn_ra_serf${PIE_SUFFIX} \ - -L${LIBSVN_REPOSDIR} -lsvn_repos${PIE_SUFFIX} \ - -L${LIBSVN_FSDIR} -lsvn_fs${PIE_SUFFIX} \ - -L${LIBSVN_FS_FSDIR} -lsvn_fs_fs${PIE_SUFFIX} \ - -L${LIBSVN_FS_XDIR} -lsvn_fs_x${PIE_SUFFIX} \ - -L${LIBSVN_FS_UTILDIR} -lsvn_fs_util${PIE_SUFFIX} \ - -L${LIBSVN_DELTADIR} -lsvn_delta${PIE_SUFFIX} \ - -L${LIBSVN_DIFFDIR} -lsvn_diff${PIE_SUFFIX} \ - -L${LIBSVN_SUBRDIR} -lsvn_subr${PIE_SUFFIX} \ - -L${LIBSERFDIR} -lserf${PIE_SUFFIX} \ - -L${LIBAPR_UTILDIR} -lapr-util${PIE_SUFFIX} \ - -L${LIBAPRDIR} -lapr${PIE_SUFFIX} +LDADD= -L${LIBSVN_CLIENTDIR} -lsvn_client${PIE_SUFFIX} \ + -L${LIBSVN_WCDIR} -lsvn_wc${PIE_SUFFIX} \ + -L${LIBSVN_RADIR} -lsvn_ra${PIE_SUFFIX} \ + -L${LIBSVN_RA_LOCALDIR} -lsvn_ra_local${PIE_SUFFIX} \ + -L${LIBSVN_RA_SVNDIR} -lsvn_ra_svn${PIE_SUFFIX} \ + -L${LIBSVN_RA_SERFDIR} -lsvn_ra_serf${PIE_SUFFIX} \ + -L${LIBSVN_REPOSDIR} -lsvn_repos${PIE_SUFFIX} \ + -L${LIBSVN_FSDIR} -lsvn_fs${PIE_SUFFIX} \ + -L${LIBSVN_FS_FSDIR} -lsvn_fs_fs${PIE_SUFFIX} \ + -L${LIBSVN_FS_XDIR} -lsvn_fs_x${PIE_SUFFIX} \ + -L${LIBSVN_FS_UTILDIR} -lsvn_fs_util${PIE_SUFFIX} \ + -L${LIBSVN_DELTADIR} -lsvn_delta${PIE_SUFFIX} \ + -L${LIBSVN_DIFFDIR} -lsvn_diff${PIE_SUFFIX} \ + -L${LIBSVN_SUBRDIR} -lsvn_subr${PIE_SUFFIX} \ + -L${LIBSERFDIR} -lserf${PIE_SUFFIX} \ + -L${LIBAPR_UTILDIR} -lapr-util${PIE_SUFFIX} \ + -L${LIBAPRDIR} -lapr${PIE_SUFFIX} -LIBADD+= bsdxml sqlite3 z magic crypto ssl pthread +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} +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 diff --git a/usr.bin/svn/svndumpfilter/Makefile b/usr.bin/svn/svndumpfilter/Makefile index 113a004a6784..6c9024fbe9bc 100644 --- a/usr.bin/svn/svndumpfilter/Makefile +++ b/usr.bin/svn/svndumpfilter/Makefile @@ -4,33 +4,45 @@ MAN= .include "${.CURDIR:H}/Makefile.inc" -.PATH: ${SVNDIR}/svndumpfilter +.PATH: ${SVNDIR}/svndumpfilter -PROG= svn${SVNLITE}dumpfilter +PROG= svn${SVNLITE}dumpfilter -SRCS= svndumpfilter.c +SRCS= svndumpfilter.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 +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_REPOSDIR} -lsvn_repos${PIE_SUFFIX} \ - -L${LIBSVN_FSDIR} -lsvn_fs${PIE_SUFFIX} \ - -L${LIBSVN_FS_FSDIR} -lsvn_fs_fs${PIE_SUFFIX} \ - -L${LIBSVN_FS_XDIR} -lsvn_fs_x${PIE_SUFFIX} \ - -L${LIBSVN_FS_UTILDIR} -lsvn_fs_util${PIE_SUFFIX} \ - -L${LIBSVN_DELTADIR} -lsvn_delta${PIE_SUFFIX} \ - -L${LIBSVN_SUBRDIR} -lsvn_subr${PIE_SUFFIX} \ - -L${LIBAPR_UTILDIR} -lapr-util${PIE_SUFFIX} \ - -L${LIBAPRDIR} -lapr${PIE_SUFFIX} -LIBADD+= bsdxml sqlite3 z crypt pthread +LDADD= -L${LIBSVN_REPOSDIR} -lsvn_repos${PIE_SUFFIX} \ + -L${LIBSVN_FSDIR} -lsvn_fs${PIE_SUFFIX} \ + -L${LIBSVN_FS_FSDIR} -lsvn_fs_fs${PIE_SUFFIX} \ + -L${LIBSVN_FS_XDIR} -lsvn_fs_x${PIE_SUFFIX} \ + -L${LIBSVN_FS_UTILDIR} -lsvn_fs_util${PIE_SUFFIX} \ + -L${LIBSVN_DELTADIR} -lsvn_delta${PIE_SUFFIX} \ + -L${LIBSVN_SUBRDIR} -lsvn_subr${PIE_SUFFIX} \ + -L${LIBAPR_UTILDIR} -lapr-util${PIE_SUFFIX} \ + -L${LIBAPRDIR} -lapr${PIE_SUFFIX} -DPADD= ${LIBSVN_REPOS} ${LIBSVN_FS} ${LIBSVN_FS_FS} ${LIBSVN_FS_UTIL} \ - ${LIBSVN_DELTA} ${LIBSVN_SUBR} ${LIBAPR_UTIL} \ - ${LIBAPR} +LIBADD+= bsdxml \ + sqlite3 \ + z \ + crypt \ + pthread + +DPADD= ${LIBSVN_REPOS} \ + ${LIBSVN_FS} \ + ${LIBSVN_FS_FS} \ + ${LIBSVN_FS_UTIL} \ + ${LIBSVN_DELTA} \ + ${LIBSVN_SUBR} \ + ${LIBAPR_UTIL} \ + ${LIBAPR} .include diff --git a/usr.bin/svn/svnfsfs/Makefile b/usr.bin/svn/svnfsfs/Makefile index f5c6da38ccec..2818d5bc6ccc 100644 --- a/usr.bin/svn/svnfsfs/Makefile +++ b/usr.bin/svn/svnfsfs/Makefile @@ -4,33 +4,47 @@ MAN= .include "${.CURDIR:H}/Makefile.inc" -.PATH: ${SVNDIR}/svnfsfs +.PATH: ${SVNDIR}/svnfsfs -PROG= svn${SVNLITE}fsfs +PROG= svn${SVNLITE}fsfs -SRCS= dump-index-cmd.c load-index-cmd.c stats-cmd.c svnfsfs.c +SRCS= dump-index-cmd.c \ + load-index-cmd.c \ + stats-cmd.c \ + svnfsfs.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 +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_REPOSDIR} -lsvn_repos${PIE_SUFFIX} \ - -L${LIBSVN_FSDIR} -lsvn_fs${PIE_SUFFIX} \ - -L${LIBSVN_FS_FSDIR} -lsvn_fs_fs${PIE_SUFFIX} \ - -L${LIBSVN_FS_XDIR} -lsvn_fs_x${PIE_SUFFIX} \ - -L${LIBSVN_FS_UTILDIR} -lsvn_fs_util${PIE_SUFFIX} \ - -L${LIBSVN_DELTADIR} -lsvn_delta${PIE_SUFFIX} \ - -L${LIBSVN_SUBRDIR} -lsvn_subr${PIE_SUFFIX} \ - -L${LIBAPR_UTILDIR} -lapr-util${PIE_SUFFIX} \ - -L${LIBAPRDIR} -lapr${PIE_SUFFIX} -LIBADD+= bsdxml sqlite3 z pthread +LDADD= -L${LIBSVN_REPOSDIR} -lsvn_repos${PIE_SUFFIX} \ + -L${LIBSVN_FSDIR} -lsvn_fs${PIE_SUFFIX} \ + -L${LIBSVN_FS_FSDIR} -lsvn_fs_fs${PIE_SUFFIX} \ + -L${LIBSVN_FS_XDIR} -lsvn_fs_x${PIE_SUFFIX} \ + -L${LIBSVN_FS_UTILDIR} -lsvn_fs_util${PIE_SUFFIX} \ + -L${LIBSVN_DELTADIR} -lsvn_delta${PIE_SUFFIX} \ + -L${LIBSVN_SUBRDIR} -lsvn_subr${PIE_SUFFIX} \ + -L${LIBAPR_UTILDIR} -lapr-util${PIE_SUFFIX} \ + -L${LIBAPRDIR} -lapr${PIE_SUFFIX} -DPADD= ${LIBSVN_REPOS} ${LIBSVN_FS} ${LIBSVN_FS_FS} ${LIBSVN_FS_UTIL} \ - ${LIBSVN_DELTA} ${LIBSVN_SUBR} ${LIBAPR_UTIL} \ - ${LIBAPR} +LIBADD+= bsdxml \ + sqlite3 \ + z \ + pthread + +DPADD= ${LIBSVN_REPOS} \ + ${LIBSVN_FS} \ + ${LIBSVN_FS_FS} \ + ${LIBSVN_FS_UTIL} \ + ${LIBSVN_DELTA} \ + ${LIBSVN_SUBR} \ + ${LIBAPR_UTIL} \ + ${LIBAPR} .include diff --git a/usr.bin/svn/svnlook/Makefile b/usr.bin/svn/svnlook/Makefile index 4e631c2e6ca8..4969c889a3c6 100644 --- a/usr.bin/svn/svnlook/Makefile +++ b/usr.bin/svn/svnlook/Makefile @@ -4,34 +4,46 @@ MAN= .include "${.CURDIR:H}/Makefile.inc" -.PATH: ${SVNDIR}/svnlook +.PATH: ${SVNDIR}/svnlook -PROG= svn${SVNLITE}look +PROG= svn${SVNLITE}look -SRCS= svnlook.c +SRCS= svnlook.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 +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_REPOSDIR} -lsvn_repos${PIE_SUFFIX} \ - -L${LIBSVN_FSDIR} -lsvn_fs${PIE_SUFFIX} \ - -L${LIBSVN_FS_FSDIR} -lsvn_fs_fs${PIE_SUFFIX} \ - -L${LIBSVN_FS_XDIR} -lsvn_fs_x${PIE_SUFFIX} \ - -L${LIBSVN_FS_UTILDIR} -lsvn_fs_util${PIE_SUFFIX} \ - -L${LIBSVN_DELTADIR} -lsvn_delta${PIE_SUFFIX} \ - -L${LIBSVN_DIFFDIR} -lsvn_diff${PIE_SUFFIX} \ - -L${LIBSVN_SUBRDIR} -lsvn_subr${PIE_SUFFIX} \ - -L${LIBAPR_UTILDIR} -lapr-util${PIE_SUFFIX} \ - -L${LIBAPRDIR} -lapr${PIE_SUFFIX} -LIBADD+= bsdxml sqlite3 z pthread +LDADD= -L${LIBSVN_REPOSDIR} -lsvn_repos${PIE_SUFFIX} \ + -L${LIBSVN_FSDIR} -lsvn_fs${PIE_SUFFIX} \ + -L${LIBSVN_FS_FSDIR} -lsvn_fs_fs${PIE_SUFFIX} \ + -L${LIBSVN_FS_XDIR} -lsvn_fs_x${PIE_SUFFIX} \ + -L${LIBSVN_FS_UTILDIR} -lsvn_fs_util${PIE_SUFFIX} \ + -L${LIBSVN_DELTADIR} -lsvn_delta${PIE_SUFFIX} \ + -L${LIBSVN_DIFFDIR} -lsvn_diff${PIE_SUFFIX} \ + -L${LIBSVN_SUBRDIR} -lsvn_subr${PIE_SUFFIX} \ + -L${LIBAPR_UTILDIR} -lapr-util${PIE_SUFFIX} \ + -L${LIBAPRDIR} -lapr${PIE_SUFFIX} -DPADD= ${LIBSVN_REPOS} ${LIBSVN_FS} ${LIBSVN_FS_FS} ${LIBSVN_FS_UTIL} \ - ${LIBSVN_DELTA} ${LIBSVN_DIFF} ${LIBSVN_SUBR} ${LIBAPR_UTIL} \ - ${LIBAPR} +LIBADD+= bsdxml \ + sqlite3 \ + z \ + pthread + +DPADD= ${LIBSVN_REPOS} \ + ${LIBSVN_FS} \ + ${LIBSVN_FS_FS} \ + ${LIBSVN_FS_UTIL} \ + ${LIBSVN_DELTA} \ + ${LIBSVN_DIFF} \ + ${LIBSVN_SUBR} \ + ${LIBAPR_UTIL} \ + ${LIBAPR} .include diff --git a/usr.bin/svn/svnmucc/Makefile b/usr.bin/svn/svnmucc/Makefile index fba151bfa91a..3f3a1554f721 100644 --- a/usr.bin/svn/svnmucc/Makefile +++ b/usr.bin/svn/svnmucc/Makefile @@ -4,42 +4,60 @@ MAN= .include "${.CURDIR:H}/Makefile.inc" -.PATH: ${SVNDIR}/svnmucc +.PATH: ${SVNDIR}/svnmucc -PROG= svn${SVNLITE}mucc +PROG= svn${SVNLITE}mucc -SRCS= svnmucc.c +SRCS= svnmucc.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 +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${PIE_SUFFIX} \ - -L${LIBSVN_WCDIR} -lsvn_wc${PIE_SUFFIX} \ - -L${LIBSVN_RADIR} -lsvn_ra${PIE_SUFFIX} \ - -L${LIBSVN_RA_LOCALDIR} -lsvn_ra_local${PIE_SUFFIX} \ - -L${LIBSVN_RA_SVNDIR} -lsvn_ra_svn${PIE_SUFFIX} \ - -L${LIBSVN_RA_SERFDIR} -lsvn_ra_serf${PIE_SUFFIX} \ - -L${LIBSVN_REPOSDIR} -lsvn_repos${PIE_SUFFIX} \ - -L${LIBSVN_FSDIR} -lsvn_fs${PIE_SUFFIX} \ - -L${LIBSVN_FS_FSDIR} -lsvn_fs_fs${PIE_SUFFIX} \ - -L${LIBSVN_FS_XDIR} -lsvn_fs_x${PIE_SUFFIX} \ - -L${LIBSVN_FS_UTILDIR} -lsvn_fs_util${PIE_SUFFIX} \ - -L${LIBSVN_DELTADIR} -lsvn_delta${PIE_SUFFIX} \ - -L${LIBSVN_DIFFDIR} -lsvn_diff${PIE_SUFFIX} \ - -L${LIBSVN_SUBRDIR} -lsvn_subr${PIE_SUFFIX} \ - -L${LIBSERFDIR} -lserf${PIE_SUFFIX} \ - -L${LIBAPR_UTILDIR} -lapr-util${PIE_SUFFIX} \ - -L${LIBAPRDIR} -lapr${PIE_SUFFIX} -LIBADD+= bsdxml sqlite3 z crypto ssl pthread +LDADD= -L${LIBSVN_CLIENTDIR} -lsvn_client${PIE_SUFFIX} \ + -L${LIBSVN_WCDIR} -lsvn_wc${PIE_SUFFIX} \ + -L${LIBSVN_RADIR} -lsvn_ra${PIE_SUFFIX} \ + -L${LIBSVN_RA_LOCALDIR} -lsvn_ra_local${PIE_SUFFIX} \ + -L${LIBSVN_RA_SVNDIR} -lsvn_ra_svn${PIE_SUFFIX} \ + -L${LIBSVN_RA_SERFDIR} -lsvn_ra_serf${PIE_SUFFIX} \ + -L${LIBSVN_REPOSDIR} -lsvn_repos${PIE_SUFFIX} \ + -L${LIBSVN_FSDIR} -lsvn_fs${PIE_SUFFIX} \ + -L${LIBSVN_FS_FSDIR} -lsvn_fs_fs${PIE_SUFFIX} \ + -L${LIBSVN_FS_XDIR} -lsvn_fs_x${PIE_SUFFIX} \ + -L${LIBSVN_FS_UTILDIR} -lsvn_fs_util${PIE_SUFFIX} \ + -L${LIBSVN_DELTADIR} -lsvn_delta${PIE_SUFFIX} \ + -L${LIBSVN_DIFFDIR} -lsvn_diff${PIE_SUFFIX} \ + -L${LIBSVN_SUBRDIR} -lsvn_subr${PIE_SUFFIX} \ + -L${LIBSERFDIR} -lserf${PIE_SUFFIX} \ + -L${LIBAPR_UTILDIR} -lapr-util${PIE_SUFFIX} \ + -L${LIBAPRDIR} -lapr${PIE_SUFFIX} -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} ${LIBAPR} +LIBADD+= bsdxml \ + sqlite3 \ + z \ + crypto \ + ssl \ + pthread + +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} \ + ${LIBAPR} .include diff --git a/usr.bin/svn/svnrdump/Makefile b/usr.bin/svn/svnrdump/Makefile index 66aaea3180fb..9cd479107d22 100644 --- a/usr.bin/svn/svnrdump/Makefile +++ b/usr.bin/svn/svnrdump/Makefile @@ -4,43 +4,65 @@ MAN= .include "${.CURDIR:H}/Makefile.inc" -.PATH: ${SVNDIR}/svnrdump +.PATH: ${SVNDIR}/svnrdump -PROG= svn${SVNLITE}rdump +PROG= svn${SVNLITE}rdump -SRCS= dump_editor.c load_editor.c svnrdump.c util.c +SRCS= dump_editor.c \ + load_editor.c \ + svnrdump.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 +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${PIE_SUFFIX} \ - -L${LIBSVN_WCDIR} -lsvn_wc${PIE_SUFFIX} \ - -L${LIBSVN_RADIR} -lsvn_ra${PIE_SUFFIX} \ - -L${LIBSVN_RA_LOCALDIR} -lsvn_ra_local${PIE_SUFFIX} \ - -L${LIBSVN_RA_SVNDIR} -lsvn_ra_svn${PIE_SUFFIX} \ - -L${LIBSVN_RA_SERFDIR} -lsvn_ra_serf${PIE_SUFFIX} \ - -L${LIBSVN_REPOSDIR} -lsvn_repos${PIE_SUFFIX} \ - -L${LIBSVN_FSDIR} -lsvn_fs${PIE_SUFFIX} \ - -L${LIBSVN_FS_FSDIR} -lsvn_fs_fs${PIE_SUFFIX} \ - -L${LIBSVN_FS_XDIR} -lsvn_fs_x${PIE_SUFFIX} \ - -L${LIBSVN_FS_UTILDIR} -lsvn_fs_util${PIE_SUFFIX} \ - -L${LIBSVN_DELTADIR} -lsvn_delta${PIE_SUFFIX} \ - -L${LIBSVN_DIFFDIR} -lsvn_diff${PIE_SUFFIX} \ - -L${LIBSVN_SUBRDIR} -lsvn_subr${PIE_SUFFIX} \ - -L${LIBSERFDIR} -lserf${PIE_SUFFIX} \ - -L${LIBAPR_UTILDIR} -lapr-util${PIE_SUFFIX} \ - -L${LIBAPRDIR} -lapr${PIE_SUFFIX} -LIBADD+= bsdxml sqlite3 z crypto ssl pthread +LDADD= -L${LIBSVN_CLIENTDIR} -lsvn_client${PIE_SUFFIX} \ + -L${LIBSVN_WCDIR} -lsvn_wc${PIE_SUFFIX} \ + -L${LIBSVN_RADIR} -lsvn_ra${PIE_SUFFIX} \ + -L${LIBSVN_RA_LOCALDIR} -lsvn_ra_local${PIE_SUFFIX} \ + -L${LIBSVN_RA_SVNDIR} -lsvn_ra_svn${PIE_SUFFIX} \ + -L${LIBSVN_RA_SERFDIR} -lsvn_ra_serf${PIE_SUFFIX} \ + -L${LIBSVN_REPOSDIR} -lsvn_repos${PIE_SUFFIX} \ + -L${LIBSVN_FSDIR} -lsvn_fs${PIE_SUFFIX} \ + -L${LIBSVN_FS_FSDIR} -lsvn_fs_fs${PIE_SUFFIX} \ + -L${LIBSVN_FS_XDIR} -lsvn_fs_x${PIE_SUFFIX} \ + -L${LIBSVN_FS_UTILDIR} -lsvn_fs_util${PIE_SUFFIX} \ + -L${LIBSVN_DELTADIR} -lsvn_delta${PIE_SUFFIX} \ + -L${LIBSVN_DIFFDIR} -lsvn_diff${PIE_SUFFIX} \ + -L${LIBSVN_SUBRDIR} -lsvn_subr${PIE_SUFFIX} \ + -L${LIBSERFDIR} -lserf${PIE_SUFFIX} \ + -L${LIBAPR_UTILDIR} -lapr-util${PIE_SUFFIX} \ + -L${LIBAPRDIR} -lapr${PIE_SUFFIX} -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} +LIBADD+= bsdxml \ + sqlite3 \ + z \ + 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 diff --git a/usr.bin/svn/svnserve/Makefile b/usr.bin/svn/svnserve/Makefile index 34e348092058..8723338abe53 100644 --- a/usr.bin/svn/svnserve/Makefile +++ b/usr.bin/svn/svnserve/Makefile @@ -4,39 +4,59 @@ MAN= .include "${.CURDIR:H}/Makefile.inc" -.PATH: ${SVNDIR}/svnserve +.PATH: ${SVNDIR}/svnserve -PROG= svn${SVNLITE}serve +PROG= svn${SVNLITE}serve -SRCS= cyrus_auth.c log-escape.c logger.c serve.c svnserve.c winservice.c +SRCS= cyrus_auth.c \ + log-escape.c \ + logger.c \ + serve.c \ + svnserve.c \ + winservice.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 +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_RADIR} -lsvn_ra${PIE_SUFFIX} \ - -L${LIBSVN_RA_LOCALDIR} -lsvn_ra_local${PIE_SUFFIX} \ - -L${LIBSVN_RA_SVNDIR} -lsvn_ra_svn${PIE_SUFFIX} \ - -L${LIBSVN_RA_SERFDIR} -lsvn_ra_serf${PIE_SUFFIX} \ - -L${LIBSVN_REPOSDIR} -lsvn_repos${PIE_SUFFIX} \ - -L${LIBSVN_FSDIR} -lsvn_fs${PIE_SUFFIX} \ - -L${LIBSVN_FS_FSDIR} -lsvn_fs_fs${PIE_SUFFIX} \ - -L${LIBSVN_FS_XDIR} -lsvn_fs_x${PIE_SUFFIX} \ - -L${LIBSVN_FS_UTILDIR} -lsvn_fs_util${PIE_SUFFIX} \ - -L${LIBSVN_DELTADIR} -lsvn_delta${PIE_SUFFIX} \ - -L${LIBSVN_SUBRDIR} -lsvn_subr${PIE_SUFFIX} \ - -L${LIBSERFDIR} -lserf${PIE_SUFFIX} \ - -L${LIBAPR_UTILDIR} -lapr-util${PIE_SUFFIX} \ - -L${LIBAPRDIR} -lapr${PIE_SUFFIX} -LIBADD= bsdxml sqlite3 z pthread +LDADD= -L${LIBSVN_RADIR} -lsvn_ra${PIE_SUFFIX} \ + -L${LIBSVN_RA_LOCALDIR} -lsvn_ra_local${PIE_SUFFIX} \ + -L${LIBSVN_RA_SVNDIR} -lsvn_ra_svn${PIE_SUFFIX} \ + -L${LIBSVN_RA_SERFDIR} -lsvn_ra_serf${PIE_SUFFIX} \ + -L${LIBSVN_REPOSDIR} -lsvn_repos${PIE_SUFFIX} \ + -L${LIBSVN_FSDIR} -lsvn_fs${PIE_SUFFIX} \ + -L${LIBSVN_FS_FSDIR} -lsvn_fs_fs${PIE_SUFFIX} \ + -L${LIBSVN_FS_XDIR} -lsvn_fs_x${PIE_SUFFIX} \ + -L${LIBSVN_FS_UTILDIR} -lsvn_fs_util${PIE_SUFFIX} \ + -L${LIBSVN_DELTADIR} -lsvn_delta${PIE_SUFFIX} \ + -L${LIBSVN_SUBRDIR} -lsvn_subr${PIE_SUFFIX} \ + -L${LIBSERFDIR} -lserf${PIE_SUFFIX} \ + -L${LIBAPR_UTILDIR} -lapr-util${PIE_SUFFIX} \ + -L${LIBAPRDIR} -lapr${PIE_SUFFIX} -DPADD= ${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} \ - ${LIBAPR} +LIBADD+= bsdxml \ + sqlite3 \ + z \ + pthread + +DPADD= ${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} \ + ${LIBAPR} .include diff --git a/usr.bin/svn/svnsync/Makefile b/usr.bin/svn/svnsync/Makefile index 7bfefdc78132..50a784b84e06 100644 --- a/usr.bin/svn/svnsync/Makefile +++ b/usr.bin/svn/svnsync/Makefile @@ -4,39 +4,57 @@ MAN= .include "${.CURDIR:H}/Makefile.inc" -.PATH: ${SVNDIR}/svnsync +.PATH: ${SVNDIR}/svnsync -PROG= svn${SVNLITE}sync +PROG= svn${SVNLITE}sync -SRCS= svnsync.c sync.c +SRCS= svnsync.c \ + sync.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 +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_RADIR} -lsvn_ra${PIE_SUFFIX} \ - -L${LIBSVN_RA_LOCALDIR} -lsvn_ra_local${PIE_SUFFIX} \ - -L${LIBSVN_RA_SVNDIR} -lsvn_ra_svn${PIE_SUFFIX} \ - -L${LIBSVN_RA_SERFDIR} -lsvn_ra_serf${PIE_SUFFIX} \ - -L${LIBSVN_REPOSDIR} -lsvn_repos${PIE_SUFFIX} \ - -L${LIBSVN_FSDIR} -lsvn_fs${PIE_SUFFIX} \ - -L${LIBSVN_FS_FSDIR} -lsvn_fs_fs${PIE_SUFFIX} \ - -L${LIBSVN_FS_XDIR} -lsvn_fs_x${PIE_SUFFIX} \ - -L${LIBSVN_FS_UTILDIR} -lsvn_fs_util${PIE_SUFFIX} \ - -L${LIBSVN_DELTADIR} -lsvn_delta${PIE_SUFFIX} \ - -L${LIBSVN_SUBRDIR} -lsvn_subr${PIE_SUFFIX} \ - -L${LIBSERFDIR} -lserf${PIE_SUFFIX} \ - -L${LIBAPR_UTILDIR} -lapr-util${PIE_SUFFIX} \ - -L${LIBAPRDIR} -lapr${PIE_SUFFIX} -LIBADD= bsdxml sqlite3 z crypto ssl pthread +LDADD= -L${LIBSVN_RADIR} -lsvn_ra${PIE_SUFFIX} \ + -L${LIBSVN_RA_LOCALDIR} -lsvn_ra_local${PIE_SUFFIX} \ + -L${LIBSVN_RA_SVNDIR} -lsvn_ra_svn${PIE_SUFFIX} \ + -L${LIBSVN_RA_SERFDIR} -lsvn_ra_serf${PIE_SUFFIX} \ + -L${LIBSVN_REPOSDIR} -lsvn_repos${PIE_SUFFIX} \ + -L${LIBSVN_FSDIR} -lsvn_fs${PIE_SUFFIX} \ + -L${LIBSVN_FS_FSDIR} -lsvn_fs_fs${PIE_SUFFIX} \ + -L${LIBSVN_FS_XDIR} -lsvn_fs_x${PIE_SUFFIX} \ + -L${LIBSVN_FS_UTILDIR} -lsvn_fs_util${PIE_SUFFIX} \ + -L${LIBSVN_DELTADIR} -lsvn_delta${PIE_SUFFIX} \ + -L${LIBSVN_SUBRDIR} -lsvn_subr${PIE_SUFFIX} \ + -L${LIBSERFDIR} -lserf${PIE_SUFFIX} \ + -L${LIBAPR_UTILDIR} -lapr-util${PIE_SUFFIX} \ + -L${LIBAPRDIR} -lapr${PIE_SUFFIX} -DPADD= ${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} \ - ${LIBAPR} +LIBADD+= bsdxml \ + sqlite3 \ + z \ + crypto \ + ssl \ + pthread + +DPADD= ${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} \ + ${LIBAPR} .include diff --git a/usr.bin/svn/svnversion/Makefile b/usr.bin/svn/svnversion/Makefile index d620ba42abfb..c3d7321dee33 100644 --- a/usr.bin/svn/svnversion/Makefile +++ b/usr.bin/svn/svnversion/Makefile @@ -4,29 +4,40 @@ MAN= .include "${.CURDIR:H}/Makefile.inc" -.PATH: ${SVNDIR}/svnversion +.PATH: ${SVNDIR}/svnversion -PROG= svn${SVNLITE}version +PROG= svn${SVNLITE}version -SRCS= svnversion.c +SRCS= svnversion.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 +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_WCDIR} -lsvn_wc${PIE_SUFFIX} \ - -L${LIBSVN_DELTADIR} -lsvn_delta${PIE_SUFFIX} \ - -L${LIBSVN_DIFFDIR} -lsvn_diff${PIE_SUFFIX} \ - -L${LIBSVN_SUBRDIR} -lsvn_subr${PIE_SUFFIX} \ - -L${LIBAPR_UTILDIR} -lapr-util${PIE_SUFFIX} \ - -L${LIBAPRDIR} -lapr${PIE_SUFFIX} -LIBADD+= bsdxml sqlite3 z pthread +LDADD= -L${LIBSVN_WCDIR} -lsvn_wc${PIE_SUFFIX} \ + -L${LIBSVN_DELTADIR} -lsvn_delta${PIE_SUFFIX} \ + -L${LIBSVN_DIFFDIR} -lsvn_diff${PIE_SUFFIX} \ + -L${LIBSVN_SUBRDIR} -lsvn_subr${PIE_SUFFIX} \ + -L${LIBAPR_UTILDIR} -lapr-util${PIE_SUFFIX} \ + -L${LIBAPRDIR} -lapr${PIE_SUFFIX} -DPADD= ${LIBSVN_WC} ${LIBSVN_DELTA} ${LIBSVN_DIFF} ${LIBSVN_SUBR} \ - ${LIBSERF} ${LIBAPR_UTIL} ${LIBAPR} +LIBADD+= bsdxml \ + sqlite3 \ + z \ + pthread + +DPADD= ${LIBSVN_WC} \ + ${LIBSVN_DELTA} \ + ${LIBSVN_DIFF} \ + ${LIBSVN_SUBR} \ + ${LIBSERF} \ + ${LIBAPR_UTIL} \ + ${LIBAPR} .include