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 eeb5ee54e..5e96250b1 100644 --- a/src/peerinfo/Makefile.am +++ b/src/peerinfo/Makefile.am | |||
@@ -5,6 +5,8 @@ pkgcfgdir= $(pkgdatadir)/config.d/ | |||
5 | 5 | ||
6 | libexecdir= $(pkglibdir)/libexec/ | 6 | libexecdir= $(pkglibdir)/libexec/ |
7 | 7 | ||
8 | plugindir = $(libdir)/gnunet | ||
9 | |||
8 | pkgcfg_DATA = \ | 10 | pkgcfg_DATA = \ |
9 | peerinfo.conf | 11 | peerinfo.conf |
10 | 12 | ||
@@ -25,6 +27,8 @@ libgnunetpeerinfo_la_SOURCES = \ | |||
25 | libgnunetpeerinfo_la_LIBADD = \ | 27 | libgnunetpeerinfo_la_LIBADD = \ |
26 | $(top_builddir)/src/hello/libgnunethello.la \ | 28 | $(top_builddir)/src/hello/libgnunethello.la \ |
27 | $(top_builddir)/src/util/libgnunetutil.la \ | 29 | $(top_builddir)/src/util/libgnunetutil.la \ |
30 | $(top_builddir)/src/json/libgnunetjson.la \ | ||
31 | $(top_builddir)/src/transport/libgnunettransport.la \ | ||
28 | $(XLIB) \ | 32 | $(XLIB) \ |
29 | $(LTLIBINTL) | 33 | $(LTLIBINTL) |
30 | libgnunetpeerinfo_la_LDFLAGS = \ | 34 | libgnunetpeerinfo_la_LDFLAGS = \ |
@@ -35,12 +39,30 @@ libgnunetpeerinfo_la_LDFLAGS = \ | |||
35 | libexec_PROGRAMS = \ | 39 | libexec_PROGRAMS = \ |
36 | gnunet-service-peerinfo | 40 | gnunet-service-peerinfo |
37 | 41 | ||
42 | if HAVE_MHD | ||
43 | if HAVE_JSON | ||
44 | plugin_LTLIBRARIES = \ | ||
45 | libgnunet_plugin_rest_peerinfo.la | ||
46 | endif | ||
47 | endif | ||
48 | |||
38 | gnunet_service_peerinfo_SOURCES = \ | 49 | gnunet_service_peerinfo_SOURCES = \ |
39 | gnunet-service-peerinfo.c | 50 | gnunet-service-peerinfo.c |
40 | gnunet_service_peerinfo_LDADD = \ | 51 | gnunet_service_peerinfo_LDADD = \ |
41 | $(top_builddir)/src/hello/libgnunethello.la \ | 52 | $(top_builddir)/src/hello/libgnunethello.la \ |
42 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ | 53 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ |
43 | $(top_builddir)/src/util/libgnunetutil.la | 54 | $(top_builddir)/src/util/libgnunetutil.la |
55 | |||
56 | |||
57 | libgnunet_plugin_rest_peerinfo_la_SOURCES = \ | ||
58 | plugin_rest_peerinfo.c | ||
59 | libgnunet_plugin_rest_peerinfo_la_LIBADD = \ | ||
60 | libgnunetpeerinfo.la \ | ||
61 | $(top_builddir)/src/rest/libgnunetrest.la \ | ||
62 | $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) \ | ||
63 | $(LTLIBINTL) -ljansson -lmicrohttpd | ||
64 | libgnunet_plugin_rest_peerinfo_la_LDFLAGS = \ | ||
65 | $(GN_PLUGIN_LDFLAGS) | ||
44 | 66 | ||
45 | if HAVE_BENCHMARKS | 67 | if HAVE_BENCHMARKS |
46 | PEERINFO_BENCHMARKS = \ | 68 | PEERINFO_BENCHMARKS = \ |