diff options
Diffstat (limited to 'src/peerinfo/Makefile.am')
-rw-r--r-- | src/peerinfo/Makefile.am | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/peerinfo/Makefile.am b/src/peerinfo/Makefile.am index ef79d6720..deb3fcf6c 100644 --- a/src/peerinfo/Makefile.am +++ b/src/peerinfo/Makefile.am | |||
@@ -17,8 +17,30 @@ if USE_COVERAGE | |||
17 | XLIB = -lgcov | 17 | XLIB = -lgcov |
18 | endif | 18 | endif |
19 | 19 | ||
20 | if HAVE_MHD | ||
21 | if HAVE_JSON | ||
22 | REST_PLUGIN = libgnunet_plugin_rest_peerinfo.la | ||
23 | endif | ||
24 | endif | ||
25 | |||
20 | lib_LTLIBRARIES = libgnunetpeerinfo.la | 26 | lib_LTLIBRARIES = libgnunetpeerinfo.la |
21 | 27 | ||
28 | plugin_LTLIBRARIES = $(REST_PLUGIN) | ||
29 | |||
30 | libgnunet_plugin_rest_peerinfo_la_SOURCES = \ | ||
31 | plugin_rest_peerinfo.c | ||
32 | libgnunet_plugin_rest_peerinfo_la_LIBADD = \ | ||
33 | $(top_builddir)/src/hello/libgnunethello.la \ | ||
34 | libgnunetpeerinfo.la \ | ||
35 | $(top_builddir)/src/rest/libgnunetrest.la \ | ||
36 | $(top_builddir)/src/json/libgnunetjson.la \ | ||
37 | $(top_builddir)/src/transport/libgnunettransport.la \ | ||
38 | $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) \ | ||
39 | $(LTLIBINTL) -ljansson -lmicrohttpd | ||
40 | libgnunet_plugin_rest_peerinfo_la_LDFLAGS = \ | ||
41 | $(GN_PLUGIN_LDFLAGS) | ||
42 | |||
43 | |||
22 | libgnunetpeerinfo_la_SOURCES = \ | 44 | libgnunetpeerinfo_la_SOURCES = \ |
23 | peerinfo_api.c peerinfo.h \ | 45 | peerinfo_api.c peerinfo.h \ |
24 | peerinfo_api_notify.c | 46 | peerinfo_api_notify.c |