1 .PATH:${.CURDIR}/../lib ${.CURDIR}/../gotd
3 .include "../got-version.mk"
6 SRCS= gotsh.c error.c pkt.c sha1.c serve.c path.c gitproto.c \
7 imsg.c pollfd.c reference_parse.c
11 CPPFLAGS = -I${.CURDIR}/../include -I${.CURDIR}/../lib -I${.CURDIR}/../gotd
14 LDADD = -lutil_p -lz_p -lm_p -lc_p -levent_p
16 LDADD = -lutil -lz -lm -levent
18 DPADD = ${LIBZ} ${LIBUTIL}
20 .if ${GOT_RELEASE} != "Yes"
24 .if "${GOT_RELEASE}" != "Yes"
26 ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} \
27 -m ${BINMODE} ${PROG} ${BINDIR}/${PROG}
28 -ln -s ${PROG} ${BINDIR}/git-receive-pack
29 -ln -s ${PROG} ${BINDIR}/git-upload-pack
32 .include <bsd.prog.mk>