diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2023-10-20 09:28:54 +0200 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2023-10-20 09:28:54 +0200 |
commit | f0ae8634283ae86af1800c7a3a4fc6417c193172 (patch) | |
tree | 2ea076998832d59da95b1f704946872ca8747c3e /src/service/datacache/meson.build | |
parent | 54054eab14a8d840a5646a40bd508ff7ff7870e2 (diff) | |
download | gnunet-f0ae8634283ae86af1800c7a3a4fc6417c193172.tar.gz gnunet-f0ae8634283ae86af1800c7a3a4fc6417c193172.zip |
DATASTORE: Move DB plugins to plugin dir
Diffstat (limited to 'src/service/datacache/meson.build')
-rw-r--r-- | src/service/datacache/meson.build | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/src/service/datacache/meson.build b/src/service/datacache/meson.build index 528885c0d..f50036c03 100644 --- a/src/service/datacache/meson.build +++ b/src/service/datacache/meson.build | |||
@@ -5,9 +5,6 @@ configure_file(input : 'datacache.conf', | |||
5 | configuration : cdata, | 5 | configuration : cdata, |
6 | install: true, | 6 | install: true, |
7 | install_dir: pkgcfgdir) | 7 | install_dir: pkgcfgdir) |
8 | install_data ('datacache-0001.sql', | ||
9 | 'datacache-drop.sql', | ||
10 | install_dir: get_option('datadir')/'gnunet'/'sql') | ||
11 | 8 | ||
12 | if get_option('monolith') | 9 | if get_option('monolith') |
13 | foreach p : libgnunetdatacache_src | 10 | foreach p : libgnunetdatacache_src |
@@ -27,36 +24,6 @@ libgnunetdatacache_dep = declare_dependency(link_with : libgnunetdatacache) | |||
27 | pkg.generate(libgnunetdatacache, url: 'https://www.gnunet.org', | 24 | pkg.generate(libgnunetdatacache, url: 'https://www.gnunet.org', |
28 | description : 'Provides datacache API for temporary storage to disk') | 25 | description : 'Provides datacache API for temporary storage to disk') |
29 | 26 | ||
30 | shared_module('gnunet_plugin_datacache_sqlite', | ||
31 | ['plugin_datacache_sqlite.c'], | ||
32 | dependencies: [libgnunetutil_dep, | ||
33 | libgnunetdatacache_dep, | ||
34 | sqlite_dep, | ||
35 | libgnunetsq_dep], | ||
36 | include_directories: [incdir, configuration_inc], | ||
37 | install: true, | ||
38 | install_dir: get_option('libdir')/'gnunet') | ||
39 | |||
40 | shared_module('gnunet_plugin_datacache_heap', | ||
41 | ['plugin_datacache_heap.c'], | ||
42 | dependencies: [libgnunetutil_dep, | ||
43 | libgnunetdatacache_dep], | ||
44 | include_directories: [incdir, configuration_inc], | ||
45 | install: true, | ||
46 | install_dir: get_option('libdir')/'gnunet') | ||
47 | |||
48 | if pq_dep.found() | ||
49 | shared_module('gnunet_plugin_datacache_postgres', | ||
50 | ['plugin_datacache_postgres.c'], | ||
51 | dependencies: [libgnunetutil_dep, | ||
52 | libgnunetdatacache_dep, | ||
53 | pq_dep, | ||
54 | libgnunetpq_dep], | ||
55 | include_directories: [incdir, configuration_inc], | ||
56 | install: true, | ||
57 | install_dir: get_option('libdir')/'gnunet') | ||
58 | endif | ||
59 | |||
60 | testdc_sqlite = executable ('test_datacache_sqlite', | 27 | testdc_sqlite = executable ('test_datacache_sqlite', |
61 | ['test_datacache.c'], | 28 | ['test_datacache.c'], |
62 | dependencies: [ | 29 | dependencies: [ |