diff options
Diffstat (limited to 'src/dhtu/meson.build')
-rw-r--r-- | src/dhtu/meson.build | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/src/dhtu/meson.build b/src/dhtu/meson.build new file mode 100644 index 000000000..34919bb55 --- /dev/null +++ b/src/dhtu/meson.build | |||
@@ -0,0 +1,50 @@ | |||
1 | libgnunetplugindhtuip_src = ['plugin_dhtu_ip.c'] | ||
2 | libgnunetplugindhtugnunet_src = ['plugin_dhtu_gnunet.c'] | ||
3 | |||
4 | configure_file(input : 'dhtu.conf', | ||
5 | output : 'dhtu.conf', | ||
6 | configuration : cdata, | ||
7 | install: true, | ||
8 | install_dir: pkgcfgdir) | ||
9 | |||
10 | if get_option('monolith') | ||
11 | foreach p : libgnunetplugindhtuip_src + libgnunetplugindhtugnunet_src | ||
12 | gnunet_src += 'dhtu/' + p | ||
13 | endforeach | ||
14 | endif | ||
15 | |||
16 | libgnunettestingdhtu = library('gnunettestingdhtu', | ||
17 | ['testing_dhtu_cmd_send.c'], | ||
18 | soversion: '0', | ||
19 | version: '0.0.0', | ||
20 | dependencies: [ | ||
21 | libgnunetutil_dep, | ||
22 | libgnunetarm_dep, | ||
23 | libgnunettesting_dep | ||
24 | ], | ||
25 | include_directories: [incdir, configuration_inc], | ||
26 | install: true, | ||
27 | install_dir: get_option('libdir')) | ||
28 | libgnunettestingdhtu_dep = declare_dependency(link_with : libgnunettestingdhtu) | ||
29 | |||
30 | shared_module('gnunet_plugin_dhtu_ip', | ||
31 | libgnunetplugindhtuip_src, | ||
32 | dependencies: [libgnunetutil_dep, m_dep], | ||
33 | include_directories: [incdir, configuration_inc], | ||
34 | install: true, | ||
35 | install_dir: get_option('libdir')/'gnunet') | ||
36 | |||
37 | shared_module('gnunet_plugin_dhtu_gnunet', | ||
38 | libgnunetplugindhtugnunet_src, | ||
39 | dependencies: [libgnunetutil_dep, | ||
40 | libgnunetats_dep, | ||
41 | m_dep, | ||
42 | libgnunetcore_dep, | ||
43 | libgnunethello_dep, | ||
44 | libgnunetpeerinfo_dep, | ||
45 | libgnunetnse_dep, | ||
46 | libgnunettransport_dep], | ||
47 | include_directories: [incdir, configuration_inc], | ||
48 | install: true, | ||
49 | install_dir: get_option('libdir')/'gnunet') | ||
50 | |||