1 9f7d7167 2018-04-29 stsp .PATH:${.CURDIR}/../lib
4 00dfcb92 2018-06-11 stsp SRCS= tog.c commit_graph.c delta.c diff.c diffreg.c error.c \
5 00dfcb92 2018-06-11 stsp fileindex.c object.c object_idset.c opentemp.c path.c \
6 00dfcb92 2018-06-11 stsp pack.c privsep.c reference.c repository.c sha1.c worktree.c \
7 00dfcb92 2018-06-11 stsp utf8.c zbuf.c
9 9f7d7167 2018-04-29 stsp CPPFLAGS = -I${.CURDIR}/../include -I${.CURDIR}/../lib
10 61e69b96 2018-05-20 stsp LDADD = -lpanel -lncursesw -lutil -lz
11 9f7d7167 2018-04-29 stsp DPADD = ${LIBZ} ${LIBUTIL}
12 9f7d7167 2018-04-29 stsp .if defined(PROFILE)
14 9f7d7167 2018-04-29 stsp CPPFLAGS += -DPROFILE
15 9f7d7167 2018-04-29 stsp DEBUG = -O0 -pg
17 9f7d7167 2018-04-29 stsp DEBUG = -O0 -g
19 9f7d7167 2018-04-29 stsp CFLAGS += -Werror -Wall -Wstrict-prototypes -Wunused-variable
21 9f7d7167 2018-04-29 stsp # For now, default to installing binary in ~/bin
22 9f7d7167 2018-04-29 stsp GROUP!=id -g -n
24 9f7d7167 2018-04-29 stsp ${INSTALL} ${INSTALL_COPY} -o ${USER} -g ${GROUP} \
25 9f7d7167 2018-04-29 stsp -m ${BINMODE} ${PROG} ${HOME}/bin/${PROG}
27 9f7d7167 2018-04-29 stsp # Don't install man pages yet
30 9f7d7167 2018-04-29 stsp .include <bsd.prog.mk>