diff options
Diffstat (limited to 'src/peerinfo-tool/Makefile.am')
-rw-r--r-- | src/peerinfo-tool/Makefile.am | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/peerinfo-tool/Makefile.am b/src/peerinfo-tool/Makefile.am index 429224650..a5fd60246 100644 --- a/src/peerinfo-tool/Makefile.am +++ b/src/peerinfo-tool/Makefile.am | |||
@@ -10,11 +10,33 @@ if USE_COVERAGE | |||
10 | XLIB = -lgcov | 10 | XLIB = -lgcov |
11 | endif | 11 | endif |
12 | 12 | ||
13 | if HAVE_MHD | ||
14 | if HAVE_JSON | ||
15 | REST_PLUGIN = libgnunet_plugin_rest_peerinfo.la | ||
16 | endif | ||
17 | endif | ||
18 | |||
13 | plugindir = $(libdir)/gnunet | 19 | plugindir = $(libdir)/gnunet |
14 | 20 | ||
21 | plugin_LTLIBRARIES = $(REST_PLUGIN) | ||
22 | |||
15 | bin_PROGRAMS = \ | 23 | bin_PROGRAMS = \ |
16 | gnunet-peerinfo | 24 | gnunet-peerinfo |
17 | 25 | ||
26 | libgnunet_plugin_rest_peerinfo_la_SOURCES = \ | ||
27 | plugin_rest_peerinfo.c | ||
28 | libgnunet_plugin_rest_peerinfo_la_LIBADD = \ | ||
29 | $(top_builddir)/src/hello/libgnunethello.la \ | ||
30 | $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \ | ||
31 | $(top_builddir)/src/transport/libgnunettransport.la \ | ||
32 | $(top_builddir)/src/rest/libgnunetrest.la \ | ||
33 | $(top_builddir)/src/json/libgnunetjson.la \ | ||
34 | $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) \ | ||
35 | $(LTLIBINTL) -ljansson -lmicrohttpd | ||
36 | libgnunet_plugin_rest_peerinfo_la_LDFLAGS = \ | ||
37 | $(GN_PLUGIN_LDFLAGS) | ||
38 | |||
39 | |||
18 | gnunet_peerinfo_SOURCES = \ | 40 | gnunet_peerinfo_SOURCES = \ |
19 | gnunet-peerinfo.c \ | 41 | gnunet-peerinfo.c \ |
20 | gnunet-peerinfo_plugins.c gnunet-peerinfo_plugins.h | 42 | gnunet-peerinfo_plugins.c gnunet-peerinfo_plugins.h |