1 .PATH:${.CURDIR}/../lib
4 SRCS= got.c blame.c commit_graph.c delta.c diff.c diffoffset.c \
5 diffreg.c error.c fileindex.c object.c object_idcache.c \
6 object_idset.c object_parse.c opentemp.c path.c pack.c \
7 privsep.c reference.c repository.c sha1.c worktree.c inflate.c
9 GOT_LIBEXECDIR = ${HOME}/bin
10 CPPFLAGS = -I${.CURDIR}/../include -I${.CURDIR}/../lib \
11 -DGOT_LIBEXECDIR=${GOT_LIBEXECDIR}
13 DPADD = ${LIBZ} ${LIBUTIL}
21 CFLAGS += -Werror -Wall -Wstrict-prototypes -Wunused-variable
22 #CFLAGS += -DGOT_PACK_NO_MMAP
23 #CFLAGS += -DGOT_NO_OBJ_CACHE
25 # For now, default to installing binary in ~/bin
28 ${INSTALL} ${INSTALL_COPY} -o ${USER} -g ${GROUP} \
29 -m ${BINMODE} ${PROG} ${HOME}/bin/${PROG}
31 # Don't install man pages yet
34 .include <bsd.prog.mk>