portable: release 0.93
[got-portable.git] / libexec / got-read-gotconfig / Makefile.am
blobd82166438f10d25034713d60098431257255913e
1 libexec_PROGRAMS = got-read-gotconfig
3 include $(top_builddir)/Makefile.common
5 got_read_gotconfig_SOURCES = \
6         $(top_srcdir)/lib/error.c \
7         $(top_srcdir)/lib/hash.c \
8         $(top_srcdir)/lib/inflate.c \
9         $(top_srcdir)/lib/object_parse.c \
10         $(top_srcdir)/lib/object_qid.c \
11         $(top_srcdir)/lib/path.c \
12         $(top_srcdir)/lib/pollfd.c \
13         $(top_srcdir)/lib/privsep.c \
14         got-read-gotconfig.c \
15         gotconfig.h \
16         parse.y
18 got_read_gotconfig_DEPENDENCIES = $(top_builddir)/compat/libopenbsd-compat.a
20 LDADD = -L$(top_builddir)/compat -lopenbsd-compat
21 LDADD += $(libbsd_LIBS) $(zlib_LIBS) $(libutil_LIBS) $(libmd_LIBS)
22 if HOST_FREEBSD
23 LDADD += -lmd
24 endif
26 AM_CPPFLAGS += $(libbsd_CFLAGS) $(zlib_CFLAGS) $(libmd_CFLAGS)