1 f42b1b34 2018-03-12 stsp .PATH:${.CURDIR}/../lib
4 79109fed 2018-03-27 stsp SRCS= got.c delta.c diff.c diffreg.c error.c fileindex.c object.c \
5 79109fed 2018-03-27 stsp path.c pack.c refs.c repository.c sha1.c worktree.c zbuf.c
7 f42b1b34 2018-03-12 stsp CPPFLAGS = -I${.CURDIR}/../include -I${.CURDIR}/../lib
8 f42b1b34 2018-03-12 stsp LDADD = -lutil -lz
9 f42b1b34 2018-03-12 stsp DPADD = ${LIBZ} ${LIBUTIL}
10 6715a751 2018-03-16 stsp .if defined(PROFILE)
12 6715a751 2018-03-16 stsp CPPFLAGS += -DPROFILE
13 6715a751 2018-03-16 stsp DEBUG = -O0 -pg
15 92f27f70 2018-03-16 stsp DEBUG = -O0 -g
17 f42b1b34 2018-03-12 stsp CFLAGS += -Werror -Wall -Wstrict-prototypes -Wunused-variable
19 f42b1b34 2018-03-12 stsp # For now, default to installing binary in ~/bin
20 8b90f09e 2018-03-12 stsp GROUP!=id -g -n
22 8b90f09e 2018-03-12 stsp ${INSTALL} ${INSTALL_COPY} -o ${USER} -g ${GROUP} \
23 f42b1b34 2018-03-12 stsp -m ${BINMODE} ${PROG} ${HOME}/bin/${PROG}
25 f42b1b34 2018-03-12 stsp # Don't install man pages yet
28 5c860e29 2018-03-12 stsp .include <bsd.prog.mk>