aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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
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
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