portable: initial Linux compilation
[got-portable.git] / libexec / got-read-object / Makefile.am
blob063d39691da2fdb2540c3a42fc2cd0ede7d60345
1 bin_PROGRAMS = got-read-object
2 got_read_object_SOURCES = got-read-object.c \
3         $(top_srcdir)/lib/error.c \
4         $(top_srcdir)/lib/inflate.c \
5         $(top_srcdir)/lib/object_parse.c \
6         $(top_srcdir)/lib/path.c \
7         $(top_srcdir)/lib/privsep.c \
8         $(top_srcdir)/lib/sha1.c
10 got_read_object_DEPENDENCIES = $(top_builddir)/compat/libopenbsd-compat.a
12 AM_CPPFLAGS += -DGOT_VERSION='"@VERSION@"' \
13         -DGOT_VERSION_NUMBER='"@VERSION@"' \
14         -DGOT_LIBEXEC_DIR="${bindir}" \
15         -I$(top_srcdir) \
16         -I$(top_srcdir)/compat \
17         -I$(top_srcdir)/lib \
18         -I$(top_srcdir)/include \
19         -I.
21 LDADD = -L$(top_builddir)/compat -lopenbsd-compat