1 f42b1b34 2018-03-12 stsp .PATH:${.CURDIR}/../lib
4 404c43c4 2018-06-21 stsp SRCS= got.c blame.c commit_graph.c delta.c diff.c diffreg.c error.c \
5 eb77ee11 2018-07-08 stsp fileindex.c object.c object_idcache.c object_idset.c opentemp.c \
6 eb77ee11 2018-07-08 stsp path.c pack.c privsep.c reference.c repository.c sha1.c \
7 63581804 2018-07-09 stsp worktree.c inflate.c
9 f42b1b34 2018-03-12 stsp CPPFLAGS = -I${.CURDIR}/../include -I${.CURDIR}/../lib
10 f42b1b34 2018-03-12 stsp LDADD = -lutil -lz
11 f42b1b34 2018-03-12 stsp DPADD = ${LIBZ} ${LIBUTIL}
12 6715a751 2018-03-16 stsp .if defined(PROFILE)
14 6715a751 2018-03-16 stsp CPPFLAGS += -DPROFILE
15 6715a751 2018-03-16 stsp DEBUG = -O0 -pg
17 92f27f70 2018-03-16 stsp DEBUG = -O0 -g
19 f42b1b34 2018-03-12 stsp CFLAGS += -Werror -Wall -Wstrict-prototypes -Wunused-variable
20 fc79a48d 2018-07-09 stsp #CPLAGS += -DGOT_PACK_NO_MMAP
22 f42b1b34 2018-03-12 stsp # For now, default to installing binary in ~/bin
23 8b90f09e 2018-03-12 stsp GROUP!=id -g -n
25 8b90f09e 2018-03-12 stsp ${INSTALL} ${INSTALL_COPY} -o ${USER} -g ${GROUP} \
26 f42b1b34 2018-03-12 stsp -m ${BINMODE} ${PROG} ${HOME}/bin/${PROG}
28 f42b1b34 2018-03-12 stsp # Don't install man pages yet
31 5c860e29 2018-03-12 stsp .include <bsd.prog.mk>