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"
25 ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} \
26 -m ${BINMODE} ${PROG} ${BINDIR}/${PROG}
28 .include <bsd.prog.mk>