Blob


1 bin_PROGRAMS = gotadmin
3 include $(top_builddir)/Makefile.common
5 gotadmin_SOURCES = gotadmin.c \
6 $(top_srcdir)/lib/bloom.c \
7 $(top_srcdir)/lib/buf.c \
8 $(top_srcdir)/lib/date.c \
9 $(top_srcdir)/lib/deflate.c \
10 $(top_srcdir)/lib/delta.c \
11 $(top_srcdir)/lib/delta_cache.c \
12 $(top_srcdir)/lib/deltify.c \
13 $(top_srcdir)/lib/dump.c \
14 $(top_srcdir)/lib/error.c \
15 $(top_srcdir)/lib/gotconfig.c \
16 $(top_srcdir)/lib/hash.c \
17 $(top_srcdir)/lib/inflate.c \
18 $(top_srcdir)/lib/load.c \
19 $(top_srcdir)/lib/lockfile.c \
20 $(top_srcdir)/lib/murmurhash2.c \
21 $(top_srcdir)/lib/object.c \
22 $(top_srcdir)/lib/object_cache.c \
23 $(top_srcdir)/lib/object_create.c \
24 $(top_srcdir)/lib/object_idset.c \
25 $(top_srcdir)/lib/object_open_privsep.c \
26 $(top_srcdir)/lib/object_parse.c \
27 $(top_srcdir)/lib/object_qid.c \
28 $(top_srcdir)/lib/opentemp.c \
29 $(top_srcdir)/lib/pack.c \
30 $(top_srcdir)/lib/pack_create.c \
31 $(top_srcdir)/lib/pack_create_privsep.c \
32 $(top_srcdir)/lib/path.c \
33 $(top_srcdir)/lib/pollfd.c \
34 $(top_srcdir)/lib/privsep.c \
35 $(top_srcdir)/lib/ratelimit.c \
36 $(top_srcdir)/lib/read_gitconfig_privsep.c \
37 $(top_srcdir)/lib/read_gotconfig_privsep.c \
38 $(top_srcdir)/lib/reference.c \
39 $(top_srcdir)/lib/reference_parse.c \
40 $(top_srcdir)/lib/repository.c \
41 $(top_srcdir)/lib/repository_admin.c \
42 $(top_srcdir)/lib/sigs.c \
43 $(top_srcdir)/lib/worktree_open.c
45 gotadmin_DEPENDENCIES = $(top_builddir)/compat/libopenbsd-compat.a
46 EXTRA_DIST = gotadmin.1
48 man1_MANS = gotadmin.1
50 LDADD = -L$(top_builddir)/compat -lopenbsd-compat -lm
51 LDADD += $(libbsd_LIBS) $(zlib_LIBS) $(libuuid_LIBS) $(libutil_LIBS) \
52 $(libmd_LIBS)
53 if HOST_FREEBSD
54 LDADD += -lmd
55 endif
57 AM_CPPFLAGS += $(libbsd_CFLAGS) $(zlib_CFLAGS) $(libuuid_CFLAGS) \
58 $(libmd_CFLAGS)