1 13b2bc37 2022-10-23 stsp .PATH:${.CURDIR}/../lib ${.CURDIR}/../gotd
3 13b2bc37 2022-10-23 stsp .include "../got-version.mk"
6 13b2bc37 2022-10-23 stsp SRCS= gotsh.c error.c pkt.c sha1.c serve.c path.c gitproto.c \
7 13b2bc37 2022-10-23 stsp imsg.c pollfd.c reference_parse.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 13b2bc37 2022-10-23 stsp LDADD = -lutil_p -lz_p -lm_p -lc_p -levent_p
16 13b2bc37 2022-10-23 stsp LDADD = -lutil -lz -lm -levent
18 13b2bc37 2022-10-23 stsp DPADD = ${LIBZ} ${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>