portable: release 0.90
[got-portable.git] / tog / Makefile.am
blob1ef092610f09b047277d8dcfa2a660ad4d24b219
1 bin_PROGRAMS = tog
3 include $(top_builddir)/Makefile.common
5 tog_SOURCES = tog.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/dial.c \
15         $(top_srcdir)/lib/diff.c \
16         $(top_srcdir)/lib/diff3.c \
17         $(top_srcdir)/lib/diff_atomize_text.c \
18         $(top_srcdir)/lib/diff_main.c \
19         $(top_srcdir)/lib/diff_myers.c \
20         $(top_srcdir)/lib/diff_output.c \
21         $(top_srcdir)/lib/diff_output_edscript.c \
22         $(top_srcdir)/lib/diff_output_plain.c \
23         $(top_srcdir)/lib/diff_output_unidiff.c \
24         $(top_srcdir)/lib/diff_patience.c \
25         $(top_srcdir)/lib/diffreg.c \
26         $(top_srcdir)/lib/error.c \
27         $(top_srcdir)/lib/fetch.c \
28         $(top_srcdir)/lib/fileindex.c \
29         $(top_srcdir)/lib/gotconfig.c \
30         $(top_srcdir)/lib/hash.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/object_qid.c \
41         $(top_srcdir)/lib/opentemp.c \
42         $(top_srcdir)/lib/pack.c \
43         $(top_srcdir)/lib/path.c \
44         $(top_srcdir)/lib/pollfd.c \
45         $(top_srcdir)/lib/privsep.c \
46         $(top_srcdir)/lib/rcsutil.c \
47         $(top_srcdir)/lib/read_gitconfig_privsep.c \
48         $(top_srcdir)/lib/read_gotconfig_privsep.c \
49         $(top_srcdir)/lib/reference.c \
50         $(top_srcdir)/lib/reference_parse.c \
51         $(top_srcdir)/lib/repository.c \
52         $(top_srcdir)/lib/sigs.c \
53         $(top_srcdir)/lib/utf8.c \
54         $(top_srcdir)/lib/worktree.c \
55         $(top_srcdir)/lib/worktree_open.c
57 tog_DEPENDENCIES = $(top_builddir)/compat/libopenbsd-compat.a
59 man1_MANS = tog.1
61 EXTRA_DIST = tog.1
63 LDADD = -L$(top_builddir)/compat -lopenbsd-compat -lpthread -lm
64 LDADD += $(libbsd_LIBS) $(libncurses_LIBS) $(libuuid_LIBS) $(zlib_LIBS) \
65          $(libutil_LIBS) $(libmd_LIBS)
66 if HOST_FREEBSD
67 LDADD += -lmd
68 endif
70 AM_CPPFLAGS += $(libbsd_CFLAGS) $(libncurses_CFLAGS) $(libuuid_CFLAGS) \
71                $(libmd_CFLAGS)