From 6fabc12aab81110f2cc21f4eaeb21f46e8b8c5f2 Mon Sep 17 00:00:00 2001 From: Martin Schanzenbach Date: Wed, 20 Sep 2023 22:43:41 +0200 Subject: BUILD: Add more subsystems to meson build --- src/revocation/meson.build | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src/revocation/meson.build (limited to 'src/revocation') diff --git a/src/revocation/meson.build b/src/revocation/meson.build new file mode 100644 index 000000000..33dcab90b --- /dev/null +++ b/src/revocation/meson.build @@ -0,0 +1,25 @@ +libgnunetrevocation_src = ['revocation_api.c'] + +gnunetservicerevocation_src = ['gnunet-service-revocation.c'] + + +if gnunet_monolith == false + libgnunetrevocation = library('gnunetrevocation', + libgnunetrevocation_src, + dependencies: [libgnunetutil_dep, libgnunetidentity_dep], + include_directories: [incdir, configuration_inc]) + libgnunetrevocation_dep = declare_dependency(link_with : libgnunetrevocation) + executable ('gnunet-service-revocation', + gnunetservicerevocation_src, + dependencies: [libgnunetrevocation_dep, + libgnunetutil_dep, + libgnunetstatistics_dep, + libgnunetcore_dep, + libgnunetsetu_dep, + libgnunetidentity_dep], + include_directories: [incdir, configuration_inc]) +else + foreach p : libgnunetrevocation_src + gnunetservicerevocation_src + gnunet_src += 'revocation/' + p + endforeach +endif -- cgit v1.2.3