1 13b2bc37 2022-10-23 stsp .PATH:${.CURDIR}/../lib ${.CURDIR}/../gotd
3 13b2bc37 2022-10-23 stsp .include "../got-version.mk"
6 53bf0b54 2023-02-23 op SRCS= gotsh.c error.c pkt.c hash.c serve.c path.c gitproto.c \
7 2f43cd69 2023-04-14 stsp imsg.c pollfd.c dial.c reference_parse.c object_qid.c
9 13b2bc37 2022-10-23 stsp MAN = ${PROG}.1
11 13b2bc37 2022-10-23 stsp CPPFLAGS = -I${.CURDIR}/../include -I${.CURDIR}/../lib -I${.CURDIR}/../gotd
13 13b2bc37 2022-10-23 stsp .if defined(PROFILE)
14 bd13be9e 2023-04-14 stsp LDADD = -lutil_p -lc_p -levent_p
16 bd13be9e 2023-04-14 stsp LDADD = -lutil -levent
18 08df2025 2023-04-14 stsp DPADD = ${LIBEVENT} ${LIBUTIL}
20 13b2bc37 2022-10-23 stsp .if ${GOT_RELEASE} != "Yes"
24 13b2bc37 2022-10-23 stsp realinstall:
25 13b2bc37 2022-10-23 stsp ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} \
26 13b2bc37 2022-10-23 stsp -m ${BINMODE} ${PROG} ${BINDIR}/${PROG}
28 13b2bc37 2022-10-23 stsp .include <bsd.prog.mk>