aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schanzenbach <schanzen@gnunet.org>2023-11-22 20:09:11 +0100
committerMartin Schanzenbach <schanzen@gnunet.org>2023-11-22 20:09:11 +0100
commitcf53590a76e5265244604118a217014b7c7e9a8d (patch)
tree444d55f0fa1628b7835bbc00a0bb4de5889bbad8
parentaa395c1bce6e3f70e20c0d78693cd4064b6d6a79 (diff)
downloadgnunet-cf53590a76e5265244604118a217014b7c7e9a8d.tar.gz
gnunet-cf53590a76e5265244604118a217014b7c7e9a8d.zip
PEERSTORE: Fix API and meson build
-rw-r--r--src/cli/identity/.gitignore1
-rw-r--r--src/cli/peerstore/.gitignore1
-rw-r--r--src/cli/peerstore/Makefile.am23
-rw-r--r--src/cli/peerstore/gnunet-peerstore.c (renamed from src/service/peerstore/gnunet-peerstore.c)0
-rw-r--r--src/cli/peerstore/meson.build9
5 files changed, 34 insertions, 0 deletions
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 @@
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
10if USE_COVERAGE
11 AM_CFLAGS = -fprofile-arcs -ftest-coverage
12endif
13
14# This program does not do anything.
15noinst_PROGRAMS = \
16 gnunet-peerstore
17
18gnunet_peerstore_SOURCES = \
19 gnunet-peerstore.c
20gnunet_peerstore_LDADD = \
21 $(top_builddir)/src/lib/util/libgnunetutil.la \
22 $(top_builddir)/src/service/peerstore/libgnunetpeerstore.la \
23 $(GN_LIBINTL)
diff --git a/src/service/peerstore/gnunet-peerstore.c b/src/cli/peerstore/gnunet-peerstore.c
index 11313b5d3..11313b5d3 100644
--- a/src/service/peerstore/gnunet-peerstore.c
+++ b/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 @@
1executable ('gnunet-peerstore',
2 'gnunet-peerstore.c',
3 dependencies: [libgnunetpeerstore_dep,
4 libgnunetutil_dep
5 ],
6 include_directories: [incdir, configuration_inc],
7 install: false,
8 install_dir: get_option('bindir'))
9