diff options
author | t3sserakt <t3ss@posteo.de> | 2023-10-03 17:17:16 +0200 |
---|---|---|
committer | t3sserakt <t3ss@posteo.de> | 2023-10-03 17:17:16 +0200 |
commit | 6f68c34aa3deed8e1b5df30d3de1342386523920 (patch) | |
tree | 940221996f82d1edd77530ac2b1abbb61ccf08ac /src/scalarproduct | |
parent | ed76bf2ece671e9543477a9bb9130dfbe5fa5a4d (diff) | |
parent | 109f3188ba65b788990427d6d26ba8874a9b84f5 (diff) | |
download | gnunet-6f68c34aa3deed8e1b5df30d3de1342386523920.tar.gz gnunet-6f68c34aa3deed8e1b5df30d3de1342386523920.zip |
Merge branch 'master' into l20integration
Diffstat (limited to 'src/scalarproduct')
-rw-r--r-- | src/scalarproduct/meson.build | 102 |
1 files changed, 102 insertions, 0 deletions
diff --git a/src/scalarproduct/meson.build b/src/scalarproduct/meson.build new file mode 100644 index 000000000..183f0f784 --- /dev/null +++ b/src/scalarproduct/meson.build | |||
@@ -0,0 +1,102 @@ | |||
1 | libgnunetscalarproduct_src = ['scalarproduct_api.c'] | ||
2 | |||
3 | gnunetservicescalarproducta_src = ['gnunet-service-scalarproduct_alice.c'] | ||
4 | gnunetservicescalarproductb_src = ['gnunet-service-scalarproduct_bob.c'] | ||
5 | gnunetservicescalarproductecca_src = ['gnunet-service-scalarproduct-ecc_alice.c'] | ||
6 | gnunetservicescalarproducteccb_src = ['gnunet-service-scalarproduct-ecc_bob.c'] | ||
7 | |||
8 | configure_file(input : 'scalarproduct.conf.in', | ||
9 | output : 'scalarproduct.conf', | ||
10 | configuration : cdata, | ||
11 | install: true, | ||
12 | install_dir: pkgcfgdir) | ||
13 | |||
14 | |||
15 | if get_option('monolith') | ||
16 | foreach p : libgnunetscalarproduct_src + gnunetservicescalarproduct_src | ||
17 | gnunet_src += 'scalarproduct/' + p | ||
18 | endforeach | ||
19 | subdir_done() | ||
20 | endif | ||
21 | |||
22 | libgnunetscalarproduct = library('gnunetscalarproduct', | ||
23 | libgnunetscalarproduct_src, | ||
24 | soversion: '0', | ||
25 | version: '0.0.0', | ||
26 | dependencies: [libgnunetutil_dep, | ||
27 | gcrypt_dep], | ||
28 | include_directories: [incdir, configuration_inc], | ||
29 | install: true, | ||
30 | install_dir: get_option('libdir')) | ||
31 | pkg.generate(libgnunetscalarproduct, url: 'https://www.gnunet.org', | ||
32 | description : 'Provides API for accessing the scalarproduct service') | ||
33 | libgnunetscalarproduct_dep = declare_dependency(link_with : libgnunetscalarproduct) | ||
34 | |||
35 | executable ('gnunet-scalarproduct', | ||
36 | ['gnunet-scalarproduct.c'], | ||
37 | dependencies: [libgnunetscalarproduct_dep, | ||
38 | libgnunetutil_dep, | ||
39 | gcrypt_dep, | ||
40 | libgnunetstatistics_dep, | ||
41 | libgnunetcore_dep, | ||
42 | libgnunetcadet_dep, | ||
43 | libgnunetblock_dep], | ||
44 | include_directories: [incdir, configuration_inc], | ||
45 | install: true, | ||
46 | install_dir: get_option('bindir')) | ||
47 | |||
48 | executable ('gnunet-service-scalarproduct-alice', | ||
49 | gnunetservicescalarproducta_src, | ||
50 | dependencies: [libgnunetscalarproduct_dep, | ||
51 | libgnunetutil_dep, | ||
52 | gcrypt_dep, | ||
53 | libgnunetseti_dep, | ||
54 | libgnunetstatistics_dep, | ||
55 | libgnunetcore_dep, | ||
56 | libgnunetcadet_dep, | ||
57 | libgnunetblock_dep], | ||
58 | include_directories: [incdir, configuration_inc], | ||
59 | install: true, | ||
60 | install_dir: get_option('libdir') / 'gnunet' / 'libexec') | ||
61 | executable ('gnunet-service-scalarproduct-bob', | ||
62 | gnunetservicescalarproductb_src, | ||
63 | dependencies: [libgnunetscalarproduct_dep, | ||
64 | libgnunetutil_dep, | ||
65 | gcrypt_dep, | ||
66 | libgnunetseti_dep, | ||
67 | libgnunetstatistics_dep, | ||
68 | libgnunetcore_dep, | ||
69 | libgnunetcadet_dep, | ||
70 | libgnunetblock_dep], | ||
71 | include_directories: [incdir, configuration_inc], | ||
72 | install: true, | ||
73 | install_dir: get_option('libdir') / 'gnunet' / 'libexec') | ||
74 | executable ('gnunet-service-scalarproduct-ecc-alice', | ||
75 | gnunetservicescalarproductecca_src, | ||
76 | dependencies: [libgnunetscalarproduct_dep, | ||
77 | libgnunetutil_dep, | ||
78 | libgnunetstatistics_dep, | ||
79 | libgnunetcore_dep, | ||
80 | gcrypt_dep, | ||
81 | sodium_dep, | ||
82 | libgnunetseti_dep, | ||
83 | libgnunetcadet_dep, | ||
84 | libgnunetblock_dep], | ||
85 | include_directories: [incdir, configuration_inc], | ||
86 | install: true, | ||
87 | install_dir: get_option('libdir') / 'gnunet' / 'libexec') | ||
88 | executable ('gnunet-service-scalarproduct-ecc-bob', | ||
89 | gnunetservicescalarproducteccb_src, | ||
90 | dependencies: [libgnunetscalarproduct_dep, | ||
91 | libgnunetutil_dep, | ||
92 | libgnunetstatistics_dep, | ||
93 | libgnunetcore_dep, | ||
94 | gcrypt_dep, | ||
95 | sodium_dep, | ||
96 | libgnunetseti_dep, | ||
97 | libgnunetcadet_dep, | ||
98 | libgnunetblock_dep], | ||
99 | include_directories: [incdir, configuration_inc], | ||
100 | install: true, | ||
101 | install_dir: get_option('libdir') / 'gnunet' / 'libexec') | ||
102 | |||