1 .PATH:${.CURDIR}/../lib
3 .include "../got-version.mk"
6 SRCS= got.c blame.c commit_graph.c delta.c diff.c \
7 diffreg.c error.c fileindex.c keyword.c object.c \
8 object_cache.c object_idset.c object_parse.c opentemp.c \
9 path.c pack.c privsep.c reference.c repository.c hash.c \
10 worktree.c worktree_open.c inflate.c buf.c rcsutil.c \
11 diff3.c lockfile.c deflate.c object_create.c delta_cache.c \
12 fetch.c gotconfig.c diff_main.c diff_atomize_text.c \
13 diff_myers.c diff_output.c diff_output_plain.c \
14 diff_output_unidiff.c diff_output_edscript.c \
15 diff_patience.c send.c deltify.c pack_create.c dial.c \
16 bloom.c murmurhash2.c ratelimit.c patch.c sigs.c date.c \
17 object_open_privsep.c read_gitconfig_privsep.c \
18 read_gotconfig_privsep.c pack_create_privsep.c pollfd.c \
19 reference_parse.c object_qid.c
21 MAN = ${PROG}.1 got-worktree.5 git-repository.5 got.conf.5
23 CPPFLAGS = -I${.CURDIR}/../include -I${.CURDIR}/../lib
26 LDADD = -lutil_p -lz_p -lm_p -lc_p
28 LDADD = -lutil -lz -lm
30 DPADD = ${LIBZ} ${LIBUTIL} ${LIBM}
32 .if ${GOT_RELEASE} != "Yes"
37 ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} \
38 -m ${BINMODE} ${PROG} ${BINDIR}/${PROG}
40 .include <bsd.prog.mk>