diff options
Diffstat (limited to 'src/service/dhtu/meson.build')
-rw-r--r-- | src/service/dhtu/meson.build | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/src/service/dhtu/meson.build b/src/service/dhtu/meson.build deleted file mode 100644 index a3c5b0e0a..000000000 --- a/src/service/dhtu/meson.build +++ /dev/null | |||
@@ -1,61 +0,0 @@ | |||
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 | m_dep, | ||
41 | libgnunetcore_dep, | ||
42 | libgnunethello_dep, | ||
43 | libgnunetpeerstore_dep, | ||
44 | libgnunettransportapplication_dep, | ||
45 | libgnunetnse_dep, | ||
46 | ], | ||
47 | include_directories: [incdir, configuration_inc], | ||
48 | install: true, | ||
49 | install_dir: get_option('libdir')/'gnunet') | ||
50 | |||
51 | testdhtu_ip = executable('test_dhtu_ip', | ||
52 | ['test_dhtu_ip.c'], | ||
53 | dependencies: [libgnunetutil_dep, | ||
54 | libgnunettesting_dep], | ||
55 | include_directories: [incdir, configuration_inc], | ||
56 | install: false) | ||
57 | |||
58 | test('test_dhtu_ip', testdhtu_ip, suite: 'dhtu', | ||
59 | workdir: meson.current_build_dir()) | ||
60 | |||
61 | |||