AM_LDFLAGS = $(THREADFLAGS)
+JSON11_LIBS = -L$(top_srcdir)/ext/json11 -ljson11
+
EXTRA_DIST = \
OBJECTFILES \
OBJECTLIBS \
libremotebackend_la_LDFLAGS = -module -avoid-version
-libremotebackend_la_LIBADD = $(YAHTTP_LIBS)
+libremotebackend_la_LIBADD = $(YAHTTP_LIBS) $(JSON11_LIBS)
if REMOTEBACKEND_ZEROMQ
libremotebackend_la_LIBADD += $(LIBZMQ_LIBS)
../../pdns/rcpgenerator.cc \
../../pdns/unix_utility.cc \
../../pdns/gss_context.cc ../../pdns/gss_context.hh \
+ ../../pdns/json.hh ../../pdns/json.cc \
httpconnector.cc \
pipeconnector.cc \
unixconnector.cc \
$(BOOST_UNIT_TEST_FRAMEWORK_LIBS) \
$(BOOST_SERIALIZATION_LIBS) \
$(BOOST_PROGRAM_OPTIONS_LIBS) \
- $(LIBDL)
+ $(LIBDL) $(JSON11_LIBS)
libtestremotebackend_la_LDFLAGS = \
$(AM_LDFLAGS) \