[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] branch master updated: PEERSTORE: Fix API and meson build
From: |
gnunet |
Subject: |
[gnunet] branch master updated: PEERSTORE: Fix API and meson build |
Date: |
Wed, 22 Nov 2023 20:09:15 +0100 |
This is an automated email from the git hooks/post-receive script.
martin-schanzenbach pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new cf53590a7 PEERSTORE: Fix API and meson build
cf53590a7 is described below
commit cf53590a76e5265244604118a217014b7c7e9a8d
Author: Martin Schanzenbach <schanzen@gnunet.org>
AuthorDate: Wed Nov 22 20:09:11 2023 +0100
PEERSTORE: Fix API and meson build
---
src/cli/identity/.gitignore | 1 +
src/cli/peerstore/.gitignore | 1 +
src/cli/peerstore/Makefile.am | 23 +++++++++++++++++++++++
src/{service => cli}/peerstore/gnunet-peerstore.c | 0
src/cli/peerstore/meson.build | 9 +++++++++
5 files changed, 34 insertions(+)
diff --git a/src/cli/identity/.gitignore b/src/cli/identity/.gitignore
new file mode 100644
index 000000000..1c5862dbb
--- /dev/null
+++ b/src/cli/identity/.gitignore
@@ -0,0 +1 @@
+gnunet-identity
diff --git a/src/cli/peerstore/.gitignore b/src/cli/peerstore/.gitignore
new file mode 100644
index 000000000..3ae0f6c6c
--- /dev/null
+++ b/src/cli/peerstore/.gitignore
@@ -0,0 +1 @@
+gnunet-peerstore
diff --git a/src/cli/peerstore/Makefile.am b/src/cli/peerstore/Makefile.am
new file mode 100644
index 000000000..f5be82f09
--- /dev/null
+++ b/src/cli/peerstore/Makefile.am
@@ -0,0 +1,23 @@
+# This Makefile.am is in the public domain
+AM_CPPFLAGS = -I$(top_srcdir)/src/include
+
+plugindir = $(libdir)/gnunet
+
+pkgcfgdir= $(pkgdatadir)/config.d/
+
+libexecdir= $(pkglibdir)/libexec/
+
+if USE_COVERAGE
+ AM_CFLAGS = -fprofile-arcs -ftest-coverage
+endif
+
+# This program does not do anything.
+noinst_PROGRAMS = \
+ gnunet-peerstore
+
+gnunet_peerstore_SOURCES = \
+ gnunet-peerstore.c
+gnunet_peerstore_LDADD = \
+ $(top_builddir)/src/lib/util/libgnunetutil.la \
+ $(top_builddir)/src/service/peerstore/libgnunetpeerstore.la \
+ $(GN_LIBINTL)
diff --git a/src/service/peerstore/gnunet-peerstore.c
b/src/cli/peerstore/gnunet-peerstore.c
similarity index 100%
rename from src/service/peerstore/gnunet-peerstore.c
rename to src/cli/peerstore/gnunet-peerstore.c
diff --git a/src/cli/peerstore/meson.build b/src/cli/peerstore/meson.build
new file mode 100644
index 000000000..1fd177734
--- /dev/null
+++ b/src/cli/peerstore/meson.build
@@ -0,0 +1,9 @@
+executable ('gnunet-peerstore',
+ 'gnunet-peerstore.c',
+ dependencies: [libgnunetpeerstore_dep,
+ libgnunetutil_dep
+ ],
+ include_directories: [incdir, configuration_inc],
+ install: false,
+ install_dir: get_option('bindir'))
+
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnunet] branch master updated: PEERSTORE: Fix API and meson build,
gnunet <=