aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSchanzenbach, Martin <martin.schanzenbach@aisec.fraunhofer.de>2018-08-13 08:51:19 +0200
committerSchanzenbach, Martin <martin.schanzenbach@aisec.fraunhofer.de>2018-08-13 08:51:19 +0200
commit6371b64774428e83ff83ada88bda354356718aca (patch)
treea2a68aafcf1f6faa8a84648baaf0731da1136346
parent6656d6c3e7111075572c042ae714c9710f30273b (diff)
downloadgnunet-6371b64774428e83ff83ada88bda354356718aca.tar.gz
gnunet-6371b64774428e83ff83ada88bda354356718aca.zip
fix build; move rest plugins to separate folder
-rw-r--r--configure.ac1
-rw-r--r--po/POTFILES.in132
-rw-r--r--src/Makefile.am8
-rw-r--r--src/gns/Makefile.am19
-rw-r--r--src/identity/Makefile.am19
-rw-r--r--src/jsonapi/Makefile.am18
-rw-r--r--src/jsonapi/plugin_rest_reclaim.c (renamed from src/reclaim/plugin_rest_reclaim.c)0
-rw-r--r--src/namestore/Makefile.am23
-rw-r--r--src/peerinfo/Makefile.am20
-rw-r--r--src/reclaim/Makefile.am33
-rw-r--r--src/rest-plugins/Makefile.am102
-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.am13
20 files changed, 190 insertions, 198 deletions
diff --git a/configure.ac b/configure.ac
index 535ce0ffe..6a75b1ebf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1758,6 +1758,7 @@ src/vpn/vpn.conf
1758src/zonemaster/Makefile 1758src/zonemaster/Makefile
1759src/zonemaster/zonemaster.conf 1759src/zonemaster/zonemaster.conf
1760src/rest/Makefile 1760src/rest/Makefile
1761src/rest-plugins/Makefile
1761src/abe/Makefile 1762src/abe/Makefile
1762src/reclaim-attribute/Makefile 1763src/reclaim-attribute/Makefile
1763src/reclaim/Makefile 1764src/reclaim/Makefile
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 070ecc4ce..a1cdac7f2 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -4,13 +4,21 @@ src/arm/arm_monitor_api.c
4src/arm/gnunet-arm.c 4src/arm/gnunet-arm.c
5src/arm/gnunet-service-arm.c 5src/arm/gnunet-service-arm.c
6src/arm/mockup-service.c 6src/arm/mockup-service.c
7src/ats-tests/ats-testing-experiment.c
8src/ats-tests/ats-testing-log.c
9src/ats-tests/ats-testing-preferences.c
10src/ats-tests/ats-testing-traffic.c
11src/ats-tests/ats-testing.c
12src/ats-tests/gnunet-ats-sim.c
13src/ats-tests/gnunet-solver-eval.c
14src/ats-tool/gnunet-ats.c
7src/ats/ats_api_connectivity.c 15src/ats/ats_api_connectivity.c
8src/ats/ats_api_performance.c 16src/ats/ats_api_performance.c
9src/ats/ats_api_scanner.c 17src/ats/ats_api_scanner.c
10src/ats/ats_api_scheduling.c 18src/ats/ats_api_scheduling.c
11src/ats/gnunet-ats-solver-eval.c 19src/ats/gnunet-ats-solver-eval.c
12src/ats/gnunet-service-ats_addresses.c
13src/ats/gnunet-service-ats.c 20src/ats/gnunet-service-ats.c
21src/ats/gnunet-service-ats_addresses.c
14src/ats/gnunet-service-ats_connectivity.c 22src/ats/gnunet-service-ats_connectivity.c
15src/ats/gnunet-service-ats_normalization.c 23src/ats/gnunet-service-ats_normalization.c
16src/ats/gnunet-service-ats_performance.c 24src/ats/gnunet-service-ats_performance.c
@@ -21,14 +29,6 @@ src/ats/gnunet-service-ats_scheduling.c
21src/ats/plugin_ats_mlp.c 29src/ats/plugin_ats_mlp.c
22src/ats/plugin_ats_proportional.c 30src/ats/plugin_ats_proportional.c
23src/ats/plugin_ats_ril.c 31src/ats/plugin_ats_ril.c
24src/ats-tests/ats-testing.c
25src/ats-tests/ats-testing-experiment.c
26src/ats-tests/ats-testing-log.c
27src/ats-tests/ats-testing-preferences.c
28src/ats-tests/ats-testing-traffic.c
29src/ats-tests/gnunet-ats-sim.c
30src/ats-tests/gnunet-solver-eval.c
31src/ats-tool/gnunet-ats.c
32src/auction/gnunet-auction-create.c 32src/auction/gnunet-auction-create.c
33src/auction/gnunet-auction-info.c 33src/auction/gnunet-auction-info.c
34src/auction/gnunet-auction-join.c 34src/auction/gnunet-auction-join.c
@@ -40,8 +40,8 @@ src/block/plugin_block_test.c
40src/cadet/cadet_api.c 40src/cadet/cadet_api.c
41src/cadet/cadet_test_lib.c 41src/cadet/cadet_test_lib.c
42src/cadet/desirability_table.c 42src/cadet/desirability_table.c
43src/cadet/gnunet-cadet.c
44src/cadet/gnunet-cadet-profiler.c 43src/cadet/gnunet-cadet-profiler.c
44src/cadet/gnunet-cadet.c
45src/cadet/gnunet-service-cadet.c 45src/cadet/gnunet-service-cadet.c
46src/cadet/gnunet-service-cadet_channel.c 46src/cadet/gnunet-service-cadet_channel.c
47src/cadet/gnunet-service-cadet_connection.c 47src/cadet/gnunet-service-cadet_connection.c
@@ -57,15 +57,15 @@ src/consensus/gnunet-service-consensus.c
57src/consensus/plugin_block_consensus.c 57src/consensus/plugin_block_consensus.c
58src/conversation/conversation_api.c 58src/conversation/conversation_api.c
59src/conversation/conversation_api_call.c 59src/conversation/conversation_api_call.c
60src/conversation/gnunet-conversation.c
61src/conversation/gnunet-conversation-test.c 60src/conversation/gnunet-conversation-test.c
62src/conversation/gnunet_gst.c 61src/conversation/gnunet-conversation.c
63src/conversation/gnunet_gst_test.c
64src/conversation/gnunet-helper-audio-playback.c
65src/conversation/gnunet-helper-audio-playback-gst.c 62src/conversation/gnunet-helper-audio-playback-gst.c
66src/conversation/gnunet-helper-audio-record.c 63src/conversation/gnunet-helper-audio-playback.c
67src/conversation/gnunet-helper-audio-record-gst.c 64src/conversation/gnunet-helper-audio-record-gst.c
65src/conversation/gnunet-helper-audio-record.c
68src/conversation/gnunet-service-conversation.c 66src/conversation/gnunet-service-conversation.c
67src/conversation/gnunet_gst.c
68src/conversation/gnunet_gst_test.c
69src/conversation/microphone.c 69src/conversation/microphone.c
70src/conversation/plugin_gnsrecord_conversation.c 70src/conversation/plugin_gnsrecord_conversation.c
71src/conversation/speaker.c 71src/conversation/speaker.c
@@ -102,7 +102,6 @@ src/dht/dht_api.c
102src/dht/dht_test_lib.c 102src/dht/dht_test_lib.c
103src/dht/gnunet-dht-get.c 103src/dht/gnunet-dht-get.c
104src/dht/gnunet-dht-monitor.c 104src/dht/gnunet-dht-monitor.c
105src/dht/gnunet_dht_profiler.c
106src/dht/gnunet-dht-put.c 105src/dht/gnunet-dht-put.c
107src/dht/gnunet-service-dht.c 106src/dht/gnunet-service-dht.c
108src/dht/gnunet-service-dht_clients.c 107src/dht/gnunet-service-dht_clients.c
@@ -111,6 +110,7 @@ src/dht/gnunet-service-dht_hello.c
111src/dht/gnunet-service-dht_neighbours.c 110src/dht/gnunet-service-dht_neighbours.c
112src/dht/gnunet-service-dht_nse.c 111src/dht/gnunet-service-dht_nse.c
113src/dht/gnunet-service-dht_routing.c 112src/dht/gnunet-service-dht_routing.c
113src/dht/gnunet_dht_profiler.c
114src/dht/plugin_block_dht.c 114src/dht/plugin_block_dht.c
115src/dns/dns_api.c 115src/dns/dns_api.c
116src/dns/gnunet-dns-monitor.c 116src/dns/gnunet-dns-monitor.c
@@ -124,8 +124,8 @@ src/dv/gnunet-dv.c
124src/dv/gnunet-service-dv.c 124src/dv/gnunet-service-dv.c
125src/dv/plugin_transport_dv.c 125src/dv/plugin_transport_dv.c
126src/exit/gnunet-daemon-exit.c 126src/exit/gnunet-daemon-exit.c
127src/exit/gnunet-helper-exit.c
128src/exit/gnunet-helper-exit-windows.c 127src/exit/gnunet-helper-exit-windows.c
128src/exit/gnunet-helper-exit.c
129src/fragmentation/defragmentation.c 129src/fragmentation/defragmentation.c
130src/fragmentation/fragmentation.c 130src/fragmentation/fragmentation.c
131src/fs/fs_api.c 131src/fs/fs_api.c
@@ -150,8 +150,8 @@ src/fs/gnunet-auto-share.c
150src/fs/gnunet-daemon-fsprofiler.c 150src/fs/gnunet-daemon-fsprofiler.c
151src/fs/gnunet-directory.c 151src/fs/gnunet-directory.c
152src/fs/gnunet-download.c 152src/fs/gnunet-download.c
153src/fs/gnunet-fs.c
154src/fs/gnunet-fs-profiler.c 153src/fs/gnunet-fs-profiler.c
154src/fs/gnunet-fs.c
155src/fs/gnunet-helper-fs-publish.c 155src/fs/gnunet-helper-fs-publish.c
156src/fs/gnunet-publish.c 156src/fs/gnunet-publish.c
157src/fs/gnunet-search.c 157src/fs/gnunet-search.c
@@ -171,10 +171,10 @@ src/gns/gns_tld_api.c
171src/gns/gnunet-bcd.c 171src/gns/gnunet-bcd.c
172src/gns/gnunet-dns2gns.c 172src/gns/gnunet-dns2gns.c
173src/gns/gnunet-gns-benchmark.c 173src/gns/gnunet-gns-benchmark.c
174src/gns/gnunet-gns.c
175src/gns/gnunet-gns-helper-service-w32.c 174src/gns/gnunet-gns-helper-service-w32.c
176src/gns/gnunet-gns-import.c 175src/gns/gnunet-gns-import.c
177src/gns/gnunet-gns-proxy.c 176src/gns/gnunet-gns-proxy.c
177src/gns/gnunet-gns.c
178src/gns/gnunet-service-gns.c 178src/gns/gnunet-service-gns.c
179src/gns/gnunet-service-gns_interceptor.c 179src/gns/gnunet-service-gns_interceptor.c
180src/gns/gnunet-service-gns_resolver.c 180src/gns/gnunet-service-gns_resolver.c
@@ -182,16 +182,15 @@ src/gns/nss/nss_gns.c
182src/gns/nss/nss_gns_query.c 182src/gns/nss/nss_gns_query.c
183src/gns/plugin_block_gns.c 183src/gns/plugin_block_gns.c
184src/gns/plugin_gnsrecord_gns.c 184src/gns/plugin_gnsrecord_gns.c
185src/gns/plugin_rest_gns.c 185src/gns/w32nsp-install.c
186src/gns/w32nsp-resolve.c
187src/gns/w32nsp-uninstall.c
188src/gns/w32nsp.c
186src/gnsrecord/gnsrecord.c 189src/gnsrecord/gnsrecord.c
187src/gnsrecord/gnsrecord_crypto.c 190src/gnsrecord/gnsrecord_crypto.c
188src/gnsrecord/gnsrecord_misc.c 191src/gnsrecord/gnsrecord_misc.c
189src/gnsrecord/gnsrecord_serialization.c 192src/gnsrecord/gnsrecord_serialization.c
190src/gnsrecord/plugin_gnsrecord_dns.c 193src/gnsrecord/plugin_gnsrecord_dns.c
191src/gns/w32nsp.c
192src/gns/w32nsp-install.c
193src/gns/w32nsp-resolve.c
194src/gns/w32nsp-uninstall.c
195src/hello/address.c 194src/hello/address.c
196src/hello/gnunet-hello.c 195src/hello/gnunet-hello.c
197src/hello/hello.c 196src/hello/hello.c
@@ -202,17 +201,18 @@ src/identity/gnunet-identity.c
202src/identity/gnunet-service-identity.c 201src/identity/gnunet-service-identity.c
203src/identity/identity_api.c 202src/identity/identity_api.c
204src/identity/identity_api_lookup.c 203src/identity/identity_api_lookup.c
205src/identity/plugin_rest_identity.c
206src/jsonapi/jsonapi.c
207src/jsonapi/jsonapi_document.c
208src/jsonapi/jsonapi_error.c
209src/jsonapi/jsonapi_relationship.c
210src/jsonapi/jsonapi_resource.c
211src/json/json.c 204src/json/json.c
212src/json/json_generator.c 205src/json/json_generator.c
213src/json/json_gnsrecord.c 206src/json/json_gnsrecord.c
214src/json/json_helper.c 207src/json/json_helper.c
215src/json/json_mhd.c 208src/json/json_mhd.c
209src/jsonapi/jsonapi.c
210src/jsonapi/jsonapi_document.c
211src/jsonapi/jsonapi_error.c
212src/jsonapi/jsonapi_relationship.c
213src/jsonapi/jsonapi_resource.c
214src/jsonapi/plugin_rest_openid_connect.c
215src/jsonapi/plugin_rest_reclaim.c
216src/multicast/gnunet-multicast.c 216src/multicast/gnunet-multicast.c
217src/multicast/gnunet-service-multicast.c 217src/multicast/gnunet-service-multicast.c
218src/multicast/multicast_api.c 218src/multicast/multicast_api.c
@@ -226,8 +226,8 @@ src/namecache/namecache_api.c
226src/namecache/plugin_namecache_flat.c 226src/namecache/plugin_namecache_flat.c
227src/namecache/plugin_namecache_postgres.c 227src/namecache/plugin_namecache_postgres.c
228src/namecache/plugin_namecache_sqlite.c 228src/namecache/plugin_namecache_sqlite.c
229src/namestore/gnunet-namestore.c
230src/namestore/gnunet-namestore-fcfsd.c 229src/namestore/gnunet-namestore-fcfsd.c
230src/namestore/gnunet-namestore.c
231src/namestore/gnunet-service-namestore.c 231src/namestore/gnunet-service-namestore.c
232src/namestore/gnunet-zoneimport.c 232src/namestore/gnunet-zoneimport.c
233src/namestore/namestore_api.c 233src/namestore/namestore_api.c
@@ -235,7 +235,6 @@ src/namestore/namestore_api_monitor.c
235src/namestore/plugin_namestore_flat.c 235src/namestore/plugin_namestore_flat.c
236src/namestore/plugin_namestore_postgres.c 236src/namestore/plugin_namestore_postgres.c
237src/namestore/plugin_namestore_sqlite.c 237src/namestore/plugin_namestore_sqlite.c
238src/namestore/plugin_rest_namestore.c
239src/nat-auto/gnunet-nat-auto.c 238src/nat-auto/gnunet-nat-auto.c
240src/nat-auto/gnunet-nat-auto_legacy.c 239src/nat-auto/gnunet-nat-auto_legacy.c
241src/nat-auto/gnunet-nat-server.c 240src/nat-auto/gnunet-nat-server.c
@@ -243,10 +242,10 @@ src/nat-auto/gnunet-service-nat-auto.c
243src/nat-auto/gnunet-service-nat-auto_legacy.c 242src/nat-auto/gnunet-service-nat-auto_legacy.c
244src/nat-auto/nat_auto_api.c 243src/nat-auto/nat_auto_api.c
245src/nat-auto/nat_auto_api_test.c 244src/nat-auto/nat_auto_api_test.c
246src/nat/gnunet-helper-nat-client.c
247src/nat/gnunet-helper-nat-client-windows.c 245src/nat/gnunet-helper-nat-client-windows.c
248src/nat/gnunet-helper-nat-server.c 246src/nat/gnunet-helper-nat-client.c
249src/nat/gnunet-helper-nat-server-windows.c 247src/nat/gnunet-helper-nat-server-windows.c
248src/nat/gnunet-helper-nat-server.c
250src/nat/gnunet-nat.c 249src/nat/gnunet-nat.c
251src/nat/gnunet-service-nat.c 250src/nat/gnunet-service-nat.c
252src/nat/gnunet-service-nat_externalip.c 251src/nat/gnunet-service-nat_externalip.c
@@ -255,16 +254,15 @@ src/nat/gnunet-service-nat_mini.c
255src/nat/gnunet-service-nat_stun.c 254src/nat/gnunet-service-nat_stun.c
256src/nat/nat_api.c 255src/nat/nat_api.c
257src/nat/nat_api_stun.c 256src/nat/nat_api_stun.c
258src/nse/gnunet-nse.c
259src/nse/gnunet-nse-profiler.c 257src/nse/gnunet-nse-profiler.c
258src/nse/gnunet-nse.c
260src/nse/gnunet-service-nse.c 259src/nse/gnunet-service-nse.c
261src/nse/nse_api.c 260src/nse/nse_api.c
261src/peerinfo-tool/gnunet-peerinfo.c
262src/peerinfo-tool/gnunet-peerinfo_plugins.c
262src/peerinfo/gnunet-service-peerinfo.c 263src/peerinfo/gnunet-service-peerinfo.c
263src/peerinfo/peerinfo_api.c 264src/peerinfo/peerinfo_api.c
264src/peerinfo/peerinfo_api_notify.c 265src/peerinfo/peerinfo_api_notify.c
265src/peerinfo/plugin_rest_peerinfo.c
266src/peerinfo-tool/gnunet-peerinfo.c
267src/peerinfo-tool/gnunet-peerinfo_plugins.c
268src/peerstore/gnunet-peerstore.c 266src/peerstore/gnunet-peerstore.c
269src/peerstore/gnunet-service-peerstore.c 267src/peerstore/gnunet-service-peerstore.c
270src/peerstore/peerstore_api.c 268src/peerstore/peerstore_api.c
@@ -297,8 +295,6 @@ src/reclaim/jwt.c
297src/reclaim/oidc_helper.c 295src/reclaim/oidc_helper.c
298src/reclaim/plugin_gnsrecord_reclaim.c 296src/reclaim/plugin_gnsrecord_reclaim.c
299src/reclaim/plugin_reclaim_sqlite.c 297src/reclaim/plugin_reclaim_sqlite.c
300src/reclaim/plugin_rest_openid_connect.c
301src/reclaim/plugin_rest_reclaim.c
302src/reclaim/reclaim_api.c 298src/reclaim/reclaim_api.c
303src/regex/gnunet-daemon-regexprofiler.c 299src/regex/gnunet-daemon-regexprofiler.c
304src/regex/gnunet-regex-profiler.c 300src/regex/gnunet-regex-profiler.c
@@ -314,27 +310,31 @@ src/regex/regex_internal_dht.c
314src/regex/regex_test_graph.c 310src/regex/regex_test_graph.c
315src/regex/regex_test_lib.c 311src/regex/regex_test_lib.c
316src/regex/regex_test_random.c 312src/regex/regex_test_random.c
313src/rest-plugins/plugin_rest_copying.c
314src/rest-plugins/plugin_rest_gns.c
315src/rest-plugins/plugin_rest_identity.c
316src/rest-plugins/plugin_rest_namestore.c
317src/rest-plugins/plugin_rest_peerinfo.c
317src/rest/gnunet-rest-server.c 318src/rest/gnunet-rest-server.c
318src/rest/plugin_rest_copying.c
319src/rest/rest.c 319src/rest/rest.c
320src/revocation/gnunet-revocation.c 320src/revocation/gnunet-revocation.c
321src/revocation/gnunet-service-revocation.c 321src/revocation/gnunet-service-revocation.c
322src/revocation/plugin_block_revocation.c 322src/revocation/plugin_block_revocation.c
323src/revocation/revocation_api.c 323src/revocation/revocation_api.c
324src/rps/gnunet-rps.c
325src/rps/gnunet-rps-profiler.c 324src/rps/gnunet-rps-profiler.c
325src/rps/gnunet-rps.c
326src/rps/gnunet-service-rps.c 326src/rps/gnunet-service-rps.c
327src/rps/gnunet-service-rps_custommap.c 327src/rps/gnunet-service-rps_custommap.c
328src/rps/gnunet-service-rps_sampler.c 328src/rps/gnunet-service-rps_sampler.c
329src/rps/gnunet-service-rps_sampler_elem.c 329src/rps/gnunet-service-rps_sampler_elem.c
330src/rps/gnunet-service-rps_view.c 330src/rps/gnunet-service-rps_view.c
331src/rps/rps_api.c
332src/rps/rps-test_util.c 331src/rps/rps-test_util.c
332src/rps/rps_api.c
333src/scalarproduct/gnunet-scalarproduct.c 333src/scalarproduct/gnunet-scalarproduct.c
334src/scalarproduct/gnunet-service-scalarproduct_alice.c
335src/scalarproduct/gnunet-service-scalarproduct_bob.c
336src/scalarproduct/gnunet-service-scalarproduct-ecc_alice.c 334src/scalarproduct/gnunet-service-scalarproduct-ecc_alice.c
337src/scalarproduct/gnunet-service-scalarproduct-ecc_bob.c 335src/scalarproduct/gnunet-service-scalarproduct-ecc_bob.c
336src/scalarproduct/gnunet-service-scalarproduct_alice.c
337src/scalarproduct/gnunet-service-scalarproduct_bob.c
338src/scalarproduct/scalarproduct_api.c 338src/scalarproduct/scalarproduct_api.c
339src/secretsharing/gnunet-secretsharing-profiler.c 339src/secretsharing/gnunet-secretsharing-profiler.c
340src/secretsharing/gnunet-service-secretsharing.c 340src/secretsharing/gnunet-service-secretsharing.c
@@ -363,15 +363,16 @@ src/statistics/gnunet-statistics.c
363src/statistics/statistics_api.c 363src/statistics/statistics_api.c
364src/template/gnunet-service-template.c 364src/template/gnunet-service-template.c
365src/template/gnunet-template.c 365src/template/gnunet-template.c
366src/testbed-logger/gnunet-service-testbed-logger.c
367src/testbed-logger/testbed_logger_api.c
366src/testbed/generate-underlay-topology.c 368src/testbed/generate-underlay-topology.c
367src/testbed/gnunet-daemon-latency-logger.c 369src/testbed/gnunet-daemon-latency-logger.c
368src/testbed/gnunet-daemon-testbed-blacklist.c 370src/testbed/gnunet-daemon-testbed-blacklist.c
369src/testbed/gnunet-daemon-testbed-underlay.c 371src/testbed/gnunet-daemon-testbed-underlay.c
370src/testbed/gnunet-helper-testbed.c 372src/testbed/gnunet-helper-testbed.c
371src/testbed/gnunet_mpi_test.c
372src/testbed/gnunet-service-test-barriers.c 373src/testbed/gnunet-service-test-barriers.c
373src/testbed/gnunet-service-testbed_barriers.c
374src/testbed/gnunet-service-testbed.c 374src/testbed/gnunet-service-testbed.c
375src/testbed/gnunet-service-testbed_barriers.c
375src/testbed/gnunet-service-testbed_cache.c 376src/testbed/gnunet-service-testbed_cache.c
376src/testbed/gnunet-service-testbed_connectionpool.c 377src/testbed/gnunet-service-testbed_connectionpool.c
377src/testbed/gnunet-service-testbed_cpustatus.c 378src/testbed/gnunet-service-testbed_cpustatus.c
@@ -379,20 +380,19 @@ src/testbed/gnunet-service-testbed_links.c
379src/testbed/gnunet-service-testbed_meminfo.c 380src/testbed/gnunet-service-testbed_meminfo.c
380src/testbed/gnunet-service-testbed_oc.c 381src/testbed/gnunet-service-testbed_oc.c
381src/testbed/gnunet-service-testbed_peers.c 382src/testbed/gnunet-service-testbed_peers.c
382src/testbed/gnunet_testbed_mpi_spawn.c
383src/testbed/gnunet-testbed-profiler.c 383src/testbed/gnunet-testbed-profiler.c
384src/testbed-logger/gnunet-service-testbed-logger.c 384src/testbed/gnunet_mpi_test.c
385src/testbed-logger/testbed_logger_api.c 385src/testbed/gnunet_testbed_mpi_spawn.c
386src/testbed/testbed_api_barriers.c
387src/testbed/testbed_api.c 386src/testbed/testbed_api.c
387src/testbed/testbed_api_barriers.c
388src/testbed/testbed_api_hosts.c 388src/testbed/testbed_api_hosts.c
389src/testbed/testbed_api_operations.c 389src/testbed/testbed_api_operations.c
390src/testbed/testbed_api_peers.c 390src/testbed/testbed_api_peers.c
391src/testbed/testbed_api_sd.c 391src/testbed/testbed_api_sd.c
392src/testbed/testbed_api_services.c 392src/testbed/testbed_api_services.c
393src/testbed/testbed_api_statistics.c 393src/testbed/testbed_api_statistics.c
394src/testbed/testbed_api_testbed.c
395src/testbed/testbed_api_test.c 394src/testbed/testbed_api_test.c
395src/testbed/testbed_api_testbed.c
396src/testbed/testbed_api_topology.c 396src/testbed/testbed_api_topology.c
397src/testbed/testbed_api_underlay.c 397src/testbed/testbed_api_underlay.c
398src/testing/gnunet-testing.c 398src/testing/gnunet-testing.c
@@ -401,28 +401,28 @@ src/testing/testing.c
401src/topology/friends.c 401src/topology/friends.c
402src/topology/gnunet-daemon-topology.c 402src/topology/gnunet-daemon-topology.c
403src/transport/gnunet-helper-transport-bluetooth.c 403src/transport/gnunet-helper-transport-bluetooth.c
404src/transport/gnunet-helper-transport-wlan.c
405src/transport/gnunet-helper-transport-wlan-dummy.c 404src/transport/gnunet-helper-transport-wlan-dummy.c
406src/transport/gnunet-service-transport_ats.c 405src/transport/gnunet-helper-transport-wlan.c
407src/transport/gnunet-service-transport.c 406src/transport/gnunet-service-transport.c
407src/transport/gnunet-service-transport_ats.c
408src/transport/gnunet-service-transport_hello.c 408src/transport/gnunet-service-transport_hello.c
409src/transport/gnunet-service-transport_manipulation.c 409src/transport/gnunet-service-transport_manipulation.c
410src/transport/gnunet-service-transport_neighbours.c 410src/transport/gnunet-service-transport_neighbours.c
411src/transport/gnunet-service-transport_plugins.c 411src/transport/gnunet-service-transport_plugins.c
412src/transport/gnunet-service-transport_validation.c 412src/transport/gnunet-service-transport_validation.c
413src/transport/gnunet-transport.c
414src/transport/gnunet-transport-certificate-creation.c 413src/transport/gnunet-transport-certificate-creation.c
415src/transport/gnunet-transport-profiler.c 414src/transport/gnunet-transport-profiler.c
416src/transport/gnunet-transport-wlan-receiver.c 415src/transport/gnunet-transport-wlan-receiver.c
417src/transport/gnunet-transport-wlan-sender.c 416src/transport/gnunet-transport-wlan-sender.c
417src/transport/gnunet-transport.c
418src/transport/plugin_transport_http_client.c 418src/transport/plugin_transport_http_client.c
419src/transport/plugin_transport_http_common.c 419src/transport/plugin_transport_http_common.c
420src/transport/plugin_transport_http_server.c 420src/transport/plugin_transport_http_server.c
421src/transport/plugin_transport_smtp.c 421src/transport/plugin_transport_smtp.c
422src/transport/plugin_transport_tcp.c 422src/transport/plugin_transport_tcp.c
423src/transport/plugin_transport_template.c 423src/transport/plugin_transport_template.c
424src/transport/plugin_transport_udp_broadcasting.c
425src/transport/plugin_transport_udp.c 424src/transport/plugin_transport_udp.c
425src/transport/plugin_transport_udp_broadcasting.c
426src/transport/plugin_transport_unix.c 426src/transport/plugin_transport_unix.c
427src/transport/plugin_transport_wlan.c 427src/transport/plugin_transport_wlan.c
428src/transport/plugin_transport_xt.c 428src/transport/plugin_transport_xt.c
@@ -431,6 +431,11 @@ src/transport/tcp_connection_legacy.c
431src/transport/tcp_server_legacy.c 431src/transport/tcp_server_legacy.c
432src/transport/tcp_server_mst_legacy.c 432src/transport/tcp_server_mst_legacy.c
433src/transport/tcp_service_legacy.c 433src/transport/tcp_service_legacy.c
434src/transport/transport-testing-filenames.c
435src/transport/transport-testing-loggers.c
436src/transport/transport-testing-main.c
437src/transport/transport-testing-send.c
438src/transport/transport-testing.c
434src/transport/transport_api_address_to_string.c 439src/transport/transport_api_address_to_string.c
435src/transport/transport_api_blacklist.c 440src/transport/transport_api_blacklist.c
436src/transport/transport_api_core.c 441src/transport/transport_api_core.c
@@ -439,11 +444,6 @@ src/transport/transport_api_manipulation.c
439src/transport/transport_api_monitor_peers.c 444src/transport/transport_api_monitor_peers.c
440src/transport/transport_api_monitor_plugins.c 445src/transport/transport_api_monitor_plugins.c
441src/transport/transport_api_offer_hello.c 446src/transport/transport_api_offer_hello.c
442src/transport/transport-testing.c
443src/transport/transport-testing-filenames.c
444src/transport/transport-testing-loggers.c
445src/transport/transport-testing-main.c
446src/transport/transport-testing-send.c
447src/util/bandwidth.c 447src/util/bandwidth.c
448src/util/bio.c 448src/util/bio.c
449src/util/client.c 449src/util/client.c
@@ -455,8 +455,8 @@ src/util/configuration_loader.c
455src/util/container_bloomfilter.c 455src/util/container_bloomfilter.c
456src/util/container_heap.c 456src/util/container_heap.c
457src/util/container_meta_data.c 457src/util/container_meta_data.c
458src/util/container_multihashmap32.c
459src/util/container_multihashmap.c 458src/util/container_multihashmap.c
459src/util/container_multihashmap32.c
460src/util/container_multipeermap.c 460src/util/container_multipeermap.c
461src/util/container_multishortmap.c 461src/util/container_multishortmap.c
462src/util/crypto_abe.c 462src/util/crypto_abe.c
@@ -478,15 +478,15 @@ src/util/dnsparser.c
478src/util/dnsstub.c 478src/util/dnsstub.c
479src/util/getopt.c 479src/util/getopt.c
480src/util/getopt_helpers.c 480src/util/getopt_helpers.c
481src/util/gnunet-config.c
482src/util/gnunet-config-diff.c 481src/util/gnunet-config-diff.c
482src/util/gnunet-config.c
483src/util/gnunet-ecc.c 483src/util/gnunet-ecc.c
484src/util/gnunet-helper-w32-console.c 484src/util/gnunet-helper-w32-console.c
485src/util/gnunet-resolver.c 485src/util/gnunet-resolver.c
486src/util/gnunet-scrypt.c 486src/util/gnunet-scrypt.c
487src/util/gnunet-service-resolver.c 487src/util/gnunet-service-resolver.c
488src/util/gnunet-timeout.c
489src/util/gnunet-timeout-w32.c 488src/util/gnunet-timeout-w32.c
489src/util/gnunet-timeout.c
490src/util/gnunet-uri.c 490src/util/gnunet-uri.c
491src/util/helper.c 491src/util/helper.c
492src/util/load.c 492src/util/load.c
@@ -514,13 +514,13 @@ src/util/tun.c
514src/util/w32cat.c 514src/util/w32cat.c
515src/util/win.c 515src/util/win.c
516src/util/winproc.c 516src/util/winproc.c
517src/vpn/gnunet-helper-vpn.c
518src/vpn/gnunet-helper-vpn-windows.c 517src/vpn/gnunet-helper-vpn-windows.c
518src/vpn/gnunet-helper-vpn.c
519src/vpn/gnunet-service-vpn.c 519src/vpn/gnunet-service-vpn.c
520src/vpn/gnunet-vpn.c 520src/vpn/gnunet-vpn.c
521src/vpn/vpn_api.c 521src/vpn/vpn_api.c
522src/zonemaster/gnunet-service-zonemaster.c
523src/zonemaster/gnunet-service-zonemaster-monitor.c 522src/zonemaster/gnunet-service-zonemaster-monitor.c
523src/zonemaster/gnunet-service-zonemaster.c
524src/fs/fs_api.h 524src/fs/fs_api.h
525src/include/gnunet_common.h 525src/include/gnunet_common.h
526src/include/gnunet_mq_lib.h 526src/include/gnunet_mq_lib.h
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
65endif 65endif
66 66
67if HAVE_MHD 67if HAVE_MHD
68 REST_DIR = rest
69if HAVE_JSON 68if HAVE_JSON
70 JSONAPI_DIR = jsonapi 69 REST_DIR = rest jsonapi rest-plugins
71endif 70endif
72endif 71endif
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
95if HAVE_MHD
96if HAVE_JSON
97plugin_LTLIBRARIES += libgnunet_plugin_rest_gns.la
98endif
99endif
100
101libgnunet_plugin_gnsrecord_gns_la_SOURCES = \ 95libgnunet_plugin_gnsrecord_gns_la_SOURCES = \
102 plugin_gnsrecord_gns.c 96 plugin_gnsrecord_gns.c
103libgnunet_plugin_gnsrecord_gns_la_LIBADD = \ 97libgnunet_plugin_gnsrecord_gns_la_LIBADD = \
@@ -238,19 +232,6 @@ libgnunet_plugin_block_gns_la_LIBADD = \
238libgnunet_plugin_block_gns_la_LDFLAGS = \ 232libgnunet_plugin_block_gns_la_LDFLAGS = \
239 $(GN_PLUGIN_LDFLAGS) 233 $(GN_PLUGIN_LDFLAGS)
240 234
241libgnunet_plugin_rest_gns_la_SOURCES = \
242 plugin_rest_gns.c
243libgnunet_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
251libgnunet_plugin_rest_gns_la_LDFLAGS = \
252 $(GN_PLUGIN_LDFLAGS)
253
254 235
255check_SCRIPTS = \ 236check_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 = \
39libexec_PROGRAMS = \ 39libexec_PROGRAMS = \
40 gnunet-service-identity 40 gnunet-service-identity
41 41
42if HAVE_MHD
43if HAVE_JSON
44plugin_LTLIBRARIES = \
45 libgnunet_plugin_rest_identity.la
46endif
47endif
48
49
50gnunet_service_identity_SOURCES = \ 42gnunet_service_identity_SOURCES = \
51 gnunet-service-identity.c 43 gnunet-service-identity.c
52gnunet_service_identity_LDADD = \ 44gnunet_service_identity_LDADD = \
@@ -55,17 +47,6 @@ gnunet_service_identity_LDADD = \
55 $(GN_LIBINTL) 47 $(GN_LIBINTL)
56 48
57 49
58libgnunet_plugin_rest_identity_la_SOURCES = \
59 plugin_rest_identity.c
60libgnunet_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
65libgnunet_plugin_rest_identity_la_LDFLAGS = \
66 $(GN_PLUGIN_LDFLAGS)
67
68
69gnunet_identity_SOURCES = \ 50gnunet_identity_SOURCES = \
70 gnunet-identity.c 51 gnunet-identity.c
71gnunet_identity_LDADD = \ 52gnunet_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
9lib_LTLIBRARIES = \ 9lib_LTLIBRARIES = \
10 libgnunetjsonapi.la \ 10 libgnunetjsonapi.la \
11 libgnunetjsonapiutils.la 11 libgnunetjsonapiutils.la \
12 libgnunet_plugin_rest_reclaim.la
13
14libgnunet_plugin_rest_reclaim_la_SOURCES = \
15 plugin_rest_reclaim.c
16libgnunet_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
25libgnunet_plugin_rest_reclaim_la_LDFLAGS = \
26 i$(GN_PLUGIN_LDFLAGS)
27
12 28
13libgnunetjsonapiutils_la_LDFLAGS = \ 29libgnunetjsonapiutils_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)
98endif 98endif
99 99
100if HAVE_MHD
101if HAVE_JSON
102REST_PLUGIN=libgnunet_plugin_rest_namestore.la
103endif
104endif
105
106if ENABLE_TEST_RUN 100if ENABLE_TEST_RUN
107AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME; 101AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME;
108TESTS = \ 102TESTS = \
@@ -186,8 +180,7 @@ gnunet_service_namestore_LDADD = \
186plugin_LTLIBRARIES = \ 180plugin_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 = \
224libgnunet_plugin_namestore_postgres_la_LDFLAGS = \ 217libgnunet_plugin_namestore_postgres_la_LDFLAGS = \
225 $(GN_PLUGIN_LDFLAGS) $(POSTGRESQL_LDFLAGS) 218 $(GN_PLUGIN_LDFLAGS) $(POSTGRESQL_LDFLAGS)
226 219
227libgnunet_plugin_rest_namestore_la_SOURCES = \
228 plugin_rest_namestore.c
229libgnunet_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
237libgnunet_plugin_rest_namestore_la_LDFLAGS = \
238 $(GN_PLUGIN_LDFLAGS)
239
240
241test_namestore_api_store_flat_SOURCES = \ 220test_namestore_api_store_flat_SOURCES = \
242 test_namestore_api_store.c 221 test_namestore_api_store.c
243test_namestore_api_store_flat_LDADD = \ 222test_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 = \
27libgnunetpeerinfo_la_LIBADD = \ 27libgnunetpeerinfo_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)
34libgnunetpeerinfo_la_LDFLAGS = \ 32libgnunetpeerinfo_la_LDFLAGS = \
@@ -39,13 +37,6 @@ libgnunetpeerinfo_la_LDFLAGS = \
39libexec_PROGRAMS = \ 37libexec_PROGRAMS = \
40 gnunet-service-peerinfo 38 gnunet-service-peerinfo
41 39
42if HAVE_MHD
43if HAVE_JSON
44plugin_LTLIBRARIES = \
45 libgnunet_plugin_rest_peerinfo.la
46endif
47endif
48
49gnunet_service_peerinfo_SOURCES = \ 40gnunet_service_peerinfo_SOURCES = \
50 gnunet-service-peerinfo.c 41 gnunet-service-peerinfo.c
51gnunet_service_peerinfo_LDADD = \ 42gnunet_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
57libgnunet_plugin_rest_peerinfo_la_SOURCES = \
58 plugin_rest_peerinfo.c
59libgnunet_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
64libgnunet_plugin_rest_peerinfo_la_LDFLAGS = \
65 $(GN_PLUGIN_LDFLAGS)
66
67if HAVE_BENCHMARKS 47if 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 = \
31lib_LTLIBRARIES = \ 31lib_LTLIBRARIES = \
32 libgnunetreclaim.la 32 libgnunetreclaim.la
33plugin_LTLIBRARIES = \ 33plugin_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
91libgnunet_plugin_rest_reclaim_la_SOURCES = \
92 plugin_rest_reclaim.c
93libgnunet_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
102libgnunet_plugin_rest_reclaim_la_LDFLAGS = \
103 $(GN_PLUGIN_LDFLAGS)
104
105libgnunet_plugin_rest_openid_connect_la_SOURCES = \
106 plugin_rest_openid_connect.c \
107 oidc_helper.c
108libgnunet_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
119libgnunet_plugin_rest_openid_connect_la_LDFLAGS = \
120 $(GN_PLUGIN_LDFLAGS)
121
122gnunet_reclaim_SOURCES = \ 89gnunet_reclaim_SOURCES = \
123 gnunet-reclaim.c 90 gnunet-reclaim.c
124gnunet_reclaim_LDADD = \ 91gnunet_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
2AM_CPPFLAGS = -I$(top_srcdir)/src/include
3
4plugindir = $(libdir)/gnunet
5
6pkgcfgdir= $(pkgdatadir)/config.d/
7
8libexecdir= $(pkglibdir)/libexec/
9
10
11if MINGW
12 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
13endif
14
15if USE_COVERAGE
16 AM_CFLAGS = --coverage -O0
17 XLIBS = -lgcov
18endif
19
20plugin_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
29libgnunet_plugin_rest_copying_la_SOURCES = \
30 plugin_rest_copying.c
31libgnunet_plugin_rest_copying_la_LIBADD = \
32 $(top_builddir)/src/rest/libgnunetrest.la \
33 $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) \
34 $(LTLIBINTL) -lmicrohttpd
35libgnunet_plugin_rest_copying_la_LDFLAGS = \
36 $(GN_PLUGIN_LDFLAGS)
37
38libgnunet_plugin_rest_peerinfo_la_SOURCES = \
39 plugin_rest_peerinfo.c
40libgnunet_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
47libgnunet_plugin_rest_peerinfo_la_LDFLAGS = \
48 $(GN_PLUGIN_LDFLAGS)
49
50libgnunet_plugin_rest_identity_la_SOURCES = \
51 plugin_rest_identity.c
52libgnunet_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
57libgnunet_plugin_rest_identity_la_LDFLAGS = \
58 $(GN_PLUGIN_LDFLAGS)
59
60
61
62libgnunet_plugin_rest_namestore_la_SOURCES = \
63 plugin_rest_namestore.c
64libgnunet_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
72libgnunet_plugin_rest_namestore_la_LDFLAGS = \
73 $(GN_PLUGIN_LDFLAGS)
74
75libgnunet_plugin_rest_gns_la_SOURCES = \
76 plugin_rest_gns.c
77libgnunet_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
83libgnunet_plugin_rest_gns_la_LDFLAGS = \
84 $(GN_PLUGIN_LDFLAGS)
85
86libgnunet_plugin_rest_openid_connect_la_SOURCES = \
87 plugin_rest_openid_connect.c \
88 oidc_helper.c
89libgnunet_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
100libgnunet_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/
10pkgcfg_DATA = \ 10pkgcfg_DATA = \
11 rest.conf 11 rest.conf
12 12
13
14if MINGW 13if MINGW
15 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols 14 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
16endif 15endif
@@ -29,18 +28,6 @@ libexec_PROGRAMS = \
29EXTRA_DIST = \ 28EXTRA_DIST = \
30 rest.conf 29 rest.conf
31 30
32plugin_LTLIBRARIES = libgnunet_plugin_rest_copying.la
33
34libgnunet_plugin_rest_copying_la_SOURCES = \
35 plugin_rest_copying.c
36libgnunet_plugin_rest_copying_la_LIBADD = \
37 libgnunetrest.la \
38 $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) \
39 $(LTLIBINTL) -lmicrohttpd
40libgnunet_plugin_rest_copying_la_LDFLAGS = \
41 $(GN_PLUGIN_LDFLAGS)
42
43
44gnunet_rest_server_SOURCES = \ 31gnunet_rest_server_SOURCES = \
45 gnunet-rest-server.c 32 gnunet-rest-server.c
46 33