Blame


1 f42b1b34 2018-03-12 stsp .PATH:${.CURDIR}/../lib
2 5c860e29 2018-03-12 stsp
3 5c860e29 2018-03-12 stsp PROG= got
4 f42b1b34 2018-03-12 stsp SRCS= got.c delta.c error.c object.c path.c pack.c refs.c \
5 f42b1b34 2018-03-12 stsp repository.c sha1.c zbuf.c
6 5c860e29 2018-03-12 stsp
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 f42b1b34 2018-03-12 stsp DEBUG = -O0 -g
11 f42b1b34 2018-03-12 stsp CFLAGS += -Werror -Wall -Wstrict-prototypes -Wunused-variable
12 5c860e29 2018-03-12 stsp
13 f42b1b34 2018-03-12 stsp # For now, default to installing binary in ~/bin
14 8b90f09e 2018-03-12 stsp GROUP!=id -g -n
15 f42b1b34 2018-03-12 stsp install:
16 8b90f09e 2018-03-12 stsp ${INSTALL} ${INSTALL_COPY} -o ${USER} -g ${GROUP} \
17 f42b1b34 2018-03-12 stsp -m ${BINMODE} ${PROG} ${HOME}/bin/${PROG}
18 5c860e29 2018-03-12 stsp
19 f42b1b34 2018-03-12 stsp # Don't install man pages yet
20 f42b1b34 2018-03-12 stsp NOMAN = Yes
21 f42b1b34 2018-03-12 stsp
22 5c860e29 2018-03-12 stsp .include <bsd.prog.mk>