gotwebd: fix some got_error_from_errno2/3 calls
[got-portable.git] / libexec / got-read-commit / Makefile.am
blob7474516f4e33b6738c753c104c889ce827ff933b
1 libexec_PROGRAMS = got-read-commit
3 include $(top_builddir)/Makefile.common
5 got_read_commit_SOURCES = got-read-commit.c \
6         $(top_srcdir)/lib/error.c \
7         $(top_srcdir)/lib/hash.c \
8         $(top_srcdir)/lib/inflate.c \
9         $(top_srcdir)/lib/object_parse.c \
10         $(top_srcdir)/lib/object_qid.c \
11         $(top_srcdir)/lib/path.c \
12         $(top_srcdir)/lib/pollfd.c \
13         $(top_srcdir)/lib/privsep.c
15 got_read_commit_DEPENDENCIES = $(top_builddir)/compat/libopenbsd-compat.a
17 LDADD = -L$(top_builddir)/compat -lopenbsd-compat
18 LDADD += $(zlib_LIBS) $(libbsd_LIBS) $(libutil_LIBS) $(libmd_LIBS)
19 if HOST_FREEBSD
20 LDADD += -lmd
21 endif
23 AM_CPPFLAGS += $(zlib_CFLAGS) $(libbsd_CFLAGS) $(libmd_CFLAGS)