portable: release 0.93
[got-portable.git] / libexec / got-fetch-pack / Makefile.am
blobadb92e967a22af3e7866d16ed42fee22588f0524
1 libexec_PROGRAMS = got-fetch-pack
3 include $(top_builddir)/Makefile.common
5 got_fetch_pack_SOURCES = \
6         got-fetch-pack.c \
7         $(top_srcdir)/lib/error.c \
8         $(top_srcdir)/lib/gitproto.c \
9         $(top_srcdir)/lib/hash.c \
10         $(top_srcdir)/lib/inflate.c \
11         $(top_srcdir)/lib/object_parse.c \
12         $(top_srcdir)/lib/object_qid.c \
13         $(top_srcdir)/lib/path.c \
14         $(top_srcdir)/lib/pkt.c \
15         $(top_srcdir)/lib/pollfd.c \
16         $(top_srcdir)/lib/privsep.c \
17         $(top_srcdir)/lib/ratelimit.c
19 got_fetch_pack_DEPENDENCIES = $(top_builddir)/compat/libopenbsd-compat.a
21 LDADD = -L$(top_builddir)/compat -lopenbsd-compat
22 LDADD += $(zlib_LIBS) $(libbsd_LIBS) $(libutil_LIBS) $(libmd_LIBS)
23 if HOST_FREEBSD
24 LDADD += -lmd
25 endif
27 AM_CPPFLAGS += $(zlib_CFLAGS) $(libbsd_CFLAGS) $(libmd_CFLAGS)