diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 8 | ||||
-rw-r--r-- | src/gns/Makefile.am | 19 | ||||
-rw-r--r-- | src/identity/Makefile.am | 19 | ||||
-rw-r--r-- | src/jsonapi/Makefile.am | 18 | ||||
-rw-r--r-- | src/jsonapi/plugin_rest_reclaim.c (renamed from src/reclaim/plugin_rest_reclaim.c) | 0 | ||||
-rw-r--r-- | src/namestore/Makefile.am | 23 | ||||
-rw-r--r-- | src/peerinfo/Makefile.am | 20 | ||||
-rw-r--r-- | src/reclaim/Makefile.am | 33 | ||||
-rw-r--r-- | src/rest-plugins/Makefile.am | 102 | ||||
-rw-r--r-- | src/rest-plugins/oidc_helper.c (renamed from src/reclaim/oidc_helper.c) | 0 | ||||
-rw-r--r-- | src/rest-plugins/oidc_helper.h (renamed from src/reclaim/oidc_helper.h) | 0 | ||||
-rw-r--r-- | src/rest-plugins/plugin_rest_copying.c (renamed from src/rest/plugin_rest_copying.c) | 0 | ||||
-rw-r--r-- | src/rest-plugins/plugin_rest_gns.c (renamed from src/gns/plugin_rest_gns.c) | 0 | ||||
-rw-r--r-- | src/rest-plugins/plugin_rest_identity.c (renamed from src/identity/plugin_rest_identity.c) | 0 | ||||
-rw-r--r-- | src/rest-plugins/plugin_rest_namestore.c (renamed from src/namestore/plugin_rest_namestore.c) | 0 | ||||
-rw-r--r-- | src/rest-plugins/plugin_rest_openid_connect.c (renamed from src/reclaim/plugin_rest_openid_connect.c) | 0 | ||||
-rw-r--r-- | src/rest-plugins/plugin_rest_peerinfo.c (renamed from src/peerinfo/plugin_rest_peerinfo.c) | 0 | ||||
-rw-r--r-- | src/rest/Makefile.am | 13 |
18 files changed, 123 insertions, 132 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 53d157da3..43b1004eb 100644 --- a/src/Makefile.am +++ b/src/Makefile.am | |||
@@ -65,9 +65,8 @@ if HAVE_POSTGRESQL | |||
65 | endif | 65 | endif |
66 | 66 | ||
67 | if HAVE_MHD | 67 | if HAVE_MHD |
68 | REST_DIR = rest | ||
69 | if HAVE_JSON | 68 | if HAVE_JSON |
70 | JSONAPI_DIR = jsonapi | 69 | REST_DIR = rest jsonapi rest-plugins |
71 | endif | 70 | endif |
72 | endif | 71 | endif |
73 | 72 | ||
@@ -82,9 +81,6 @@ SUBDIRS = \ | |||
82 | include $(INTLEMU_SUBDIRS) \ | 81 | include $(INTLEMU_SUBDIRS) \ |
83 | util \ | 82 | util \ |
84 | gnsrecord \ | 83 | gnsrecord \ |
85 | $(JSON_DIR) \ | ||
86 | $(REST_DIR) \ | ||
87 | $(JSONAPI_DIR) \ | ||
88 | hello \ | 84 | hello \ |
89 | block \ | 85 | block \ |
90 | statistics \ | 86 | statistics \ |
@@ -130,6 +126,8 @@ SUBDIRS = \ | |||
130 | exit \ | 126 | exit \ |
131 | pt \ | 127 | pt \ |
132 | secretsharing \ | 128 | secretsharing \ |
129 | $(JSON_DIR) \ | ||
130 | $(REST_DIR) \ | ||
133 | integration-tests \ | 131 | integration-tests \ |
134 | $(EXP_DIR) | 132 | $(EXP_DIR) |
135 | 133 | ||
diff --git a/src/gns/Makefile.am b/src/gns/Makefile.am index 2c7bb8ebb..2659f7e6a 100644 --- a/src/gns/Makefile.am +++ b/src/gns/Makefile.am | |||
@@ -92,12 +92,6 @@ plugin_LTLIBRARIES = \ | |||
92 | libgnunet_plugin_gnsrecord_gns.la | 92 | libgnunet_plugin_gnsrecord_gns.la |
93 | 93 | ||
94 | 94 | ||
95 | if HAVE_MHD | ||
96 | if HAVE_JSON | ||
97 | plugin_LTLIBRARIES += libgnunet_plugin_rest_gns.la | ||
98 | endif | ||
99 | endif | ||
100 | |||
101 | libgnunet_plugin_gnsrecord_gns_la_SOURCES = \ | 95 | libgnunet_plugin_gnsrecord_gns_la_SOURCES = \ |
102 | plugin_gnsrecord_gns.c | 96 | plugin_gnsrecord_gns.c |
103 | libgnunet_plugin_gnsrecord_gns_la_LIBADD = \ | 97 | libgnunet_plugin_gnsrecord_gns_la_LIBADD = \ |
@@ -238,19 +232,6 @@ libgnunet_plugin_block_gns_la_LIBADD = \ | |||
238 | libgnunet_plugin_block_gns_la_LDFLAGS = \ | 232 | libgnunet_plugin_block_gns_la_LDFLAGS = \ |
239 | $(GN_PLUGIN_LDFLAGS) | 233 | $(GN_PLUGIN_LDFLAGS) |
240 | 234 | ||
241 | libgnunet_plugin_rest_gns_la_SOURCES = \ | ||
242 | plugin_rest_gns.c | ||
243 | libgnunet_plugin_rest_gns_la_LIBADD = \ | ||
244 | libgnunetgns.la \ | ||
245 | $(top_builddir)/src/rest/libgnunetrest.la \ | ||
246 | $(top_builddir)/src/identity/libgnunetidentity.la \ | ||
247 | $(top_builddir)/src/jsonapi/libgnunetjsonapi.la \ | ||
248 | $(top_builddir)/src/jsonapi/libgnunetjsonapiutils.la \ | ||
249 | $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) \ | ||
250 | $(LTLIBINTL) -ljansson -lmicrohttpd | ||
251 | libgnunet_plugin_rest_gns_la_LDFLAGS = \ | ||
252 | $(GN_PLUGIN_LDFLAGS) | ||
253 | |||
254 | 235 | ||
255 | check_SCRIPTS = \ | 236 | check_SCRIPTS = \ |
256 | test_gns_lookup.sh \ | 237 | test_gns_lookup.sh \ |
diff --git a/src/identity/Makefile.am b/src/identity/Makefile.am index e7104f0c3..1f21fc65d 100644 --- a/src/identity/Makefile.am +++ b/src/identity/Makefile.am | |||
@@ -39,14 +39,6 @@ bin_PROGRAMS = \ | |||
39 | libexec_PROGRAMS = \ | 39 | libexec_PROGRAMS = \ |
40 | gnunet-service-identity | 40 | gnunet-service-identity |
41 | 41 | ||
42 | if HAVE_MHD | ||
43 | if HAVE_JSON | ||
44 | plugin_LTLIBRARIES = \ | ||
45 | libgnunet_plugin_rest_identity.la | ||
46 | endif | ||
47 | endif | ||
48 | |||
49 | |||
50 | gnunet_service_identity_SOURCES = \ | 42 | gnunet_service_identity_SOURCES = \ |
51 | gnunet-service-identity.c | 43 | gnunet-service-identity.c |
52 | gnunet_service_identity_LDADD = \ | 44 | gnunet_service_identity_LDADD = \ |
@@ -55,17 +47,6 @@ gnunet_service_identity_LDADD = \ | |||
55 | $(GN_LIBINTL) | 47 | $(GN_LIBINTL) |
56 | 48 | ||
57 | 49 | ||
58 | libgnunet_plugin_rest_identity_la_SOURCES = \ | ||
59 | plugin_rest_identity.c | ||
60 | libgnunet_plugin_rest_identity_la_LIBADD = \ | ||
61 | libgnunetidentity.la \ | ||
62 | $(top_builddir)/src/rest/libgnunetrest.la \ | ||
63 | $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) \ | ||
64 | $(LTLIBINTL) -ljansson -lmicrohttpd | ||
65 | libgnunet_plugin_rest_identity_la_LDFLAGS = \ | ||
66 | $(GN_PLUGIN_LDFLAGS) | ||
67 | |||
68 | |||
69 | gnunet_identity_SOURCES = \ | 50 | gnunet_identity_SOURCES = \ |
70 | gnunet-identity.c | 51 | gnunet-identity.c |
71 | gnunet_identity_LDADD = \ | 52 | gnunet_identity_LDADD = \ |
diff --git a/src/jsonapi/Makefile.am b/src/jsonapi/Makefile.am index 054d3c550..0c6d60b10 100644 --- a/src/jsonapi/Makefile.am +++ b/src/jsonapi/Makefile.am | |||
@@ -8,7 +8,23 @@ endif | |||
8 | 8 | ||
9 | lib_LTLIBRARIES = \ | 9 | lib_LTLIBRARIES = \ |
10 | libgnunetjsonapi.la \ | 10 | libgnunetjsonapi.la \ |
11 | libgnunetjsonapiutils.la | 11 | libgnunetjsonapiutils.la \ |
12 | libgnunet_plugin_rest_reclaim.la | ||
13 | |||
14 | libgnunet_plugin_rest_reclaim_la_SOURCES = \ | ||
15 | plugin_rest_reclaim.c | ||
16 | libgnunet_plugin_rest_reclaim_la_LIBADD = \ | ||
17 | $(top_builddir)/src/identity/libgnunetidentity.la \ | ||
18 | $(top_builddir)/src/reclaim/libgnunetreclaim.la \ | ||
19 | $(top_builddir)/src/rest/libgnunetrest.la \ | ||
20 | libgnunetjsonapi.la \ | ||
21 | $(top_builddir)/src/reclaim-attribute/libgnunetreclaimattribute.la \ | ||
22 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | ||
23 | $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) \ | ||
24 | $(LTLIBINTL) -ljansson -lmicrohttpd | ||
25 | libgnunet_plugin_rest_reclaim_la_LDFLAGS = \ | ||
26 | i$(GN_PLUGIN_LDFLAGS) | ||
27 | |||
12 | 28 | ||
13 | libgnunetjsonapiutils_la_LDFLAGS = \ | 29 | libgnunetjsonapiutils_la_LDFLAGS = \ |
14 | -version-info 0:0:0 \ | 30 | -version-info 0:0:0 \ |
diff --git a/src/reclaim/plugin_rest_reclaim.c b/src/jsonapi/plugin_rest_reclaim.c index 38ffc4ddb..38ffc4ddb 100644 --- a/src/reclaim/plugin_rest_reclaim.c +++ b/src/jsonapi/plugin_rest_reclaim.c | |||
diff --git a/src/namestore/Makefile.am b/src/namestore/Makefile.am index 7f44c2a71..a349921d7 100644 --- a/src/namestore/Makefile.am +++ b/src/namestore/Makefile.am | |||
@@ -97,12 +97,6 @@ check_PROGRAMS = \ | |||
97 | $(FLAT_TESTS) | 97 | $(FLAT_TESTS) |
98 | endif | 98 | endif |
99 | 99 | ||
100 | if HAVE_MHD | ||
101 | if HAVE_JSON | ||
102 | REST_PLUGIN=libgnunet_plugin_rest_namestore.la | ||
103 | endif | ||
104 | endif | ||
105 | |||
106 | if ENABLE_TEST_RUN | 100 | if ENABLE_TEST_RUN |
107 | AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME; | 101 | AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME; |
108 | TESTS = \ | 102 | TESTS = \ |
@@ -186,8 +180,7 @@ gnunet_service_namestore_LDADD = \ | |||
186 | plugin_LTLIBRARIES = \ | 180 | plugin_LTLIBRARIES = \ |
187 | $(SQLITE_PLUGIN) \ | 181 | $(SQLITE_PLUGIN) \ |
188 | $(POSTGRES_PLUGIN) \ | 182 | $(POSTGRES_PLUGIN) \ |
189 | $(FLAT_PLUGIN) \ | 183 | $(FLAT_PLUGIN) |
190 | $(REST_PLUGIN) | ||
191 | 184 | ||
192 | 185 | ||
193 | 186 | ||
@@ -224,20 +217,6 @@ libgnunet_plugin_namestore_postgres_la_LIBADD = \ | |||
224 | libgnunet_plugin_namestore_postgres_la_LDFLAGS = \ | 217 | libgnunet_plugin_namestore_postgres_la_LDFLAGS = \ |
225 | $(GN_PLUGIN_LDFLAGS) $(POSTGRESQL_LDFLAGS) | 218 | $(GN_PLUGIN_LDFLAGS) $(POSTGRESQL_LDFLAGS) |
226 | 219 | ||
227 | libgnunet_plugin_rest_namestore_la_SOURCES = \ | ||
228 | plugin_rest_namestore.c | ||
229 | libgnunet_plugin_rest_namestore_la_LIBADD = \ | ||
230 | libgnunetnamestore.la \ | ||
231 | $(top_builddir)/src/rest/libgnunetrest.la \ | ||
232 | $(top_builddir)/src/identity/libgnunetidentity.la \ | ||
233 | $(top_builddir)/src/json/libgnunetjson.la \ | ||
234 | $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \ | ||
235 | $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) \ | ||
236 | $(LTLIBINTL) -ljansson -lmicrohttpd | ||
237 | libgnunet_plugin_rest_namestore_la_LDFLAGS = \ | ||
238 | $(GN_PLUGIN_LDFLAGS) | ||
239 | |||
240 | |||
241 | test_namestore_api_store_flat_SOURCES = \ | 220 | test_namestore_api_store_flat_SOURCES = \ |
242 | test_namestore_api_store.c | 221 | test_namestore_api_store.c |
243 | test_namestore_api_store_flat_LDADD = \ | 222 | test_namestore_api_store_flat_LDADD = \ |
diff --git a/src/peerinfo/Makefile.am b/src/peerinfo/Makefile.am index 5e96250b1..3f68becb5 100644 --- a/src/peerinfo/Makefile.am +++ b/src/peerinfo/Makefile.am | |||
@@ -27,8 +27,6 @@ libgnunetpeerinfo_la_SOURCES = \ | |||
27 | libgnunetpeerinfo_la_LIBADD = \ | 27 | libgnunetpeerinfo_la_LIBADD = \ |
28 | $(top_builddir)/src/hello/libgnunethello.la \ | 28 | $(top_builddir)/src/hello/libgnunethello.la \ |
29 | $(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 \ | ||
32 | $(XLIB) \ | 30 | $(XLIB) \ |
33 | $(LTLIBINTL) | 31 | $(LTLIBINTL) |
34 | libgnunetpeerinfo_la_LDFLAGS = \ | 32 | libgnunetpeerinfo_la_LDFLAGS = \ |
@@ -39,13 +37,6 @@ libgnunetpeerinfo_la_LDFLAGS = \ | |||
39 | libexec_PROGRAMS = \ | 37 | libexec_PROGRAMS = \ |
40 | gnunet-service-peerinfo | 38 | gnunet-service-peerinfo |
41 | 39 | ||
42 | if HAVE_MHD | ||
43 | if HAVE_JSON | ||
44 | plugin_LTLIBRARIES = \ | ||
45 | libgnunet_plugin_rest_peerinfo.la | ||
46 | endif | ||
47 | endif | ||
48 | |||
49 | gnunet_service_peerinfo_SOURCES = \ | 40 | gnunet_service_peerinfo_SOURCES = \ |
50 | gnunet-service-peerinfo.c | 41 | gnunet-service-peerinfo.c |
51 | gnunet_service_peerinfo_LDADD = \ | 42 | gnunet_service_peerinfo_LDADD = \ |
@@ -53,17 +44,6 @@ gnunet_service_peerinfo_LDADD = \ | |||
53 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ | 44 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ |
54 | $(top_builddir)/src/util/libgnunetutil.la | 45 | $(top_builddir)/src/util/libgnunetutil.la |
55 | 46 | ||
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) | ||
66 | |||
67 | if HAVE_BENCHMARKS | 47 | if HAVE_BENCHMARKS |
68 | PEERINFO_BENCHMARKS = \ | 48 | PEERINFO_BENCHMARKS = \ |
69 | perf_peerinfo_api | 49 | perf_peerinfo_api |
diff --git a/src/reclaim/Makefile.am b/src/reclaim/Makefile.am index 2ee43d21a..093442181 100644 --- a/src/reclaim/Makefile.am +++ b/src/reclaim/Makefile.am | |||
@@ -31,8 +31,6 @@ pkgcfg_DATA = \ | |||
31 | lib_LTLIBRARIES = \ | 31 | lib_LTLIBRARIES = \ |
32 | libgnunetreclaim.la | 32 | libgnunetreclaim.la |
33 | plugin_LTLIBRARIES = \ | 33 | plugin_LTLIBRARIES = \ |
34 | libgnunet_plugin_rest_reclaim.la \ | ||
35 | libgnunet_plugin_rest_openid_connect.la \ | ||
36 | libgnunet_plugin_gnsrecord_reclaim.la \ | 34 | libgnunet_plugin_gnsrecord_reclaim.la \ |
37 | $(SQLITE_PLUGIN) | 35 | $(SQLITE_PLUGIN) |
38 | 36 | ||
@@ -88,37 +86,6 @@ libgnunetreclaim_la_LDFLAGS = \ | |||
88 | $(GN_LIB_LDFLAGS) $(WINFLAGS) \ | 86 | $(GN_LIB_LDFLAGS) $(WINFLAGS) \ |
89 | -version-info 0:0:0 | 87 | -version-info 0:0:0 |
90 | 88 | ||
91 | libgnunet_plugin_rest_reclaim_la_SOURCES = \ | ||
92 | plugin_rest_reclaim.c | ||
93 | libgnunet_plugin_rest_reclaim_la_LIBADD = \ | ||
94 | $(top_builddir)/src/identity/libgnunetidentity.la \ | ||
95 | libgnunetreclaim.la \ | ||
96 | $(top_builddir)/src/rest/libgnunetrest.la \ | ||
97 | $(top_builddir)/src/jsonapi/libgnunetjsonapi.la \ | ||
98 | $(top_builddir)/src/reclaim-attribute/libgnunetreclaimattribute.la \ | ||
99 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | ||
100 | $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) \ | ||
101 | $(LTLIBINTL) -ljansson -lmicrohttpd | ||
102 | libgnunet_plugin_rest_reclaim_la_LDFLAGS = \ | ||
103 | $(GN_PLUGIN_LDFLAGS) | ||
104 | |||
105 | libgnunet_plugin_rest_openid_connect_la_SOURCES = \ | ||
106 | plugin_rest_openid_connect.c \ | ||
107 | oidc_helper.c | ||
108 | libgnunet_plugin_rest_openid_connect_la_LIBADD = \ | ||
109 | $(top_builddir)/src/identity/libgnunetidentity.la \ | ||
110 | libgnunetreclaim.la \ | ||
111 | $(top_builddir)/src/rest/libgnunetrest.la \ | ||
112 | $(top_builddir)/src/jsonapi/libgnunetjsonapi.la \ | ||
113 | $(top_builddir)/src/reclaim-attribute/libgnunetreclaimattribute.la \ | ||
114 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | ||
115 | $(top_builddir)/src/gns/libgnunetgns.la \ | ||
116 | $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \ | ||
117 | $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) \ | ||
118 | $(LTLIBINTL) -ljansson -lmicrohttpd | ||
119 | libgnunet_plugin_rest_openid_connect_la_LDFLAGS = \ | ||
120 | $(GN_PLUGIN_LDFLAGS) | ||
121 | |||
122 | gnunet_reclaim_SOURCES = \ | 89 | gnunet_reclaim_SOURCES = \ |
123 | gnunet-reclaim.c | 90 | gnunet-reclaim.c |
124 | gnunet_reclaim_LDADD = \ | 91 | gnunet_reclaim_LDADD = \ |
diff --git a/src/rest-plugins/Makefile.am b/src/rest-plugins/Makefile.am new file mode 100644 index 000000000..ae74dc78a --- /dev/null +++ b/src/rest-plugins/Makefile.am | |||
@@ -0,0 +1,102 @@ | |||
1 | # This Makefile.am is in the public domain | ||
2 | AM_CPPFLAGS = -I$(top_srcdir)/src/include | ||
3 | |||
4 | plugindir = $(libdir)/gnunet | ||
5 | |||
6 | pkgcfgdir= $(pkgdatadir)/config.d/ | ||
7 | |||
8 | libexecdir= $(pkglibdir)/libexec/ | ||
9 | |||
10 | |||
11 | if MINGW | ||
12 | WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols | ||
13 | endif | ||
14 | |||
15 | if USE_COVERAGE | ||
16 | AM_CFLAGS = --coverage -O0 | ||
17 | XLIBS = -lgcov | ||
18 | endif | ||
19 | |||
20 | plugin_LTLIBRARIES = \ | ||
21 | libgnunet_plugin_rest_copying.la \ | ||
22 | libgnunet_plugin_rest_peerinfo.la \ | ||
23 | libgnunet_plugin_rest_identity.la \ | ||
24 | libgnunet_plugin_rest_namestore.la \ | ||
25 | libgnunet_plugin_rest_gns.la \ | ||
26 | libgnunet_plugin_rest_openid_connect.la | ||
27 | |||
28 | |||
29 | libgnunet_plugin_rest_copying_la_SOURCES = \ | ||
30 | plugin_rest_copying.c | ||
31 | libgnunet_plugin_rest_copying_la_LIBADD = \ | ||
32 | $(top_builddir)/src/rest/libgnunetrest.la \ | ||
33 | $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) \ | ||
34 | $(LTLIBINTL) -lmicrohttpd | ||
35 | libgnunet_plugin_rest_copying_la_LDFLAGS = \ | ||
36 | $(GN_PLUGIN_LDFLAGS) | ||
37 | |||
38 | libgnunet_plugin_rest_peerinfo_la_SOURCES = \ | ||
39 | plugin_rest_peerinfo.c | ||
40 | libgnunet_plugin_rest_peerinfo_la_LIBADD = \ | ||
41 | $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \ | ||
42 | $(top_builddir)/src/rest/libgnunetrest.la \ | ||
43 | $(top_builddir)/src/json/libgnunetjson.la \ | ||
44 | $(top_builddir)/src/transport/libgnunettransport.la \ | ||
45 | $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) \ | ||
46 | $(LTLIBINTL) -ljansson -lmicrohttpd | ||
47 | libgnunet_plugin_rest_peerinfo_la_LDFLAGS = \ | ||
48 | $(GN_PLUGIN_LDFLAGS) | ||
49 | |||
50 | libgnunet_plugin_rest_identity_la_SOURCES = \ | ||
51 | plugin_rest_identity.c | ||
52 | libgnunet_plugin_rest_identity_la_LIBADD = \ | ||
53 | $(top_builddir)/src/identity/libgnunetidentity.la \ | ||
54 | $(top_builddir)/src/rest/libgnunetrest.la \ | ||
55 | $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) \ | ||
56 | $(LTLIBINTL) -ljansson -lmicrohttpd | ||
57 | libgnunet_plugin_rest_identity_la_LDFLAGS = \ | ||
58 | $(GN_PLUGIN_LDFLAGS) | ||
59 | |||
60 | |||
61 | |||
62 | libgnunet_plugin_rest_namestore_la_SOURCES = \ | ||
63 | plugin_rest_namestore.c | ||
64 | libgnunet_plugin_rest_namestore_la_LIBADD = \ | ||
65 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | ||
66 | $(top_builddir)/src/rest/libgnunetrest.la \ | ||
67 | $(top_builddir)/src/identity/libgnunetidentity.la \ | ||
68 | $(top_builddir)/src/json/libgnunetjson.la \ | ||
69 | $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \ | ||
70 | $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) \ | ||
71 | $(LTLIBINTL) -ljansson -lmicrohttpd | ||
72 | libgnunet_plugin_rest_namestore_la_LDFLAGS = \ | ||
73 | $(GN_PLUGIN_LDFLAGS) | ||
74 | |||
75 | libgnunet_plugin_rest_gns_la_SOURCES = \ | ||
76 | plugin_rest_gns.c | ||
77 | libgnunet_plugin_rest_gns_la_LIBADD = \ | ||
78 | $(top_builddir)/src/gns/libgnunetgns.la \ | ||
79 | $(top_builddir)/src/rest/libgnunetrest.la \ | ||
80 | $(top_builddir)/src/identity/libgnunetidentity.la \ | ||
81 | $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) \ | ||
82 | $(LTLIBINTL) -ljansson -lmicrohttpd | ||
83 | libgnunet_plugin_rest_gns_la_LDFLAGS = \ | ||
84 | $(GN_PLUGIN_LDFLAGS) | ||
85 | |||
86 | libgnunet_plugin_rest_openid_connect_la_SOURCES = \ | ||
87 | plugin_rest_openid_connect.c \ | ||
88 | oidc_helper.c | ||
89 | libgnunet_plugin_rest_openid_connect_la_LIBADD = \ | ||
90 | $(top_builddir)/src/identity/libgnunetidentity.la \ | ||
91 | $(top_builddir)/src/reclaim/libgnunetreclaim.la \ | ||
92 | $(top_builddir)/src/rest/libgnunetrest.la \ | ||
93 | $(top_builddir)/src/jsonapi/libgnunetjsonapi.la \ | ||
94 | $(top_builddir)/src/reclaim-attribute/libgnunetreclaimattribute.la \ | ||
95 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | ||
96 | $(top_builddir)/src/gns/libgnunetgns.la \ | ||
97 | $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \ | ||
98 | $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) \ | ||
99 | $(LTLIBINTL) -ljansson -lmicrohttpd | ||
100 | libgnunet_plugin_rest_openid_connect_la_LDFLAGS = \ | ||
101 | $(GN_PLUGIN_LDFLAGS) | ||
102 | |||
diff --git a/src/reclaim/oidc_helper.c b/src/rest-plugins/oidc_helper.c index 1e9e64fec..1e9e64fec 100644 --- a/src/reclaim/oidc_helper.c +++ b/src/rest-plugins/oidc_helper.c | |||
diff --git a/src/reclaim/oidc_helper.h b/src/rest-plugins/oidc_helper.h index 7a0f45bf9..7a0f45bf9 100644 --- a/src/reclaim/oidc_helper.h +++ b/src/rest-plugins/oidc_helper.h | |||
diff --git a/src/rest/plugin_rest_copying.c b/src/rest-plugins/plugin_rest_copying.c index 668dc5d38..668dc5d38 100644 --- a/src/rest/plugin_rest_copying.c +++ b/src/rest-plugins/plugin_rest_copying.c | |||
diff --git a/src/gns/plugin_rest_gns.c b/src/rest-plugins/plugin_rest_gns.c index 0bf4198fc..0bf4198fc 100644 --- a/src/gns/plugin_rest_gns.c +++ b/src/rest-plugins/plugin_rest_gns.c | |||
diff --git a/src/identity/plugin_rest_identity.c b/src/rest-plugins/plugin_rest_identity.c index 9f1765a63..9f1765a63 100644 --- a/src/identity/plugin_rest_identity.c +++ b/src/rest-plugins/plugin_rest_identity.c | |||
diff --git a/src/namestore/plugin_rest_namestore.c b/src/rest-plugins/plugin_rest_namestore.c index 1d72d13ff..1d72d13ff 100644 --- a/src/namestore/plugin_rest_namestore.c +++ b/src/rest-plugins/plugin_rest_namestore.c | |||
diff --git a/src/reclaim/plugin_rest_openid_connect.c b/src/rest-plugins/plugin_rest_openid_connect.c index 24673c692..24673c692 100644 --- a/src/reclaim/plugin_rest_openid_connect.c +++ b/src/rest-plugins/plugin_rest_openid_connect.c | |||
diff --git a/src/peerinfo/plugin_rest_peerinfo.c b/src/rest-plugins/plugin_rest_peerinfo.c index 29b40088d..29b40088d 100644 --- a/src/peerinfo/plugin_rest_peerinfo.c +++ b/src/rest-plugins/plugin_rest_peerinfo.c | |||
diff --git a/src/rest/Makefile.am b/src/rest/Makefile.am index f87335152..6c23ad2a6 100644 --- a/src/rest/Makefile.am +++ b/src/rest/Makefile.am | |||
@@ -10,7 +10,6 @@ libexecdir= $(pkglibdir)/libexec/ | |||
10 | pkgcfg_DATA = \ | 10 | pkgcfg_DATA = \ |
11 | rest.conf | 11 | rest.conf |
12 | 12 | ||
13 | |||
14 | if MINGW | 13 | if MINGW |
15 | WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols | 14 | WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols |
16 | endif | 15 | endif |
@@ -29,18 +28,6 @@ libexec_PROGRAMS = \ | |||
29 | EXTRA_DIST = \ | 28 | EXTRA_DIST = \ |
30 | rest.conf | 29 | rest.conf |
31 | 30 | ||
32 | plugin_LTLIBRARIES = libgnunet_plugin_rest_copying.la | ||
33 | |||
34 | libgnunet_plugin_rest_copying_la_SOURCES = \ | ||
35 | plugin_rest_copying.c | ||
36 | libgnunet_plugin_rest_copying_la_LIBADD = \ | ||
37 | libgnunetrest.la \ | ||
38 | $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) \ | ||
39 | $(LTLIBINTL) -lmicrohttpd | ||
40 | libgnunet_plugin_rest_copying_la_LDFLAGS = \ | ||
41 | $(GN_PLUGIN_LDFLAGS) | ||
42 | |||
43 | |||
44 | gnunet_rest_server_SOURCES = \ | 31 | gnunet_rest_server_SOURCES = \ |
45 | gnunet-rest-server.c | 32 | gnunet-rest-server.c |
46 | 33 | ||