diff options
Diffstat (limited to 'src/datacache/meson.build')
-rw-r--r-- | src/datacache/meson.build | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/datacache/meson.build b/src/datacache/meson.build new file mode 100644 index 000000000..2f8305f42 --- /dev/null +++ b/src/datacache/meson.build | |||
@@ -0,0 +1,22 @@ | |||
1 | libgnunetdatacache_src = ['datacache.c'] | ||
2 | |||
3 | libgnunetplugindatacache_sqlite_src = ['plugin_datacache_sqlite.c'] | ||
4 | |||
5 | if gnunet_monolith == false | ||
6 | libgnunetdatacache = library('gnunetdatacache', | ||
7 | libgnunetdatacache_src, | ||
8 | dependencies: [libgnunetutil_dep, libgnunetstatistics_dep], | ||
9 | include_directories: [incdir, configuration_inc]) | ||
10 | libgnunetdatacache_dep = declare_dependency(link_with : libgnunetdatacache) | ||
11 | libgnunetplugindatacache_sqlite = library('gnunet_plugin_datacache_sqlite', | ||
12 | libgnunetplugindatacache_sqlite_src, | ||
13 | dependencies: [libgnunetutil_dep, | ||
14 | libgnunetdatacache_dep, | ||
15 | sqlite_dep, | ||
16 | libgnunetsq_dep], | ||
17 | include_directories: [incdir, configuration_inc]) | ||
18 | else | ||
19 | foreach p : libgnunetdatacache_src | ||
20 | gnunet_src += 'datacache/' + p | ||
21 | endforeach | ||
22 | endif | ||