Blob


1 .PATH:${.CURDIR}/../lib ${.CURDIR}/../gotd
3 .include "../got-version.mk"
5 PROG= gotsh
6 SRCS= gotsh.c error.c pkt.c hash.c serve.c path.c gitproto.c \
7 imsg.c pollfd.c dial.c reference_parse.c object_qid.c
9 MAN = ${PROG}.1
11 CPPFLAGS = -I${.CURDIR}/../include -I${.CURDIR}/../lib -I${.CURDIR}/../gotd
13 .if defined(PROFILE)
14 LDADD = -lutil_p -lc_p -levent_p
15 .else
16 LDADD = -lutil -levent
17 .endif
18 DPADD = ${LIBEVENT} ${LIBUTIL}
20 .if ${GOT_RELEASE} != "Yes"
21 NOMAN = Yes
22 .endif
24 realinstall:
25 ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} \
26 -m ${BINMODE} ${PROG} ${BINDIR}/${PROG}
28 .include <bsd.prog.mk>