Blob


1 .PATH:${.CURDIR}/../lib
3 .include "../got-version.mk"
5 PROG= gotadmin
6 SRCS= gotadmin.c \
7 deflate.c delta.c delta_cache.c deltify.c error.c gotconfig.c \
8 inflate.c lockfile.c object.c object_cache.c object_create.c \
9 object_idset.c object_parse.c opentemp.c pack.c pack_create.c \
10 path.c privsep.c reference.c repository.c repository_admin.c \
11 worktree_open.c hash.c bloom.c murmurhash2.c ratelimit.c \
12 sigs.c buf.c date.c object_open_privsep.c \
13 read_gitconfig_privsep.c read_gotconfig_privsep.c \
14 pack_create_privsep.c pollfd.c reference_parse.c object_qid.c \
15 dump.c load.c
16 MAN = ${PROG}.1
18 CPPFLAGS = -I${.CURDIR}/../include -I${.CURDIR}/../lib
20 .if defined(PROFILE)
21 LDADD = -lutil_p -lz_p -lm_p -lc_p
22 .else
23 LDADD = -lutil -lz -lm
24 .endif
25 DPADD = ${LIBZ} ${LIBUTIL}
27 .if ${GOT_RELEASE} != "Yes"
28 NOMAN = Yes
29 .endif
31 realinstall:
32 ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} \
33 -m ${BINMODE} ${PROG} ${BINDIR}/${PROG}
35 .include <bsd.prog.mk>