Blob


1 libexec_PROGRAMS = got-read-pack
3 include $(top_builddir)/Makefile.common
5 got_read_pack_SOURCES = got-read-pack.c \
6 $(top_srcdir)/lib/delta.c \
7 $(top_srcdir)/lib/delta_cache.c \
8 $(top_srcdir)/lib/error.c \
9 $(top_srcdir)/lib/hash.c \
10 $(top_srcdir)/lib/inflate.c \
11 $(top_srcdir)/lib/object_cache.c \
12 $(top_srcdir)/lib/object_idset.c \
13 $(top_srcdir)/lib/object_parse.c \
14 $(top_srcdir)/lib/object_qid.c \
15 $(top_srcdir)/lib/opentemp.c \
16 $(top_srcdir)/lib/pack.c \
17 $(top_srcdir)/lib/path.c \
18 $(top_srcdir)/lib/pollfd.c \
19 $(top_srcdir)/lib/privsep.c
21 got_read_pack_DEPENDENCIES = $(top_builddir)/compat/libopenbsd-compat.a
23 LDADD = -L$(top_builddir)/compat -lopenbsd-compat
24 LDADD += $(zlib_LIBS) $(libbsd_LIBS) $(libutil_LIBS) $(libmd_LIBS)
25 if HOST_FREEBSD
26 LDADD += -lmd
27 endif
29 AM_CPPFLAGS += $(zlib_CFLAGS) $(libbsd_CFLAGS) $(libmd_CFLAGS)