diff options
author | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2019-03-12 09:39:06 +0100 |
---|---|---|
committer | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2019-03-12 09:39:06 +0100 |
commit | 235833535763682224d09a9b0e73fdd09657d7fc (patch) | |
tree | cc242dc7b225f98258635df79a37603cdecb9bb4 /src | |
parent | 919bb8c92fa1b7cda53401ff2286b980ca0b12d8 (diff) | |
download | gnunet-235833535763682224d09a9b0e73fdd09657d7fc.tar.gz gnunet-235833535763682224d09a9b0e73fdd09657d7fc.zip |
move identity rest plugin
Diffstat (limited to 'src')
-rw-r--r-- | src/identity/Makefile.am | 21 | ||||
-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.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 | |||
12 | XLIB = -lgcov | 12 | XLIB = -lgcov |
13 | endif | 13 | endif |
14 | 14 | ||
15 | if HAVE_MHD | ||
16 | if HAVE_JSON | ||
17 | REST_PLUGIN = libgnunet_plugin_rest_identity.la | ||
18 | endif | ||
19 | endif | ||
20 | |||
15 | pkgcfgdir= $(pkgdatadir)/config.d/ | 21 | pkgcfgdir= $(pkgdatadir)/config.d/ |
16 | 22 | ||
17 | libexecdir= $(pkglibdir)/libexec/ | 23 | libexecdir= $(pkglibdir)/libexec/ |
@@ -20,7 +26,20 @@ pkgcfg_DATA = \ | |||
20 | identity.conf | 26 | identity.conf |
21 | 27 | ||
22 | lib_LTLIBRARIES = \ | 28 | lib_LTLIBRARIES = \ |
23 | libgnunetidentity.la | 29 | libgnunetidentity.la \ |
30 | $(REST_PLUGIN) | ||
31 | |||
32 | |||
33 | libgnunet_plugin_rest_identity_la_SOURCES = \ | ||
34 | plugin_rest_identity.c | ||
35 | libgnunet_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 | ||
40 | libgnunet_plugin_rest_identity_la_LDFLAGS = \ | ||
41 | $(GN_PLUGIN_LDFLAGS) | ||
42 | |||
24 | 43 | ||
25 | libgnunetidentity_la_SOURCES = \ | 44 | libgnunetidentity_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 | |||
20 | plugin_LTLIBRARIES = \ | 20 | plugin_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 = \ | |||
57 | libgnunet_plugin_rest_peerinfo_la_LDFLAGS = \ | 56 | libgnunet_plugin_rest_peerinfo_la_LDFLAGS = \ |
58 | $(GN_PLUGIN_LDFLAGS) | 57 | $(GN_PLUGIN_LDFLAGS) |
59 | 58 | ||
60 | libgnunet_plugin_rest_identity_la_SOURCES = \ | ||
61 | plugin_rest_identity.c | ||
62 | libgnunet_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 | ||
67 | libgnunet_plugin_rest_identity_la_LDFLAGS = \ | ||
68 | $(GN_PLUGIN_LDFLAGS) | ||
69 | |||
70 | 59 | ||
71 | 60 | ||
72 | libgnunet_plugin_rest_namestore_la_SOURCES = \ | 61 | libgnunet_plugin_rest_namestore_la_SOURCES = \ |