gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet] 02/14: move identity rest plugin


From: gnunet
Subject: [GNUnet-SVN] [gnunet] 02/14: move identity rest plugin
Date: Tue, 12 Mar 2019 10:08:59 +0100

This is an automated email from the git hooks/post-receive script.

martin-schanzenbach pushed a commit to branch master
in repository gnunet.

commit 235833535763682224d09a9b0e73fdd09657d7fc
Author: Schanzenbach, Martin <address@hidden>
AuthorDate: Tue Mar 12 09:39:06 2019 +0100

    move identity rest plugin
---
 src/identity/Makefile.am                            | 21 ++++++++++++++++++++-
 .../plugin_rest_identity.c                          |  0
 src/rest-plugins/Makefile.am                        | 11 -----------
 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
   XLIB = -lgcov
 endif
 
+if HAVE_MHD
+if HAVE_JSON
+REST_PLUGIN = libgnunet_plugin_rest_identity.la
+endif
+endif
+
 pkgcfgdir= $(pkgdatadir)/config.d/
 
 libexecdir= $(pkglibdir)/libexec/
@@ -20,7 +26,20 @@ pkgcfg_DATA = \
   identity.conf
 
 lib_LTLIBRARIES = \
-       libgnunetidentity.la
+  libgnunetidentity.la \
+  $(REST_PLUGIN)
+
+
+libgnunet_plugin_rest_identity_la_SOURCES = \
+  plugin_rest_identity.c
+libgnunet_plugin_rest_identity_la_LIBADD = \
+  libgnunetidentity.la \
+  $(top_builddir)/src/rest/libgnunetrest.la \
+  $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) \
+  $(LTLIBINTL) -ljansson -lmicrohttpd
+libgnunet_plugin_rest_identity_la_LDFLAGS = \
+ $(GN_PLUGIN_LDFLAGS)
+
 
 libgnunetidentity_la_SOURCES = \
   identity_api.c \
diff --git a/src/rest-plugins/plugin_rest_identity.c 
b/src/identity/plugin_rest_identity.c
similarity index 100%
rename from src/rest-plugins/plugin_rest_identity.c
rename to 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
 plugin_LTLIBRARIES = \
   libgnunet_plugin_rest_copying.la \
        libgnunet_plugin_rest_peerinfo.la \
-       libgnunet_plugin_rest_identity.la \
        libgnunet_plugin_rest_namestore.la 
 
 
@@ -57,16 +56,6 @@ libgnunet_plugin_rest_peerinfo_la_LIBADD = \
 libgnunet_plugin_rest_peerinfo_la_LDFLAGS = \
  $(GN_PLUGIN_LDFLAGS)
 
-libgnunet_plugin_rest_identity_la_SOURCES = \
-  plugin_rest_identity.c
-libgnunet_plugin_rest_identity_la_LIBADD = \
-       $(top_builddir)/src/identity/libgnunetidentity.la \
-  $(top_builddir)/src/rest/libgnunetrest.la \
-  $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) \
-  $(LTLIBINTL) -ljansson -lmicrohttpd
-libgnunet_plugin_rest_identity_la_LDFLAGS = \
- $(GN_PLUGIN_LDFLAGS)
-
 
 
 libgnunet_plugin_rest_namestore_la_SOURCES = \

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]