portable: set next version
[got-portable.git] / got / Makefile.am
blobfd5676f97920ee3b04d42ce7768a4e21a251f4ad
1 bin_PROGRAMS = got
3 include $(top_builddir)/Makefile.common
5 got_SOURCES = got.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/inflate.c \
32         $(top_srcdir)/lib/lockfile.c \
33         $(top_srcdir)/lib/murmurhash2.c \
34         $(top_srcdir)/lib/object.c \
35         $(top_srcdir)/lib/object_cache.c \
36         $(top_srcdir)/lib/object_create.c \
37         $(top_srcdir)/lib/object_idset.c \
38         $(top_srcdir)/lib/object_open_privsep.c \
39         $(top_srcdir)/lib/object_parse.c \
40         $(top_srcdir)/lib/opentemp.c \
41         $(top_srcdir)/lib/pack.c \
42         $(top_srcdir)/lib/pack_create.c \
43         $(top_srcdir)/lib/pack_create_privsep.c \
44         $(top_srcdir)/lib/patch.c \
45         $(top_srcdir)/lib/path.c \
46         $(top_srcdir)/lib/pollfd.c \
47         $(top_srcdir)/lib/privsep.c \
48         $(top_srcdir)/lib/ratelimit.c \
49         $(top_srcdir)/lib/rcsutil.c \
50         $(top_srcdir)/lib/read_gitconfig_privsep.c \
51         $(top_srcdir)/lib/read_gotconfig_privsep.c \
52         $(top_srcdir)/lib/reference.c \
53         $(top_srcdir)/lib/reference_parse.c \
54         $(top_srcdir)/lib/repository.c \
55         $(top_srcdir)/lib/send.c \
56         $(top_srcdir)/lib/sha1.c \
57         $(top_srcdir)/lib/sigs.c \
58         $(top_srcdir)/lib/worktree.c \
59         $(top_srcdir)/lib/worktree_open.c
61 EXTRA_DIST = $(top_srcdir)/compat/*.[ch] \
62              $(top_srcdir)/lib/*.[ch] \
63              $(top_srcdir)/include/*.[ch] \
64              got.1 got.conf.5 git-repository.5 got-worktree.5
66 got_DEPENDENCIES = $(top_builddir)/compat/libopenbsd-compat.a
68 man1_MANS = got.1
69 man5_MANS = got.conf.5 git-repository.5 got-worktree.5
71 LDADD = -L$(top_builddir)/compat -lopenbsd-compat -lm
72 if HOST_FREEBSD
73 LDADD += -lmd
74 endif