Blob


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