aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSchanzenbach, Martin <mschanzenbach@posteo.de>2019-03-12 09:39:06 +0100
committerSchanzenbach, Martin <mschanzenbach@posteo.de>2019-03-12 09:39:06 +0100
commit235833535763682224d09a9b0e73fdd09657d7fc (patch)
treecc242dc7b225f98258635df79a37603cdecb9bb4 /src
parent919bb8c92fa1b7cda53401ff2286b980ca0b12d8 (diff)
downloadgnunet-235833535763682224d09a9b0e73fdd09657d7fc.tar.gz
gnunet-235833535763682224d09a9b0e73fdd09657d7fc.zip
move identity rest plugin
Diffstat (limited to 'src')
-rw-r--r--src/identity/Makefile.am21
-rw-r--r--src/identity/plugin_rest_identity.c (renamed from src/rest-plugins/plugin_rest_identity.c)0
-rw-r--r--src/rest-plugins/Makefile.am11
3 files changed, 20 insertions, 12 deletions
diff --git a/src/identity/Makefile.am b/src/identity/Makefile.am
index 1f21fc65d..5c1af8e19 100644
--- a/src/identity/Makefile.am
+++ b/src/identity/Makefile.am
@@ -12,6 +12,12 @@ if USE_COVERAGE
12 XLIB = -lgcov 12 XLIB = -lgcov
13endif 13endif
14 14
15if HAVE_MHD
16if HAVE_JSON
17REST_PLUGIN = libgnunet_plugin_rest_identity.la
18endif
19endif
20
15pkgcfgdir= $(pkgdatadir)/config.d/ 21pkgcfgdir= $(pkgdatadir)/config.d/
16 22
17libexecdir= $(pkglibdir)/libexec/ 23libexecdir= $(pkglibdir)/libexec/
@@ -20,7 +26,20 @@ pkgcfg_DATA = \
20 identity.conf 26 identity.conf
21 27
22lib_LTLIBRARIES = \ 28lib_LTLIBRARIES = \
23 libgnunetidentity.la 29 libgnunetidentity.la \
30 $(REST_PLUGIN)
31
32
33libgnunet_plugin_rest_identity_la_SOURCES = \
34 plugin_rest_identity.c
35libgnunet_plugin_rest_identity_la_LIBADD = \
36 libgnunetidentity.la \
37 $(top_builddir)/src/rest/libgnunetrest.la \
38 $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) \
39 $(LTLIBINTL) -ljansson -lmicrohttpd
40libgnunet_plugin_rest_identity_la_LDFLAGS = \
41 $(GN_PLUGIN_LDFLAGS)
42
24 43
25libgnunetidentity_la_SOURCES = \ 44libgnunetidentity_la_SOURCES = \
26 identity_api.c \ 45 identity_api.c \
diff --git a/src/rest-plugins/plugin_rest_identity.c b/src/identity/plugin_rest_identity.c
index 3bfca3121..3bfca3121 100644
--- a/src/rest-plugins/plugin_rest_identity.c
+++ b/src/identity/plugin_rest_identity.c
diff --git a/src/rest-plugins/Makefile.am b/src/rest-plugins/Makefile.am
index cec9348a6..e99d88676 100644
--- a/src/rest-plugins/Makefile.am
+++ b/src/rest-plugins/Makefile.am
@@ -20,7 +20,6 @@ endif
20plugin_LTLIBRARIES = \ 20plugin_LTLIBRARIES = \
21 libgnunet_plugin_rest_copying.la \ 21 libgnunet_plugin_rest_copying.la \
22 libgnunet_plugin_rest_peerinfo.la \ 22 libgnunet_plugin_rest_peerinfo.la \
23 libgnunet_plugin_rest_identity.la \
24 libgnunet_plugin_rest_namestore.la 23 libgnunet_plugin_rest_namestore.la
25 24
26 25
@@ -57,16 +56,6 @@ libgnunet_plugin_rest_peerinfo_la_LIBADD = \
57libgnunet_plugin_rest_peerinfo_la_LDFLAGS = \ 56libgnunet_plugin_rest_peerinfo_la_LDFLAGS = \
58 $(GN_PLUGIN_LDFLAGS) 57 $(GN_PLUGIN_LDFLAGS)
59 58
60libgnunet_plugin_rest_identity_la_SOURCES = \
61 plugin_rest_identity.c
62libgnunet_plugin_rest_identity_la_LIBADD = \
63 $(top_builddir)/src/identity/libgnunetidentity.la \
64 $(top_builddir)/src/rest/libgnunetrest.la \
65 $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) \
66 $(LTLIBINTL) -ljansson -lmicrohttpd
67libgnunet_plugin_rest_identity_la_LDFLAGS = \
68 $(GN_PLUGIN_LDFLAGS)
69
70 59
71 60
72libgnunet_plugin_rest_namestore_la_SOURCES = \ 61libgnunet_plugin_rest_namestore_la_SOURCES = \