Blame


1 97a02382 2023-07-10 thomas .PATH:${.CURDIR}/../lib
2 97a02382 2023-07-10 thomas
3 97a02382 2023-07-10 thomas .include "../got-version.mk"
4 97a02382 2023-07-10 thomas
5 8505ab66 2023-07-10 thomas PROG= cvg
6 6b7b9f0a 2023-07-10 thomas SRCS= cvg.c blame.c commit_graph.c delta.c diff.c \
7 97a02382 2023-07-10 thomas diffreg.c error.c fileindex.c object.c object_cache.c \
8 97a02382 2023-07-10 thomas object_idset.c object_parse.c opentemp.c path.c pack.c \
9 8505ab66 2023-07-10 thomas privsep.c reference.c repository.c hash.c worktree.c worktree_cvg.c \
10 97a02382 2023-07-10 thomas worktree_open.c inflate.c buf.c rcsutil.c diff3.c lockfile.c \
11 97a02382 2023-07-10 thomas deflate.c object_create.c delta_cache.c fetch.c \
12 97a02382 2023-07-10 thomas gotconfig.c diff_main.c diff_atomize_text.c \
13 97a02382 2023-07-10 thomas diff_myers.c diff_output.c diff_output_plain.c \
14 97a02382 2023-07-10 thomas diff_output_unidiff.c diff_output_edscript.c \
15 97a02382 2023-07-10 thomas diff_patience.c send.c deltify.c pack_create.c dial.c \
16 97a02382 2023-07-10 thomas bloom.c murmurhash2.c ratelimit.c patch.c sigs.c date.c \
17 97a02382 2023-07-10 thomas object_open_privsep.c read_gitconfig_privsep.c \
18 97a02382 2023-07-10 thomas read_gotconfig_privsep.c pack_create_privsep.c pollfd.c \
19 97a02382 2023-07-10 thomas reference_parse.c object_qid.c
20 97a02382 2023-07-10 thomas
21 8505ab66 2023-07-10 thomas MAN = ${PROG}.1
22 97a02382 2023-07-10 thomas
23 97a02382 2023-07-10 thomas CPPFLAGS = -I${.CURDIR}/../include -I${.CURDIR}/../lib
24 97a02382 2023-07-10 thomas
25 97a02382 2023-07-10 thomas .if defined(PROFILE)
26 97a02382 2023-07-10 thomas LDADD = -lutil_p -lz_p -lm_p -lc_p
27 97a02382 2023-07-10 thomas .else
28 97a02382 2023-07-10 thomas LDADD = -lutil -lz -lm
29 97a02382 2023-07-10 thomas .endif
30 97a02382 2023-07-10 thomas DPADD = ${LIBZ} ${LIBUTIL} ${LIBM}
31 97a02382 2023-07-10 thomas
32 97a02382 2023-07-10 thomas .if ${GOT_RELEASE} != "Yes"
33 97a02382 2023-07-10 thomas NOMAN = Yes
34 97a02382 2023-07-10 thomas .endif
35 97a02382 2023-07-10 thomas
36 97a02382 2023-07-10 thomas realinstall:
37 97a02382 2023-07-10 thomas ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} \
38 97a02382 2023-07-10 thomas -m ${BINMODE} ${PROG} ${BINDIR}/${PROG}
39 97a02382 2023-07-10 thomas
40 97a02382 2023-07-10 thomas .include <bsd.prog.mk>