Blob


1 libexec_PROGRAMS = got-index-pack
2 got_index_pack_SOURCES = got-index-pack.c \
3 $(top_srcdir)/lib/error.c \
4 $(top_srcdir)/lib/inflate.c \
5 $(top_srcdir)/lib/object_parse.c \
6 $(top_srcdir)/lib/object_idset.c \
7 $(top_srcdir)/lib/delta_cache.c \
8 $(top_srcdir)/lib/delta.c \
9 $(top_srcdir)/lib/pack.c \
10 $(top_srcdir)/lib/path.c \
11 $(top_srcdir)/lib/privsep.c \
12 $(top_srcdir)/lib/sha1.c
14 got_index_pack_DEPENDENCIES = $(top_builddir)/compat/libopenbsd-compat.a
16 AM_CPPFLAGS += -DGOT_VERSION='"@VERSION@"' \
17 -DGOT_VERSION_NUMBER='"@VERSION@"' \
18 -DGOT_LIBEXECDIR="$(libexecdir)" \
19 -I$(top_srcdir) \
20 -I$(top_srcdir)/compat \
21 -I$(top_srcdir)/lib \
22 -I$(top_srcdir)/include \
23 -I.
25 LDADD = -L$(top_builddir)/compat -lopenbsd-compat
26 if HOST_FREEBSD
27 LDADD += -lmd
28 endif