portable: add object_qid.c where required
[got-portable.git] / gotadmin / Makefile.am
blob292b0e5c4f58ab5a1f77982623f2489d6483bc52
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/error.c \
14        $(top_srcdir)/lib/gotconfig.c \
15        $(top_srcdir)/lib/hash.c \
16        $(top_srcdir)/lib/inflate.c \
17        $(top_srcdir)/lib/lockfile.c \
18        $(top_srcdir)/lib/murmurhash2.c \
19        $(top_srcdir)/lib/object.c \
20        $(top_srcdir)/lib/object_cache.c \
21        $(top_srcdir)/lib/object_create.c \
22        $(top_srcdir)/lib/object_idset.c \
23        $(top_srcdir)/lib/object_open_privsep.c \
24        $(top_srcdir)/lib/object_parse.c \
25        $(top_srcdir)/lib/object_qid.c \
26        $(top_srcdir)/lib/opentemp.c \
27        $(top_srcdir)/lib/pack.c \
28        $(top_srcdir)/lib/pack_create.c \
29        $(top_srcdir)/lib/pack_create_privsep.c \
30        $(top_srcdir)/lib/path.c \
31        $(top_srcdir)/lib/pollfd.c \
32        $(top_srcdir)/lib/privsep.c \
33        $(top_srcdir)/lib/ratelimit.c \
34        $(top_srcdir)/lib/read_gitconfig_privsep.c \
35        $(top_srcdir)/lib/read_gotconfig_privsep.c \
36        $(top_srcdir)/lib/reference.c \
37        $(top_srcdir)/lib/reference_parse.c \
38        $(top_srcdir)/lib/repository.c \
39        $(top_srcdir)/lib/repository_admin.c \
40        $(top_srcdir)/lib/sigs.c \
41        $(top_srcdir)/lib/worktree_open.c
43 gotadmin_DEPENDENCIES = $(top_builddir)/compat/libopenbsd-compat.a
44 EXTRA_DIST = gotadmin.1
46 man1_MANS = gotadmin.1
48 LDADD = -L$(top_builddir)/compat -lopenbsd-compat -lm
49 LDADD += $(libbsd_LIBS) $(zlib_LIBS) $(libuuid_LIBS) $(libutil_LIBS) \
50          $(libmd_LIBS)
51 if HOST_FREEBSD
52 LDADD += -lmd
53 endif
55 AM_CPPFLAGS += $(libbsd_CFLAGS) $(zlib_CFLAGS) $(libuuid_CFLAGS) \
56                $(libmd_CFLAGS)