1 5dcb3a43 2023-04-01 thomas .PATH:${.CURDIR}/../lib
2 5dcb3a43 2023-04-01 thomas .PATH:${.CURDIR}/../gotd
4 5dcb3a43 2023-04-01 thomas .include "../got-version.mk"
6 5dcb3a43 2023-04-01 thomas .if ${GOT_RELEASE} == "Yes"
7 5dcb3a43 2023-04-01 thomas BINDIR ?= ${PREFIX}/bin
10 5dcb3a43 2023-04-01 thomas PROG= gitwrapper
12 48488136 2023-04-22 thomas SRCS= gitwrapper.c parse.y log.c dial.c path.c error.c \
13 232c0ac1 2023-04-22 thomas reference_parse.c hash.c object_qid.c
15 5dcb3a43 2023-04-01 thomas CLEANFILES = parse.h
17 4d55f0a1 2023-04-01 thomas MAN = ${PROG}.1
19 5dcb3a43 2023-04-01 thomas CPPFLAGS = -I${.CURDIR}/../include -I${.CURDIR}/../lib -I${.CURDIR}/../gotd
21 5dcb3a43 2023-04-01 thomas .if ${GOT_RELEASE} != "Yes"
22 5dcb3a43 2023-04-01 thomas NOMAN = Yes
25 5dcb3a43 2023-04-01 thomas realinstall:
26 5dcb3a43 2023-04-01 thomas ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} \
27 5dcb3a43 2023-04-01 thomas -m ${BINMODE} ${PROG} ${BINDIR}/${PROG}
29 5dcb3a43 2023-04-01 thomas .include <bsd.prog.mk>