portable: set next version
[got-portable.git] / libexec / got-send-pack / Makefile.am
blobd3f32157b24e52e3e5a8b544be4a700484256514
1 libexec_PROGRAMS = got-send-pack
3 include $(top_builddir)/Makefile.common
5 got_send_pack_SOURCES = \
6         got-send-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/path.c \
13         $(top_srcdir)/lib/pkt.c \
14         $(top_srcdir)/lib/pollfd.c \
15         $(top_srcdir)/lib/privsep.c \
16         $(top_srcdir)/lib/ratelimit.c \
17         $(top_srcdir)/lib/reference_parse.c
19 got_send_pack_DEPENDENCIES = $(top_builddir)/compat/libopenbsd-compat.a
21 LDADD = -L$(top_builddir)/compat -lopenbsd-compat
22 LDADD += $(zlib_LIBS) $(libbsd_LIBS) $(libutil_LIBS)
23 if HOST_FREEBSD
24 LDADD += -lmd
25 endif
27 AM_CPPFLAGS += $(zlib_CFLAGS) $(libbsd_CFLAGS)