diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2023-09-21 13:46:59 +0200 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2023-09-21 13:46:59 +0200 |
commit | c987ce850656cba2b60d3100e74c61d5a7c781fd (patch) | |
tree | aee816c11780b35abe941f772882cc7ec26c5c7e /src/fs | |
parent | a4edce1753a788677a94960a56c90367ce168467 (diff) | |
download | gnunet-c987ce850656cba2b60d3100e74c61d5a7c781fd.tar.gz gnunet-c987ce850656cba2b60d3100e74c61d5a7c781fd.zip |
BUILD: More meson conversions
Diffstat (limited to 'src/fs')
-rw-r--r-- | src/fs/meson.build | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/src/fs/meson.build b/src/fs/meson.build new file mode 100644 index 000000000..9bf7b3142 --- /dev/null +++ b/src/fs/meson.build | |||
@@ -0,0 +1,76 @@ | |||
1 | libgnunetfs_src = ['fs_api.c', | ||
2 | 'fs_directory.c', | ||
3 | 'fs_dirmetascan.c', | ||
4 | 'fs_download.c', | ||
5 | 'fs_file_information.c', | ||
6 | 'fs_getopt.c', | ||
7 | 'fs_list_indexed.c', | ||
8 | 'fs_publish.c', | ||
9 | 'fs_publish_ksk.c', | ||
10 | 'fs_publish_ublock.c', | ||
11 | 'fs_misc.c', | ||
12 | 'fs_namespace.c', | ||
13 | 'fs_search.c', | ||
14 | 'fs_sharetree.c', | ||
15 | 'fs_tree.c', | ||
16 | 'fs_unindex.c', | ||
17 | 'fs_uri.c', | ||
18 | 'meta_data.c'] | ||
19 | |||
20 | gnunetservicefs_src = ['gnunet-service-fs.c', | ||
21 | 'gnunet-service-fs_cp.c', | ||
22 | 'gnunet-service-fs_indexing.c', | ||
23 | 'gnunet-service-fs_pe.c', | ||
24 | 'gnunet-service-fs_pr.c', | ||
25 | 'gnunet-service-fs_push.c', | ||
26 | 'gnunet-service-fs_put.c', | ||
27 | 'gnunet-service-fs_cadet_client.c', | ||
28 | 'gnunet-service-fs_cadet_server.c'] | ||
29 | |||
30 | |||
31 | if get_option('monolith') == false | ||
32 | libgnunetfs = library('gnunetfs', | ||
33 | libgnunetfs_src, | ||
34 | dependencies: [libgnunetutil_dep, | ||
35 | libgnunetdatastore_dep, | ||
36 | libgnunetstatistics_dep, | ||
37 | unistr_dep], | ||
38 | include_directories: [incdir, configuration_inc], | ||
39 | install: true, | ||
40 | install_dir: get_option('libdir')) | ||
41 | libgnunetfs_dep = declare_dependency(link_with : libgnunetfs) | ||
42 | executable ('gnunet-search', | ||
43 | 'gnunet-search.c', | ||
44 | dependencies: [libgnunetfs_dep, | ||
45 | libgnunetutil_dep], | ||
46 | include_directories: [incdir, configuration_inc], | ||
47 | install: true, | ||
48 | install_dir: get_option('bindir')) | ||
49 | executable ('gnunet-unindex', | ||
50 | 'gnunet-unindex.c', | ||
51 | dependencies: [libgnunetfs_dep, | ||
52 | libgnunetutil_dep], | ||
53 | include_directories: [incdir, configuration_inc], | ||
54 | install: true, | ||
55 | install_dir: get_option('bindir')) | ||
56 | executable ('gnunet-service-fs', | ||
57 | gnunetservicefs_src, | ||
58 | dependencies: [libgnunetfs_dep, | ||
59 | libgnunetutil_dep, | ||
60 | libgnunetstatistics_dep, | ||
61 | libgnunetcore_dep, | ||
62 | libgnunetdht_dep, | ||
63 | libgnunetidentity_dep, | ||
64 | libgnunetats_dep, | ||
65 | libgnunetcadet_dep, | ||
66 | libgnunetpeerstore_dep, | ||
67 | libgnunetdatastore_dep, | ||
68 | libgnunetblock_dep], | ||
69 | include_directories: [incdir, configuration_inc], | ||
70 | install: true, | ||
71 | install_dir: get_option('libdir') / 'gnunet' / 'libexec') | ||
72 | else | ||
73 | foreach p : libgnunetfs_src + gnunetservicefs_src | ||
74 | gnunet_src += 'fs/' + p | ||
75 | endforeach | ||
76 | endif | ||