aboutsummaryrefslogtreecommitdiff
path: root/src/topology/meson.build
blob: 2f1db3641ca622322090bdbdd566cd113994c32c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
libgnunetfriends_src = ['friends.c']

gnunetdaemontopology_src = ['gnunet-daemon-topology.c']


if get_option('monolith') == false
  libgnunetfriends = library('gnunetfriends',
          libgnunetfriends_src,
          dependencies: libgnunetutil_dep,
          include_directories: [incdir, configuration_inc])
  libgnunetfriends_dep = declare_dependency(link_with : libgnunetfriends)
  executable ('gnunet-daemon-topology',
              gnunetdaemontopology_src,
              dependencies: [libgnunetfriends_dep,
                             libgnunetutil_dep,
                             libgnunetcore_dep,
                             libgnunetpeerinfo_dep,
                             libgnunetstatistics_dep,
                             libgnunettransport_dep,
                             libgnunetats_dep,
                             libgnunethello_dep],
              include_directories: [incdir, configuration_inc])
else
  foreach p : libgnunetfriends_src
    gnunet_src += 'topology/' + p
  endforeach
endif