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 6a800804 2022-10-13 stsp sigs.c buf.c date.c object_open_privsep.c \
13 96fd6df1 2022-10-13 stsp read_gitconfig_privsep.c read_gotconfig_privsep.c
14 20662ea0 2021-04-10 stsp MAN = ${PROG}.1
15 20662ea0 2021-04-10 stsp
16 20662ea0 2021-04-10 stsp CPPFLAGS = -I${.CURDIR}/../include -I${.CURDIR}/../lib
17 20662ea0 2021-04-10 stsp
18 20662ea0 2021-04-10 stsp .if defined(PROFILE)
19 b343c297 2021-10-11 stsp LDADD = -lutil_p -lz_p -lm_p -lc_p
20 20662ea0 2021-04-10 stsp .else
21 b343c297 2021-10-11 stsp LDADD = -lutil -lz -lm
22 20662ea0 2021-04-10 stsp .endif
23 20662ea0 2021-04-10 stsp DPADD = ${LIBZ} ${LIBUTIL}
24 20662ea0 2021-04-10 stsp
25 20662ea0 2021-04-10 stsp .if ${GOT_RELEASE} != "Yes"
26 20662ea0 2021-04-10 stsp NOMAN = Yes
27 20662ea0 2021-04-10 stsp .endif
28 20662ea0 2021-04-10 stsp
29 20662ea0 2021-04-10 stsp realinstall:
30 20662ea0 2021-04-10 stsp ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} \
31 20662ea0 2021-04-10 stsp -m ${BINMODE} ${PROG} ${BINDIR}/${PROG}
32 20662ea0 2021-04-10 stsp
33 20662ea0 2021-04-10 stsp .include <bsd.prog.mk>