diff options
Diffstat (limited to 'src/statistics/meson.build')
-rw-r--r-- | src/statistics/meson.build | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/statistics/meson.build b/src/statistics/meson.build new file mode 100644 index 000000000..78d8c1e3e --- /dev/null +++ b/src/statistics/meson.build | |||
@@ -0,0 +1,20 @@ | |||
1 | libgnunetstatistics_src = ['statistics_api.c'] | ||
2 | |||
3 | gnunetservicestatistics_src = ['gnunet-service-statistics.c'] | ||
4 | |||
5 | |||
6 | if gnunet_monolith == false | ||
7 | libgnunetstatistics = library('gnunetstatistics', | ||
8 | libgnunetstatistics_src, | ||
9 | dependencies: libgnunetutil_dep, | ||
10 | include_directories: [incdir, configuration_inc]) | ||
11 | libgnunetstatistics_dep = declare_dependency(link_with : libgnunetstatistics) | ||
12 | executable ('gnunet-service-statistics', | ||
13 | gnunetservicestatistics_src, | ||
14 | dependencies: [libgnunetstatistics_dep, libgnunetutil_dep], | ||
15 | include_directories: [incdir, configuration_inc]) | ||
16 | else | ||
17 | foreach p : libgnunetstatistics_src + gnunetservicestatistics_src | ||
18 | gnunet_src += 'statistics/' + p | ||
19 | endforeach | ||
20 | endif | ||