1 f1752522 2022-10-29 stsp .PATH:${.CURDIR}/../lib ${.CURDIR}/../gotd
3 f1752522 2022-10-29 stsp .include "../got-version.mk"
6 b0ac38bb 2023-02-06 mark SRCS= gotctl.c error.c imsg.c inflate.c object_parse.c path.c \
7 b0ac38bb 2023-02-06 mark pollfd.c sha1.c
9 f1752522 2022-10-29 stsp MAN = ${PROG}.8
11 f1752522 2022-10-29 stsp CPPFLAGS = -I${.CURDIR}/../include -I${.CURDIR}/../lib -I${.CURDIR}/../gotd
13 f1752522 2022-10-29 stsp .if defined(PROFILE)
14 f1752522 2022-10-29 stsp LDADD = -lutil_p -lz_p -lm_p -lc_p -levent_p
16 f1752522 2022-10-29 stsp LDADD = -lutil -lz -lm -levent
18 f1752522 2022-10-29 stsp DPADD = ${LIBZ} ${LIBUTIL}
20 f1752522 2022-10-29 stsp .if ${GOT_RELEASE} != "Yes"
23 f1752522 2022-10-29 stsp BINDIR = ${PREFIX}/sbin
26 f1752522 2022-10-29 stsp realinstall:
27 f1752522 2022-10-29 stsp ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} \
28 f1752522 2022-10-29 stsp -m ${BINMODE} ${PROG} ${BINDIR}/${PROG}
30 f1752522 2022-10-29 stsp .include <bsd.prog.mk>