Blame


1 b09c1279 2023-03-28 stsp .PATH:${.CURDIR}/../lib
2 b09c1279 2023-03-28 stsp .PATH:${.CURDIR}/../gotd
3 b09c1279 2023-03-28 stsp
4 b09c1279 2023-03-28 stsp .include "../got-version.mk"
5 b09c1279 2023-03-28 stsp
6 b09c1279 2023-03-28 stsp .if ${GOT_RELEASE} == "Yes"
7 b09c1279 2023-03-28 stsp BINDIR ?= ${PREFIX}/bin
8 b09c1279 2023-03-28 stsp .endif
9 b09c1279 2023-03-28 stsp
10 b09c1279 2023-03-28 stsp PROG= gitwrapper
11 b09c1279 2023-03-28 stsp
12 1963be61 2023-04-14 stsp SRCS= gitwrapper.c parse.y log.c dial.c path.c error.c \
13 2f43cd69 2023-04-14 stsp reference_parse.c hash.c object_qid.c
14 1eb38992 2023-04-14 stsp
15 b09c1279 2023-03-28 stsp CLEANFILES = parse.h
16 b09c1279 2023-03-28 stsp
17 c27166a8 2023-03-28 stsp MAN = ${PROG}.1
18 b09c1279 2023-03-28 stsp
19 b09c1279 2023-03-28 stsp CPPFLAGS = -I${.CURDIR}/../include -I${.CURDIR}/../lib -I${.CURDIR}/../gotd
20 b09c1279 2023-03-28 stsp
21 b09c1279 2023-03-28 stsp .if ${GOT_RELEASE} != "Yes"
22 b09c1279 2023-03-28 stsp NOMAN = Yes
23 b09c1279 2023-03-28 stsp .endif
24 b09c1279 2023-03-28 stsp
25 b09c1279 2023-03-28 stsp realinstall:
26 b09c1279 2023-03-28 stsp ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} \
27 b09c1279 2023-03-28 stsp -m ${BINMODE} ${PROG} ${BINDIR}/${PROG}
28 b09c1279 2023-03-28 stsp
29 b09c1279 2023-03-28 stsp .include <bsd.prog.mk>