portable: cvg: remove libevent
[got-portable.git] / cvg / Makefile.am
blob057133708374abe48449a10a7b1587a044e7964a
1 sbin_PROGRAMS = cvg
3 include $(top_builddir)/Makefile.common
5 cvg_SOURCES = cvg.c \
6         $(top_srcdir)/lib/blame.c \
7         $(top_srcdir)/lib/bloom.c \
8         $(top_srcdir)/lib/buf.c \
9         $(top_srcdir)/lib/commit_graph.c \
10         $(top_srcdir)/lib/date.c \
11         $(top_srcdir)/lib/deflate.c \
12         $(top_srcdir)/lib/delta.c \
13         $(top_srcdir)/lib/delta_cache.c \
14         $(top_srcdir)/lib/deltify.c \
15         $(top_srcdir)/lib/dial.c \
16         $(top_srcdir)/lib/diff.c \
17         $(top_srcdir)/lib/diff3.c \
18         $(top_srcdir)/lib/diff_atomize_text.c \
19         $(top_srcdir)/lib/diff_main.c \
20         $(top_srcdir)/lib/diff_myers.c \
21         $(top_srcdir)/lib/diff_output.c \
22         $(top_srcdir)/lib/diff_output_edscript.c \
23         $(top_srcdir)/lib/diff_output_plain.c \
24         $(top_srcdir)/lib/diff_output_unidiff.c \
25         $(top_srcdir)/lib/diff_patience.c \
26         $(top_srcdir)/lib/diffreg.c \
27         $(top_srcdir)/lib/error.c \
28         $(top_srcdir)/lib/fetch.c \
29         $(top_srcdir)/lib/fileindex.c \
30         $(top_srcdir)/lib/gotconfig.c \
31         $(top_srcdir)/lib/hash.c \
32         $(top_srcdir)/lib/inflate.c \
33         $(top_srcdir)/lib/lockfile.c \
34         $(top_srcdir)/lib/murmurhash2.c \
35         $(top_srcdir)/lib/object.c \
36         $(top_srcdir)/lib/object_cache.c \
37         $(top_srcdir)/lib/object_create.c \
38         $(top_srcdir)/lib/object_idset.c \
39         $(top_srcdir)/lib/object_open_privsep.c \
40         $(top_srcdir)/lib/object_parse.c \
41         $(top_srcdir)/lib/object_qid.c \
42         $(top_srcdir)/lib/opentemp.c \
43         $(top_srcdir)/lib/pack.c \
44         $(top_srcdir)/lib/pack_create.c \
45         $(top_srcdir)/lib/pack_create_privsep.c \
46         $(top_srcdir)/lib/pollfd.c \
47         $(top_srcdir)/lib/patch.c \
48         $(top_srcdir)/lib/path.c \
49         $(top_srcdir)/lib/privsep.c \
50         $(top_srcdir)/lib/ratelimit.c \
51         $(top_srcdir)/lib/rcsutil.c \
52         $(top_srcdir)/lib/read_gitconfig_privsep.c \
53         $(top_srcdir)/lib/read_gotconfig_privsep.c \
54         $(top_srcdir)/lib/reference.c \
55         $(top_srcdir)/lib/reference_parse.c \
56         $(top_srcdir)/lib/repository.c \
57         $(top_srcdir)/lib/send.c \
58         $(top_srcdir)/lib/sigs.c \
59         $(top_srcdir)/lib/worktree.c \
60         $(top_srcdir)/lib/worktree_cvg.c \
61         $(top_srcdir)/lib/worktree_open.c
63 cvg_DEPENDENCIES = $(top_builddir)/compat/libopenbsd-compat.a
64 EXTRA_DIST = cvg.1
66 man1_MANS = cvg.1
68 LDADD = -L$(top_builddir)/compat \
69         -lopenbsd-compat -lm
70 LDADD += $(libbsd_LIBS) \
71          $(zlib_LIBS) \
72          $(libuuid_LIBS) \
73          $(libutil_LIBS) \
74          $(libmd_LIBS)
75 if HOST_FREEBSD
76 LDADD += -lmd
77 endif
79 AM_CPPFLAGS += $(libbsd_CFLAGS) $(zlib_CFLAGS) \
80                $(libuuid_CFLAGS) $(libmd_CFLAGS)