Blame


1 9f7d7167 2018-04-29 stsp .PATH:${.CURDIR}/../lib
2 9f7d7167 2018-04-29 stsp
3 9f7d7167 2018-04-29 stsp PROG= tog
4 c35a7943 2018-07-12 stsp SRCS= tog.c blame.c commit_graph.c delta.c diff.c diffoffset.c \
5 c35a7943 2018-07-12 stsp diffreg.c error.c fileindex.c object.c object_idcache.c \
6 a440fac0 2018-09-06 stsp object_idset.c object_parse.c opentemp.c path.c pack.c \
7 a440fac0 2018-09-06 stsp privsep.c reference.c repository.c sha1.c worktree.c \
8 a440fac0 2018-09-06 stsp utf8.c inflate.c
9 9f7d7167 2018-04-29 stsp
10 9f7d7167 2018-04-29 stsp CPPFLAGS = -I${.CURDIR}/../include -I${.CURDIR}/../lib
11 84451b3e 2018-07-10 stsp LDADD = -lpanel -lncursesw -lutil -lz -lpthread
12 9f7d7167 2018-04-29 stsp DPADD = ${LIBZ} ${LIBUTIL}
13 9f7d7167 2018-04-29 stsp .if defined(PROFILE)
14 9f7d7167 2018-04-29 stsp CC = gcc
15 9f7d7167 2018-04-29 stsp CPPFLAGS += -DPROFILE
16 9f7d7167 2018-04-29 stsp DEBUG = -O0 -pg
17 9f7d7167 2018-04-29 stsp .else
18 9f7d7167 2018-04-29 stsp DEBUG = -O0 -g
19 9f7d7167 2018-04-29 stsp .endif
20 9f7d7167 2018-04-29 stsp CFLAGS += -Werror -Wall -Wstrict-prototypes -Wunused-variable
21 29779489 2018-07-12 stsp #CFLAGS += -DGOT_PACK_NO_MMAP
22 e79f468e 2018-07-13 stsp #CFLAGS += -DGOT_NO_OBJ_CACHE
23 9f7d7167 2018-04-29 stsp
24 9f7d7167 2018-04-29 stsp # For now, default to installing binary in ~/bin
25 9f7d7167 2018-04-29 stsp GROUP!=id -g -n
26 9f7d7167 2018-04-29 stsp install:
27 9f7d7167 2018-04-29 stsp ${INSTALL} ${INSTALL_COPY} -o ${USER} -g ${GROUP} \
28 9f7d7167 2018-04-29 stsp -m ${BINMODE} ${PROG} ${HOME}/bin/${PROG}
29 9f7d7167 2018-04-29 stsp
30 9f7d7167 2018-04-29 stsp # Don't install man pages yet
31 9f7d7167 2018-04-29 stsp NOMAN = Yes
32 9f7d7167 2018-04-29 stsp
33 9f7d7167 2018-04-29 stsp .include <bsd.prog.mk>