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 1eb38992 2023-04-14 stsp imsg.c inflate.c object_parse.c pollfd.c reference_parse.c \
10 13b2bc37 2022-10-23 stsp MAN = ${PROG}.1
12 13b2bc37 2022-10-23 stsp CPPFLAGS = -I${.CURDIR}/../include -I${.CURDIR}/../lib -I${.CURDIR}/../gotd
14 13b2bc37 2022-10-23 stsp .if defined(PROFILE)
15 13b2bc37 2022-10-23 stsp LDADD = -lutil_p -lz_p -lm_p -lc_p -levent_p
17 13b2bc37 2022-10-23 stsp LDADD = -lutil -lz -lm -levent
19 13b2bc37 2022-10-23 stsp DPADD = ${LIBZ} ${LIBUTIL}
21 13b2bc37 2022-10-23 stsp .if ${GOT_RELEASE} != "Yes"
25 13b2bc37 2022-10-23 stsp realinstall:
26 13b2bc37 2022-10-23 stsp ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} \
27 13b2bc37 2022-10-23 stsp -m ${BINMODE} ${PROG} ${BINDIR}/${PROG}
29 13b2bc37 2022-10-23 stsp .include <bsd.prog.mk>