Commit Diff


commit - 3e99fbc53402ddf1e875a7399c51253825c8c310
commit + c05917519693be1493bfc72e2b26582be8d33812
blob - fb60037a62c669a33fe6d3ca67d8376f92152841
blob + 1cbeffd382561f9eaa87c657fa55701cfc342355
--- libexec/got-fetch-pack/Makefile
+++ libexec/got-fetch-pack/Makefile
@@ -7,7 +7,12 @@ SRCS=		got-fetch-pack.c error.c inflate.c object_parse
 		path.c privsep.c sha1.c pkt.c gitproto.c ratelimit.c
 
 CPPFLAGS = -I${.CURDIR}/../../include -I${.CURDIR}/../../lib
+
+.if defined(PROFILE)
+LDADD = -lutil_p -lz_p
+.else
 LDADD = -lutil -lz
+.endif
 DPADD = ${LIBZ} ${LIBUTIL}
 
 .include <bsd.prog.mk>
blob - 08a453bfb0c380f3a41b86d6d1d0c7024fd94604
blob + 3af9d7f87c01965205fc69a98015a1887233eb15
--- libexec/got-index-pack/Makefile
+++ libexec/got-index-pack/Makefile
@@ -7,7 +7,13 @@ SRCS=		got-index-pack.c error.c inflate.c object_parse
 		delta_cache.c delta.c pack.c path.c privsep.c sha1.c ratelimit.c
 
 CPPFLAGS = -I${.CURDIR}/../../include -I${.CURDIR}/../../lib
+
+.if defined(PROFILE)
+LDADD = -lutil_p -lz_p
+.else
 LDADD = -lutil -lz
+.endif
+
 DPADD = ${LIBZ} ${LIBUTIL}
 
 .include <bsd.prog.mk>
blob - 17ab97b2e8436f60a7500f7894295b56f5c3d9cc
blob + 427fba8a8a0724eeb90a9853fb783d15cd60f8ae
--- libexec/got-read-blob/Makefile
+++ libexec/got-read-blob/Makefile
@@ -7,7 +7,13 @@ SRCS=		got-read-blob.c error.c inflate.c object_parse.
 		path.c privsep.c sha1.c
 
 CPPFLAGS = -I${.CURDIR}/../../include -I${.CURDIR}/../../lib
+
+.if defined(PROFILE)
+LDADD = -lutil_p -lz_p
+.else
 LDADD = -lutil -lz
+.endif
+
 DPADD = ${LIBZ} ${LIBUTIL}
 
 .include <bsd.prog.mk>
blob - 3f6f7ca0174a2db300be5170c74fc6e3eaf3c94a
blob + a5aaaaee3ffbd172032dc5ba3edf5ed47b257479
--- libexec/got-read-commit/Makefile
+++ libexec/got-read-commit/Makefile
@@ -7,7 +7,13 @@ SRCS=		got-read-commit.c error.c inflate.c object_pars
 		path.c privsep.c sha1.c
 
 CPPFLAGS = -I${.CURDIR}/../../include -I${.CURDIR}/../../lib
+
+.if defined(PROFILE)
+LDADD = -lutil_p -lz_p
+.else
 LDADD = -lutil -lz
+.endif
+
 DPADD = ${LIBZ} ${LIBUTIL}
 
 .include <bsd.prog.mk>
blob - f49bf06548491001d3b2fbc4da15ac568171dc17
blob + 326e9b965f1353cf93baf20aac196f76c0a02ffb
--- libexec/got-read-gitconfig/Makefile
+++ libexec/got-read-gitconfig/Makefile
@@ -7,7 +7,13 @@ SRCS=		got-read-gitconfig.c error.c inflate.c object_p
 		path.c privsep.c sha1.c gitconfig.c
 
 CPPFLAGS = -I${.CURDIR}/../../include -I${.CURDIR}/../../lib
+
+.if defined(PROFILE)
+LDADD = -lutil_p -lz_p
+.else
 LDADD = -lutil -lz
+.endif
+
 DPADD = ${LIBZ} ${LIBUTIL}
 
 .include <bsd.prog.mk>
blob - a683cf2ee1b6cf0753a4a7f2b006bfc29f853a8c
blob + 952f34c95a8c396a19ea90c1e226f183b6707076
--- libexec/got-read-gotconfig/Makefile
+++ libexec/got-read-gotconfig/Makefile
@@ -7,7 +7,13 @@ SRCS=		got-read-gotconfig.c error.c inflate.c object_p
 		path.c privsep.c sha1.c parse.y
 
 CPPFLAGS = -I${.CURDIR}/../../include -I${.CURDIR}/../../lib -I${.CURDIR}
+
+.if defined(PROFILE)
+LDADD = -lutil_p -lz_p
+.else
 LDADD = -lutil -lz
+.endif
+
 DPADD = ${LIBZ} ${LIBUTIL}
 
 .include <bsd.prog.mk>
blob - 26342119d0b8e4f5207e3ae68b750ba176d0d374
blob + 35015b318e4e72123a2d4ea6acf7bc07923c0239
--- libexec/got-read-object/Makefile
+++ libexec/got-read-object/Makefile
@@ -7,7 +7,13 @@ SRCS=		got-read-object.c error.c inflate.c object_pars
 		path.c privsep.c sha1.c
 
 CPPFLAGS = -I${.CURDIR}/../../include -I${.CURDIR}/../../lib
+
+.if defined(PROFILE)
+LDADD = -lutil_p -lz_p
+.else
 LDADD = -lutil -lz
+.endif
+
 DPADD = ${LIBZ} ${LIBUTIL}
 
 .include <bsd.prog.mk>
blob - 5fe2b7efcfad5831f504354f84e46082989a0d5f
blob + ceb42b9503fa151a6a92e2037cea299350be312c
--- libexec/got-read-pack/Makefile
+++ libexec/got-read-pack/Makefile
@@ -8,7 +8,13 @@ SRCS=		got-read-pack.c delta.c error.c inflate.c objec
 		privsep.c sha1.c delta_cache.c
 
 CPPFLAGS = -I${.CURDIR}/../../include -I${.CURDIR}/../../lib
+
+.if defined(PROFILE)
+LDADD = -lutil_p -lz_p
+.else
 LDADD = -lutil -lz
+.endif
+
 DPADD = ${LIBZ} ${LIBUTIL}
 
 .include <bsd.prog.mk>
blob - 9eddbae60cbd3e82dc3178ffebc9903391caa40c
blob + 8c3583004ea6301c62af855a5468f303c84c2ddb
--- libexec/got-read-patch/Makefile
+++ libexec/got-read-patch/Makefile
@@ -7,7 +7,13 @@ SRCS=		got-read-patch.c error.c inflate.c object_parse
 		path.c privsep.c sha1.c
 
 CPPFLAGS = -I${.CURDIR}/../../include -I${.CURDIR}/../../lib
-LDADD = -lz -lutil
+
+.if defined(PROFILE)
+LDADD = -lutil_p -lz_p
+.else
+LDADD = -lutil -lz
+.endif
+
 DPADD = ${LIBZ} ${LIBUTIL}
 
 .include <bsd.prog.mk>
blob - a8026e4c1b7f0f719d0b8d2cf3020f3ccbf0c333
blob + 7598ada201b24d72b210818965a8bac29f296617
--- libexec/got-read-tag/Makefile
+++ libexec/got-read-tag/Makefile
@@ -7,7 +7,13 @@ SRCS=		got-read-tag.c error.c inflate.c object_parse.c
 		path.c privsep.c sha1.c
 
 CPPFLAGS = -I${.CURDIR}/../../include -I${.CURDIR}/../../lib
+
+.if defined(PROFILE)
+LDADD = -lutil_p -lz_p
+.else
 LDADD = -lutil -lz
+.endif
+
 DPADD = ${LIBZ} ${LIBUTIL}
 
 .include <bsd.prog.mk>
blob - 397775d14ef4989204d535d1101a64104e7a3c0f
blob + 368c85121fd8ecdfc00bf5c5858e4a7bfaf57145
--- libexec/got-read-tree/Makefile
+++ libexec/got-read-tree/Makefile
@@ -7,7 +7,13 @@ SRCS=		got-read-tree.c error.c inflate.c object_parse.
 		path.c privsep.c sha1.c
 
 CPPFLAGS = -I${.CURDIR}/../../include -I${.CURDIR}/../../lib
+
+.if defined(PROFILE)
+LDADD = -lutil_p -lz_p
+.else
 LDADD = -lutil -lz
+.endif
+
 DPADD = ${LIBZ} ${LIBUTIL}
 
 .include <bsd.prog.mk>
blob - 8e79a1447fe4c445015e4b247a0181fa9d3583ea
blob + fb9f61072a4162175d328a55017cc83f71e08837
--- libexec/got-send-pack/Makefile
+++ libexec/got-send-pack/Makefile
@@ -7,7 +7,13 @@ SRCS=		got-send-pack.c error.c inflate.c object_parse.
 		path.c privsep.c sha1.c pkt.c gitproto.c ratelimit.c
 
 CPPFLAGS = -I${.CURDIR}/../../include -I${.CURDIR}/../../lib
+
+.if defined(PROFILE)
+LDADD = -lutil_p -lz_p
+.else
 LDADD = -lutil -lz
+.endif
+
 DPADD = ${LIBZ} ${LIBUTIL}
 
 .include <bsd.prog.mk>