Blob


1 libexec_PROGRAMS = got-read-gotconfig
2 got_read_gotconfig_SOURCES = \
3 got-read-gotconfig.c \
4 gotconfig.h \
5 $(top_srcdir)/lib/error.c \
6 $(top_srcdir)/lib/inflate.c \
7 $(top_srcdir)/lib/object_parse.c \
8 $(top_srcdir)/lib/path.c \
9 $(top_srcdir)/lib/privsep.c \
10 $(top_srcdir)/lib/sha1.c \
11 parse.y
13 got_read_gotconfig_DEPENDENCIES = $(top_builddir)/compat/libopenbsd-compat.a
15 AM_CPPFLAGS += -DGOT_VERSION='"@VERSION@"' \
16 -DGOT_VERSION_NUMBER='"@VERSION@"' \
17 -DGOT_LIBEXECDIR="$(libexecdir)" \
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
25 if HOST_FREEBSD
26 LDADD += -lmd
27 endif