Blame


1 20662ea0 2021-04-10 stsp .PATH:${.CURDIR}/../lib
2 20662ea0 2021-04-10 stsp
3 20662ea0 2021-04-10 stsp .include "../got-version.mk"
4 20662ea0 2021-04-10 stsp
5 20662ea0 2021-04-10 stsp PROG= gotadmin
6 20662ea0 2021-04-10 stsp SRCS= gotadmin.c \
7 20662ea0 2021-04-10 stsp deflate.c delta.c delta_cache.c deltify.c error.c gotconfig.c \
8 20662ea0 2021-04-10 stsp inflate.c lockfile.c object.c object_cache.c object_create.c \
9 05118f5a 2021-06-22 stsp object_idset.c object_parse.c opentemp.c pack.c pack_create.c \
10 05118f5a 2021-06-22 stsp path.c privsep.c reference.c repository.c repository_admin.c \
11 4d5ee956 2022-07-02 jrick worktree_open.c sha1.c bloom.c murmurhash2.c ratelimit.c \
12 4d5ee956 2022-07-02 jrick sigs.c buf.c date.c
13 20662ea0 2021-04-10 stsp MAN = ${PROG}.1
14 20662ea0 2021-04-10 stsp
15 20662ea0 2021-04-10 stsp CPPFLAGS = -I${.CURDIR}/../include -I${.CURDIR}/../lib
16 20662ea0 2021-04-10 stsp
17 20662ea0 2021-04-10 stsp .if defined(PROFILE)
18 b343c297 2021-10-11 stsp LDADD = -lutil_p -lz_p -lm_p -lc_p
19 20662ea0 2021-04-10 stsp .else
20 b343c297 2021-10-11 stsp LDADD = -lutil -lz -lm
21 20662ea0 2021-04-10 stsp .endif
22 20662ea0 2021-04-10 stsp DPADD = ${LIBZ} ${LIBUTIL}
23 20662ea0 2021-04-10 stsp
24 20662ea0 2021-04-10 stsp .if ${GOT_RELEASE} != "Yes"
25 20662ea0 2021-04-10 stsp NOMAN = Yes
26 20662ea0 2021-04-10 stsp .endif
27 20662ea0 2021-04-10 stsp
28 20662ea0 2021-04-10 stsp realinstall:
29 20662ea0 2021-04-10 stsp ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} \
30 20662ea0 2021-04-10 stsp -m ${BINMODE} ${PROG} ${BINDIR}/${PROG}
31 20662ea0 2021-04-10 stsp
32 20662ea0 2021-04-10 stsp .include <bsd.prog.mk>