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 sha1.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
15 MAN = ${PROG}.1
17 CPPFLAGS = -I${.CURDIR}/../include -I${.CURDIR}/../lib
19 .if defined(PROFILE)
20 LDADD = -lutil_p -lz_p -lm_p -lc_p
21 .else
22 LDADD = -lutil -lz -lm
23 .endif
24 DPADD = ${LIBZ} ${LIBUTIL}
26 .if ${GOT_RELEASE} != "Yes"
27 NOMAN = Yes
28 .endif
30 realinstall:
31 ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} \
32 -m ${BINMODE} ${PROG} ${BINDIR}/${PROG}
34 .include <bsd.prog.mk>