libgnunetjson_la_LDFLAGS = \
-version-info 0:0:0 \
-no-undefined
+libgnunetjson_la_CFLAGS = $(MHD_CFLAGS) $(AM_CFLAGS)
libgnunetjson_la_SOURCES = \
json.c \
json_mhd.c \
$(top_builddir)/src/util/libgnunetutil.la \
$(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \
-ljansson \
- -lmicrohttpd \
+ $(MHD_LIBS) \
$(XLIB) \
$(Z_LIBS)
libgnunetjson.la \
$(top_builddir)/src/util/libgnunetutil.la \
-ljansson \
- -lmicrohttpd \
+ $(MHD_LIBS) \
$(Z_LIBS) \
$(LIB_GNURL)
-test_json_mhd_CPPFLAGS = \
- $(CPP_GNURL) $(AM_CPPFLAGS)
+test_json_mhd_CFLAGS = $(MHD_CFLAGS) $(CPP_GNURL) $(AM_CFLAGS)