aboutsummaryrefslogtreecommitdiff
path: root/src/hello/meson.build
blob: 1e5fc4ff69a6d4a209aa82dfe0257ecd4383f5d3 (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
libgnunethello_src = ['hello.c',
                      'address.c',
                      'hello-ng.c',
                      'hello-uri.c']

gnunethello_src = ['gnunet-hello.c']


if gnunet_monolith == false
  libgnunethello = library('gnunethello',
          libgnunethello_src,
          dependencies: libgnunetutil_dep,
          include_directories: [incdir, configuration_inc])
  libgnunethello_dep = declare_dependency(link_with : libgnunethello)
  executable ('gnunet-hello',
              gnunethello_src,
              dependencies: [libgnunethello_dep, libgnunetutil_dep],
              include_directories: [incdir, configuration_inc])
else
  foreach p : libgnunethello_src + gnunethello_src
    gnunet_src += 'hello/' + p
  endforeach
endif