Blame


1 f42b1b34 2018-03-12 stsp .PATH:${.CURDIR}/../lib
2 5c860e29 2018-03-12 stsp
3 53ccebc2 2019-07-30 stsp .include "../got-version.mk"
4 53ccebc2 2019-07-30 stsp
5 5c860e29 2018-03-12 stsp PROG= got
6 4c9641fd 2019-08-21 stsp SRCS= got.c blame.c commit_graph.c delta.c diff.c \
7 6bef87be 2018-09-11 stsp diffreg.c error.c fileindex.c object.c object_cache.c \
8 25a58941 2019-01-08 stsp object_idset.c object_parse.c opentemp.c path.c pack.c \
9 25a58941 2019-01-08 stsp privsep.c reference.c repository.c sha1.c worktree.c \
10 96cbb597 2019-10-09 stsp inflate.c buf.c rcsutil.c diff3.c lockfile.c \
11 ab2f42e7 2019-11-10 stsp deflate.c object_create.c delta_cache.c
12 53ccebc2 2019-07-30 stsp MAN = ${PROG}.1 got-worktree.5 git-repository.5
13 5c860e29 2018-03-12 stsp
14 53ccebc2 2019-07-30 stsp CPPFLAGS = -I${.CURDIR}/../include -I${.CURDIR}/../lib
15 37c06ea4 2019-07-15 stsp
16 37c06ea4 2019-07-15 stsp .if defined(PROFILE)
17 37c06ea4 2019-07-15 stsp LDADD = -lutil_p -lz_p -lc_p
18 37c06ea4 2019-07-15 stsp .else
19 f42b1b34 2018-03-12 stsp LDADD = -lutil -lz
20 37c06ea4 2019-07-15 stsp .endif
21 f42b1b34 2018-03-12 stsp DPADD = ${LIBZ} ${LIBUTIL}
22 5c860e29 2018-03-12 stsp
23 53ccebc2 2019-07-30 stsp .if ${GOT_RELEASE} != "Yes"
24 f42b1b34 2018-03-12 stsp NOMAN = Yes
25 53ccebc2 2019-07-30 stsp .endif
26 f42b1b34 2018-03-12 stsp
27 53ccebc2 2019-07-30 stsp realinstall:
28 53ccebc2 2019-07-30 stsp ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} \
29 53ccebc2 2019-07-30 stsp -m ${BINMODE} ${PROG} ${BINDIR}/${PROG}
30 53ccebc2 2019-07-30 stsp
31 53ccebc2 2019-07-30 stsp dist:
32 53ccebc2 2019-07-30 stsp mkdir ../got-${GOT_VERSION}/got
33 53ccebc2 2019-07-30 stsp cp ${SRCS} ${MAN} ../got-${GOT_VERSION}/got
34 53ccebc2 2019-07-30 stsp
35 5c860e29 2018-03-12 stsp .include <bsd.prog.mk>