aboutsummaryrefslogtreecommitdiff
path: root/src/datacache/meson.build
blob: 045335a336bff2602aaca36c2e8481b8e88c7de2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
libgnunetdatacache_src = ['datacache.c']

libgnunetplugindatacache_sqlite_src = ['plugin_datacache_sqlite.c']

if get_option('monolith') == false
  libgnunetdatacache = library('gnunetdatacache',
          libgnunetdatacache_src,
          dependencies: [libgnunetutil_dep, libgnunetstatistics_dep],
          include_directories: [incdir, configuration_inc])
  libgnunetdatacache_dep = declare_dependency(link_with : libgnunetdatacache)
  libgnunetplugindatacache_sqlite = library('gnunet_plugin_datacache_sqlite',
          libgnunetplugindatacache_sqlite_src,
          dependencies: [libgnunetutil_dep,
                         libgnunetdatacache_dep,
                         sqlite_dep,
                         libgnunetsq_dep],
          include_directories: [incdir, configuration_inc])
else
  foreach p : libgnunetdatacache_src
    gnunet_src += 'datacache/' + p
  endforeach
endif