Blame


1 9f7d7167 2018-04-29 stsp .PATH:${.CURDIR}/../lib
2 9f7d7167 2018-04-29 stsp
3 53ccebc2 2019-07-30 stsp .include "../got-version.mk"
4 53ccebc2 2019-07-30 stsp
5 9f7d7167 2018-04-29 stsp PROG= tog
6 4c9641fd 2019-08-21 stsp SRCS= tog.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 53bf0b54 2023-02-23 op privsep.c reference.c repository.c hash.c worktree.c \
10 7d69d862 2021-11-15 stsp worktree_open.c utf8.c inflate.c buf.c rcsutil.c diff3.c \
11 50b0790e 2020-09-11 stsp lockfile.c deflate.c object_create.c delta_cache.c \
12 fe621944 2020-11-10 stsp gotconfig.c diff_main.c diff_atomize_text.c \
13 fe621944 2020-11-10 stsp diff_myers.c diff_output.c diff_output_plain.c \
14 fe621944 2020-11-10 stsp diff_output_unidiff.c diff_output_edscript.c \
15 8e359fa0 2022-10-13 stsp diff_patience.c bloom.c murmurhash2.c sigs.c date.c \
16 96fd6df1 2022-10-13 stsp object_open_privsep.c read_gitconfig_privsep.c \
17 2f43cd69 2023-04-14 stsp read_gotconfig_privsep.c pollfd.c reference_parse.c \
18 2f43cd69 2023-04-14 stsp object_qid.c
19 53ccebc2 2019-07-30 stsp MAN = ${PROG}.1
20 9f7d7167 2018-04-29 stsp
21 53ccebc2 2019-07-30 stsp CPPFLAGS = -I${.CURDIR}/../include -I${.CURDIR}/../lib
22 53ccebc2 2019-07-30 stsp
23 37c06ea4 2019-07-15 stsp .if defined(PROFILE)
24 b343c297 2021-10-11 stsp LDADD = -lpanel_p -lncursesw_p -lutil_p -lz_p -lpthread_p -lm_p -lc_p
25 37c06ea4 2019-07-15 stsp .else
26 b343c297 2021-10-11 stsp LDADD = -lpanel -lncursesw -lutil -lz -lpthread -lm
27 37c06ea4 2019-07-15 stsp .endif
28 08df2025 2023-04-14 stsp DPADD = ${LIBZ} ${LIBUTIL} ${LIBM}
29 9f7d7167 2018-04-29 stsp
30 53ccebc2 2019-07-30 stsp .if ${GOT_RELEASE} != "Yes"
31 9f7d7167 2018-04-29 stsp NOMAN = Yes
32 53ccebc2 2019-07-30 stsp .endif
33 9f7d7167 2018-04-29 stsp
34 af21bb7e 2023-04-12 mark .if defined(TOG_REGRESS)
35 af21bb7e 2023-04-12 mark CPPFLAGS += -DTOG_REGRESS
36 af21bb7e 2023-04-12 mark .endif
37 af21bb7e 2023-04-12 mark
38 53ccebc2 2019-07-30 stsp realinstall:
39 53ccebc2 2019-07-30 stsp ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} \
40 53ccebc2 2019-07-30 stsp -m ${BINMODE} ${PROG} ${BINDIR}/${PROG}
41 53ccebc2 2019-07-30 stsp
42 9f7d7167 2018-04-29 stsp .include <bsd.prog.mk>