diff options
Diffstat (limited to 'src/reclaim/Makefile.am')
-rw-r--r-- | src/reclaim/Makefile.am | 46 |
1 files changed, 45 insertions, 1 deletions
diff --git a/src/reclaim/Makefile.am b/src/reclaim/Makefile.am index f9942fa23..13918508e 100644 --- a/src/reclaim/Makefile.am +++ b/src/reclaim/Makefile.am | |||
@@ -16,6 +16,14 @@ if HAVE_SQLITE | |||
16 | SQLITE_PLUGIN = libgnunet_plugin_reclaim_sqlite.la | 16 | SQLITE_PLUGIN = libgnunet_plugin_reclaim_sqlite.la |
17 | endif | 17 | endif |
18 | 18 | ||
19 | if HAVE_MHD | ||
20 | if HAVE_JSON | ||
21 | REST_PLUGIN = \ | ||
22 | libgnunet_plugin_rest_openid_connect.la \ | ||
23 | libgnunet_plugin_rest_reclaim.la | ||
24 | endif | ||
25 | endif | ||
26 | |||
19 | EXTRA_DIST = \ | 27 | EXTRA_DIST = \ |
20 | reclaim.conf \ | 28 | reclaim.conf \ |
21 | test_reclaim_defaults.conf \ | 29 | test_reclaim_defaults.conf \ |
@@ -33,7 +41,8 @@ lib_LTLIBRARIES = \ | |||
33 | libgnunetreclaim.la | 41 | libgnunetreclaim.la |
34 | plugin_LTLIBRARIES = \ | 42 | plugin_LTLIBRARIES = \ |
35 | libgnunet_plugin_gnsrecord_reclaim.la \ | 43 | libgnunet_plugin_gnsrecord_reclaim.la \ |
36 | $(SQLITE_PLUGIN) | 44 | $(SQLITE_PLUGIN) \ |
45 | $(REST_PLUGIN) | ||
37 | 46 | ||
38 | bin_PROGRAMS = \ | 47 | bin_PROGRAMS = \ |
39 | gnunet-reclaim | 48 | gnunet-reclaim |
@@ -41,6 +50,41 @@ bin_PROGRAMS = \ | |||
41 | libexec_PROGRAMS = \ | 50 | libexec_PROGRAMS = \ |
42 | gnunet-service-reclaim | 51 | gnunet-service-reclaim |
43 | 52 | ||
53 | libgnunet_plugin_rest_reclaim_la_SOURCES = \ | ||
54 | plugin_rest_reclaim.c \ | ||
55 | json_reclaim.h \ | ||
56 | json_reclaim.c | ||
57 | libgnunet_plugin_rest_reclaim_la_LIBADD = \ | ||
58 | $(top_builddir)/src/identity/libgnunetidentity.la \ | ||
59 | libgnunetreclaim.la \ | ||
60 | $(top_builddir)/src/json/libgnunetjson.la \ | ||
61 | $(top_builddir)/src/rest/libgnunetrest.la \ | ||
62 | $(top_builddir)/src/reclaim-attribute/libgnunetreclaimattribute.la \ | ||
63 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | ||
64 | $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) \ | ||
65 | $(LTLIBINTL) -ljansson -lmicrohttpd | ||
66 | libgnunet_plugin_rest_reclaim_la_LDFLAGS = \ | ||
67 | $(GN_PLUGIN_LDFLAGS) | ||
68 | |||
69 | |||
70 | libgnunet_plugin_rest_openid_connect_la_SOURCES = \ | ||
71 | plugin_rest_openid_connect.c \ | ||
72 | oidc_helper.h \ | ||
73 | oidc_helper.c | ||
74 | libgnunet_plugin_rest_openid_connect_la_LIBADD = \ | ||
75 | $(top_builddir)/src/identity/libgnunetidentity.la \ | ||
76 | libgnunetreclaim.la \ | ||
77 | $(top_builddir)/src/rest/libgnunetrest.la \ | ||
78 | $(top_builddir)/src/reclaim-attribute/libgnunetreclaimattribute.la \ | ||
79 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | ||
80 | $(top_builddir)/src/gns/libgnunetgns.la \ | ||
81 | $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \ | ||
82 | $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) \ | ||
83 | $(LTLIBINTL) -ljansson -lmicrohttpd | ||
84 | libgnunet_plugin_rest_openid_connect_la_LDFLAGS = \ | ||
85 | $(GN_PLUGIN_LDFLAGS) | ||
86 | |||
87 | |||
44 | libgnunet_plugin_gnsrecord_reclaim_la_SOURCES = \ | 88 | libgnunet_plugin_gnsrecord_reclaim_la_SOURCES = \ |
45 | plugin_gnsrecord_reclaim.c | 89 | plugin_gnsrecord_reclaim.c |
46 | libgnunet_plugin_gnsrecord_reclaim_la_LIBADD = \ | 90 | libgnunet_plugin_gnsrecord_reclaim_la_LIBADD = \ |