portable: initial Linux compilation
[got-portable.git] / libexec / got-send-pack / Makefile.am
blob6140278235d28f1fe0fbf7e82ab390b3c57a7277
1 bin_PROGRAMS = got-send-pack
2 got_send_pack_SOURCES = \
3         got-send-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/path.c \
8         $(top_srcdir)/lib/privsep.c \
9         $(top_srcdir)/lib/sha1.c \
10         $(top_srcdir)/lib/pkt.c \
11         $(top_srcdir)/lib/gitproto.c
13 got_send_pack_DEPENDENCIES = $(top_builddir)/compat/libopenbsd-compat.a
15 AM_CPPFLAGS += -DGOT_VERSION='"@VERSION@"' \
16         -DGOT_VERSION_NUMBER='"@VERSION@"' \
17         -DGOT_LIBEXECDIR="${bindir}" \
18         -I$(top_srcdir) \
19         -I$(top_srcdir)/compat \
20         -I$(top_srcdir)/lib \
21         -I$(top_srcdir)/include \
22         -I.
24 LDADD = -L$(top_builddir)/compat -lopenbsd-compat