gotweb: style improvements
[got-portable.git] / libexec / got-send-pack / Makefile.am
blob54c2187a930fc739ba79182ad1bb6b9359dadd1c
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/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 \
18         $(top_srcdir)/lib/reference_parse.c
20 got_send_pack_DEPENDENCIES = $(top_builddir)/compat/libopenbsd-compat.a
22 LDADD = -L$(top_builddir)/compat -lopenbsd-compat
23 LDADD += $(zlib_LIBS) $(libbsd_LIBS) $(libutil_LIBS) $(libmd_LIBS)
24 if HOST_FREEBSD
25 LDADD += -lmd
26 endif
28 AM_CPPFLAGS += $(zlib_CFLAGS) $(libbsd_CFLAGS) $(libmd_CFLAGS)