Blob


1 .PATH:${.CURDIR}/../lib
3 PROG= got
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 CPPFLAGS = -I${.CURDIR}/../include -I${.CURDIR}/../lib \
10 -DGOT_LIBEXECDIR=${GOT_LIBEXECDIR}
11 LDADD = -lutil -lz
12 DPADD = ${LIBZ} ${LIBUTIL}
14 # For now, default to installing binary in ~/bin
15 GROUP!=id -g -n
16 install:
17 ${INSTALL} ${INSTALL_COPY} -o ${USER} -g ${GROUP} \
18 -m ${BINMODE} ${PROG} ${HOME}/bin/${PROG}
20 # Don't install man pages yet
21 NOMAN = Yes
23 .include <bsd.prog.mk>