aboutsummaryrefslogtreecommitdiff
path: root/src/peerstore/meson.build
blob: fbaf791a27b1712cdbfdb9c6d110d832e6fe8962 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
libgnunetpeerstore_src = ['peerstore_api.c',
                          'peerstore_common.c']

gnunetservicepeerstore_src = ['gnunet-service-peerstore.c']


if gnunet_monolith == false
  libgnunetpeerstore = library('gnunetpeerstore',
          libgnunetpeerstore_src,
          dependencies: libgnunetutil_dep,
          include_directories: [incdir, configuration_inc])
  libgnunetpeerstore_dep = declare_dependency(link_with : libgnunetpeerstore)
  executable ('gnunet-service-peerstore',
              gnunetservicepeerstore_src,
              dependencies: [libgnunetpeerstore_dep, libgnunetutil_dep],
              include_directories: [incdir, configuration_inc])
else
  foreach p : libgnunetpeerstore_src + gnunetservicepeerstore_src
    gnunet_src += 'peerstore/' + p
  endforeach
endif