portable: remove portably-defined headers
[got-portable.git] / tog / Makefile.am
blob3991fa5a50b6d0c258c7d2f4cc786c16bcefaf11
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/keyword.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/path.c \
45         $(top_srcdir)/lib/pollfd.c \
46         $(top_srcdir)/lib/privsep.c \
47         $(top_srcdir)/lib/rcsutil.c \
48         $(top_srcdir)/lib/read_gitconfig_privsep.c \
49         $(top_srcdir)/lib/read_gotconfig_privsep.c \
50         $(top_srcdir)/lib/reference.c \
51         $(top_srcdir)/lib/reference_parse.c \
52         $(top_srcdir)/lib/repository.c \
53         $(top_srcdir)/lib/sigs.c \
54         $(top_srcdir)/lib/utf8.c \
55         $(top_srcdir)/lib/worktree.c \
56         $(top_srcdir)/lib/worktree_open.c
58 tog_DEPENDENCIES = $(top_builddir)/compat/libopenbsd-compat.a
60 man1_MANS = tog.1
62 EXTRA_DIST = tog.1
64 LDADD = -L$(top_builddir)/compat -lopenbsd-compat -lpthread -lm
65 LDADD += $(libbsd_LIBS) $(libncurses_LIBS) $(libuuid_LIBS) $(zlib_LIBS) \
66          $(libutil_LIBS) $(libmd_LIBS)
67 if HOST_FREEBSD
68 LDADD += -lmd
69 endif
71 AM_CPPFLAGS += $(libbsd_CFLAGS) $(libncurses_CFLAGS) $(libuuid_CFLAGS) \
72                $(libmd_CFLAGS)