Blob


1 .PATH:${.CURDIR}/../lib
3 .include "../got-version.mk"
5 .if ${GOT_RELEASE} == "Yes"
6 BINDIR ?= ${PREFIX}/sbin
7 .endif
9 PROG= gotd
10 SRCS= gotd.c repo_read.c repo_write.c log.c privsep_stub.c imsg.c \
11 parse.y pack_create.c ratelimit.c deltify.c \
12 bloom.c buf.c date.c deflate.c delta.c delta_cache.c error.c \
13 gitconfig.c gotconfig.c inflate.c lockfile.c murmurhash2.c \
14 object.c object_cache.c object_create.c object_idset.c \
15 object_open_io.c object_parse.c opentemp.c pack.c path.c \
16 read_gitconfig.c read_gotconfig.c reference.c repository.c \
17 sha1.c sigs.c pack_create_io.c pollfd.c reference_parse.c \
18 repo_imsg.c pack_index.c
20 MAN = ${PROG}.conf.5 ${PROG}.8
22 CPPFLAGS = -I${.CURDIR}/../include -I${.CURDIR}/../lib -I${.CURDIR}
24 .if defined(PROFILE)
25 LDADD = -lutil_p -lz_p -lm_p -lc_p -levent_p
26 .else
27 LDADD = -lutil -lz -lm -levent
28 .endif
29 DPADD = ${LIBZ} ${LIBUTIL}
31 .if ${GOT_RELEASE} != "Yes"
32 NOMAN = Yes
33 .endif
35 .include <bsd.prog.mk>