1 f1752522 2022-10-29 stsp .PATH:${.CURDIR}/../lib ${.CURDIR}/../gotd
3 f1752522 2022-10-29 stsp .include "../got-version.mk"
6 f1752522 2022-10-29 stsp SRCS= gotctl.c error.c imsg.c pollfd.c sha1.c
8 f1752522 2022-10-29 stsp MAN = ${PROG}.8
10 f1752522 2022-10-29 stsp CPPFLAGS = -I${.CURDIR}/../include -I${.CURDIR}/../lib -I${.CURDIR}/../gotd
12 f1752522 2022-10-29 stsp .if defined(PROFILE)
13 f1752522 2022-10-29 stsp LDADD = -lutil_p -lz_p -lm_p -lc_p -levent_p
15 f1752522 2022-10-29 stsp LDADD = -lutil -lz -lm -levent
17 f1752522 2022-10-29 stsp DPADD = ${LIBZ} ${LIBUTIL}
19 f1752522 2022-10-29 stsp .if ${GOT_RELEASE} != "Yes"
22 f1752522 2022-10-29 stsp BINDIR = ${PREFIX}/sbin
25 f1752522 2022-10-29 stsp realinstall:
26 f1752522 2022-10-29 stsp ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} \
27 f1752522 2022-10-29 stsp -m ${BINMODE} ${PROG} ${BINDIR}/${PROG}
29 f1752522 2022-10-29 stsp .include <bsd.prog.mk>