1 bin_PROGRAMS = gitwrapper
3 include $(top_builddir)/Makefile.common
5 AM_CPPFLAGS += -I$(top_builddir)/gotd
6 AM_CPPFLAGS += -DGITWRAPPER_GIT_LIBEXEC_DIR='"@GITWRAPPER_LIBEXEC_PATHC@"'
10 gitwrapper_SOURCES = gitwrapper.c \
11 $(top_srcdir)/gotd/parse.y \
12 $(top_srcdir)/lib/dial.c \
13 $(top_srcdir)/lib/error.c \
14 $(top_srcdir)/lib/hash.c \
15 $(top_srcdir)/lib/log.c \
16 $(top_srcdir)/lib/object_qid.c \
17 $(top_srcdir)/lib/path.c \
18 $(top_srcdir)/lib/reference_parse.c
20 gitwrapper_DEPENDENCIES = $(top_builddir)/compat/libopenbsd-compat.a
21 EXTRA_DIST = gitwrapper.1
23 man1_MANS = gitwrapper.1
25 LDADD = -L$(top_builddir)/compat -lopenbsd-compat
26 LDADD += $(libbsd_LIBS) \
32 AM_CPPFLAGS += $(libbsd_CFLAGS) $(libuuid_CFLAGS) $(libevent_CFLAGS)