1 3efd8e31 2022-10-23 thomas .PATH:${.CURDIR}/../lib ${.CURDIR}/../gotd
3 3efd8e31 2022-10-23 thomas .include "../got-version.mk"
5 3efd8e31 2022-10-23 thomas PROG= gotsh
6 be288a59 2023-02-23 thomas SRCS= gotsh.c error.c pkt.c hash.c serve.c path.c gitproto.c \
7 5769f9a0 2023-04-22 thomas imsg.c inflate.c object_parse.c pollfd.c reference_parse.c \
10 3efd8e31 2022-10-23 thomas MAN = ${PROG}.1
12 3efd8e31 2022-10-23 thomas CPPFLAGS = -I${.CURDIR}/../include -I${.CURDIR}/../lib -I${.CURDIR}/../gotd
14 3efd8e31 2022-10-23 thomas .if defined(PROFILE)
15 3efd8e31 2022-10-23 thomas LDADD = -lutil_p -lz_p -lm_p -lc_p -levent_p
17 3efd8e31 2022-10-23 thomas LDADD = -lutil -lz -lm -levent
19 3efd8e31 2022-10-23 thomas DPADD = ${LIBZ} ${LIBUTIL}
21 3efd8e31 2022-10-23 thomas .if ${GOT_RELEASE} != "Yes"
22 3efd8e31 2022-10-23 thomas NOMAN = Yes
25 3efd8e31 2022-10-23 thomas realinstall:
26 3efd8e31 2022-10-23 thomas ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} \
27 3efd8e31 2022-10-23 thomas -m ${BINMODE} ${PROG} ${BINDIR}/${PROG}
29 3efd8e31 2022-10-23 thomas .include <bsd.prog.mk>