slight code simplification, seeing that clear_meta(NULL) is fine
[got-portable.git] / got / Makefile.am
blob74d84917a5cc4407db3cfe2e1d1dbc9057015dd7
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/hash.c \
32         $(top_srcdir)/lib/inflate.c \
33         $(top_srcdir)/lib/keyword.c \
34         $(top_srcdir)/lib/lockfile.c \
35         $(top_srcdir)/lib/murmurhash2.c \
36         $(top_srcdir)/lib/object.c \
37         $(top_srcdir)/lib/object_cache.c \
38         $(top_srcdir)/lib/object_create.c \
39         $(top_srcdir)/lib/object_idset.c \
40         $(top_srcdir)/lib/object_open_privsep.c \
41         $(top_srcdir)/lib/object_parse.c \
42         $(top_srcdir)/lib/object_qid.c \
43         $(top_srcdir)/lib/opentemp.c \
44         $(top_srcdir)/lib/pack.c \
45         $(top_srcdir)/lib/pack_create.c \
46         $(top_srcdir)/lib/pack_create_privsep.c \
47         $(top_srcdir)/lib/patch.c \
48         $(top_srcdir)/lib/path.c \
49         $(top_srcdir)/lib/pollfd.c \
50         $(top_srcdir)/lib/privsep.c \
51         $(top_srcdir)/lib/ratelimit.c \
52         $(top_srcdir)/lib/rcsutil.c \
53         $(top_srcdir)/lib/read_gitconfig_privsep.c \
54         $(top_srcdir)/lib/read_gotconfig_privsep.c \
55         $(top_srcdir)/lib/reference.c \
56         $(top_srcdir)/lib/reference_parse.c \
57         $(top_srcdir)/lib/repository.c \
58         $(top_srcdir)/lib/send.c \
59         $(top_srcdir)/lib/sigs.c \
60         $(top_srcdir)/lib/worktree.c \
61         $(top_srcdir)/lib/worktree_open.c
63 EXTRA_DIST = $(top_srcdir)/compat/*.[ch] \
64              $(top_srcdir)/lib/*.[ch] \
65              $(top_srcdir)/include/*.[ch] \
66              got.1 got.conf.5 git-repository.5 got-worktree.5
68 got_DEPENDENCIES = $(top_builddir)/compat/libopenbsd-compat.a
70 man1_MANS = got.1
71 man5_MANS = got.conf.5 git-repository.5 got-worktree.5
73 LDADD = -L$(top_builddir)/compat -lopenbsd-compat -lm
74 LDADD += $(libuuid_LIBS) \
75          $(zlib_LIBS) \
76          $(libbsd_LIBS) \
77          $(libutil_LIBS) \
78          $(libmd_LIBS)
79 if HOST_FREEBSD
80 LDADD += -lmd
81 endif
83 AM_CPPFLAGS += $(libuuid_CFLAGS) \
84                $(zlib_CFLAGS) \
85                $(libbsd_CFLAGS) \
86                $(libmd_CLFAGS)