Blob


1 libexec_PROGRAMS = got-read-gitconfig
3 include $(top_builddir)/Makefile.common
5 got_read_gitconfig_SOURCES = got-read-gitconfig.c \
6 $(top_srcdir)/lib/error.c \
7 $(top_srcdir)/lib/gitconfig.c \
8 $(top_srcdir)/lib/hash.c \
9 $(top_srcdir)/lib/inflate.c \
10 $(top_srcdir)/lib/object_parse.c \
11 $(top_srcdir)/lib/object_qid.c \
12 $(top_srcdir)/lib/path.c \
13 $(top_srcdir)/lib/pollfd.c \
14 $(top_srcdir)/lib/privsep.c
16 got_read_gitconfig_DEPENDENCIES = $(top_builddir)/compat/libopenbsd-compat.a
18 LDADD = -L$(top_builddir)/compat -lopenbsd-compat
19 LDADD += $(zlib_LIBS) $(libbsd_LIBS) $(libutil_LIBS) $(libmd_LIBS)
20 if HOST_FREEBSD
21 LDADD += -lmd
22 endif
24 AM_CPPFLAGS += $(zlib_CFLAGS) $(libbsd_CFLAGS) $(libmd_CFLAGS)