aboutsummaryrefslogtreecommitdiff
path: root/src/json/meson.build
blob: ca010ada6f851570d2b9c63ea5a9d73a8783f883 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
libgnunetjson_src = ['json.c',
                    'json_generator.c',
                    'json_helper.c',
                    'json_mhd.c',
                    'json_pack.c']

if gnunet_monolith == false
  libgnunetjson = library('gnunetjson',
          libgnunetjson_src,
          dependencies: [libgnunetutil_dep, json_dep, mhd_dep, zlib_dep],
          include_directories: [incdir, configuration_inc])
  libgnunetjson_dep = declare_dependency(link_with : libgnunetjson)
else
  foreach p : libgnunetjson_src
    gnunet_src += 'json/' + p
  endforeach
endif