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 53bf0b54 2023-02-23 op worktree_open.c hash.c bloom.c murmurhash2.c ratelimit.c \
12 6a800804 2022-10-13 stsp sigs.c buf.c date.c object_open_privsep.c \
13 301e83b3 2022-10-16 stsp read_gitconfig_privsep.c read_gotconfig_privsep.c \
14 2df845d5 2023-07-07 op pack_create_privsep.c pollfd.c reference_parse.c object_qid.c \
15 f7d653fc 2023-07-09 op dump.c load.c
16 20662ea0 2021-04-10 stsp MAN = ${PROG}.1
17 20662ea0 2021-04-10 stsp
18 20662ea0 2021-04-10 stsp CPPFLAGS = -I${.CURDIR}/../include -I${.CURDIR}/../lib
19 20662ea0 2021-04-10 stsp
20 20662ea0 2021-04-10 stsp .if defined(PROFILE)
21 b343c297 2021-10-11 stsp LDADD = -lutil_p -lz_p -lm_p -lc_p
22 20662ea0 2021-04-10 stsp .else
23 b343c297 2021-10-11 stsp LDADD = -lutil -lz -lm
24 20662ea0 2021-04-10 stsp .endif
25 20662ea0 2021-04-10 stsp DPADD = ${LIBZ} ${LIBUTIL}
26 20662ea0 2021-04-10 stsp
27 20662ea0 2021-04-10 stsp .if ${GOT_RELEASE} != "Yes"
28 20662ea0 2021-04-10 stsp NOMAN = Yes
29 20662ea0 2021-04-10 stsp .endif
30 20662ea0 2021-04-10 stsp
31 20662ea0 2021-04-10 stsp realinstall:
32 20662ea0 2021-04-10 stsp ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} \
33 20662ea0 2021-04-10 stsp -m ${BINMODE} ${PROG} ${BINDIR}/${PROG}
34 20662ea0 2021-04-10 stsp
35 20662ea0 2021-04-10 stsp .include <bsd.prog.mk>