1 .PATH:${.CURDIR}/../lib
2 .PATH:${.CURDIR}/../gotd
4 .include "../got-version.mk"
6 .if ${GOT_RELEASE} == "Yes"
7 BINDIR ?= ${PREFIX}/bin
12 SRCS= gitwrapper.c parse.y log.c dial.c path.c error.c auth.c \
13 reference_parse.c hash.c object_parse.c imsg.c \
20 CPPFLAGS = -I${.CURDIR}/../include -I${.CURDIR}/../lib -I${.CURDIR}/../gotd
23 LDADD = -lutil_p -lz_p -lm_p -lc_p -levent_p
25 LDADD = -lutil -lz -lm -levent
27 DPADD = ${LIBZ} ${LIBUTIL}
29 .if ${GOT_RELEASE} != "Yes"
34 ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} \
35 -m ${BINMODE} ${PROG} ${BINDIR}/${PROG}
37 .include <bsd.prog.mk>