diff options
Diffstat (limited to 'src/fs/meson.build')
-rw-r--r-- | src/fs/meson.build | 141 |
1 files changed, 0 insertions, 141 deletions
diff --git a/src/fs/meson.build b/src/fs/meson.build deleted file mode 100644 index 4246e4fcf..000000000 --- a/src/fs/meson.build +++ /dev/null | |||
@@ -1,141 +0,0 @@ | |||
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 | configure_file(input : 'fs.conf.in', | ||
31 | output : 'fs.conf', | ||
32 | configuration : cdata, | ||
33 | install: true, | ||
34 | install_dir: pkgcfgdir) | ||
35 | |||
36 | |||
37 | if get_option('monolith') | ||
38 | foreach p : libgnunetfs_src + gnunetservicefs_src | ||
39 | gnunet_src += 'fs/' + p | ||
40 | endforeach | ||
41 | subdir_done() | ||
42 | endif | ||
43 | |||
44 | libgnunetfs = library('gnunetfs', | ||
45 | libgnunetfs_src, | ||
46 | soversion: '2', | ||
47 | version: '2.1.1', | ||
48 | dependencies: [libgnunetutil_dep, | ||
49 | libgnunetdatastore_dep, | ||
50 | libgnunetstatistics_dep, | ||
51 | unistr_dep], | ||
52 | include_directories: [incdir, configuration_inc], | ||
53 | install: true, | ||
54 | install_dir: get_option('libdir')) | ||
55 | libgnunetfs_dep = declare_dependency(link_with : libgnunetfs) | ||
56 | pkg.generate(libgnunetfs, url: 'https://www.gnunet.org', | ||
57 | description : 'Provides API for GNUnet File-Sharing service') | ||
58 | |||
59 | shared_module('gnunet_plugin_block_fs', | ||
60 | ['plugin_block_fs.c'], | ||
61 | dependencies: [libgnunetutil_dep, | ||
62 | libgnunetblockgroup_dep], | ||
63 | include_directories: [incdir, configuration_inc], | ||
64 | install:true, | ||
65 | install_dir: get_option('libdir')/'gnunet') | ||
66 | |||
67 | executable ('gnunet-search', | ||
68 | 'gnunet-search.c', | ||
69 | dependencies: [libgnunetfs_dep, | ||
70 | libgnunetutil_dep], | ||
71 | include_directories: [incdir, configuration_inc], | ||
72 | install: true, | ||
73 | install_dir: get_option('bindir')) | ||
74 | executable ('gnunet-unindex', | ||
75 | 'gnunet-unindex.c', | ||
76 | dependencies: [libgnunetfs_dep, | ||
77 | libgnunetutil_dep], | ||
78 | include_directories: [incdir, configuration_inc], | ||
79 | install: true, | ||
80 | install_dir: get_option('bindir')) | ||
81 | executable ('gnunet-auto-share', | ||
82 | 'gnunet-auto-share.c', | ||
83 | dependencies: [libgnunetfs_dep, | ||
84 | libgnunetutil_dep], | ||
85 | include_directories: [incdir, configuration_inc], | ||
86 | install: true, | ||
87 | install_dir: get_option('bindir')) | ||
88 | executable ('gnunet-directory', | ||
89 | 'gnunet-directory.c', | ||
90 | dependencies: [libgnunetfs_dep, | ||
91 | libgnunetutil_dep], | ||
92 | include_directories: [incdir, configuration_inc], | ||
93 | install: true, | ||
94 | install_dir: get_option('bindir')) | ||
95 | executable ('gnunet-download', | ||
96 | 'gnunet-download.c', | ||
97 | dependencies: [libgnunetfs_dep, | ||
98 | libgnunetutil_dep], | ||
99 | include_directories: [incdir, configuration_inc], | ||
100 | install: true, | ||
101 | install_dir: get_option('bindir')) | ||
102 | executable ('gnunet-fs', | ||
103 | 'gnunet-fs.c', | ||
104 | dependencies: [libgnunetfs_dep, | ||
105 | libgnunetutil_dep], | ||
106 | include_directories: [incdir, configuration_inc], | ||
107 | install: true, | ||
108 | install_dir: get_option('bindir')) | ||
109 | executable ('gnunet-publish', | ||
110 | 'gnunet-publish.c', | ||
111 | dependencies: [libgnunetfs_dep, | ||
112 | libgnunetidentity_dep, | ||
113 | libgnunetutil_dep], | ||
114 | include_directories: [incdir, configuration_inc], | ||
115 | install: true, | ||
116 | install_dir: get_option('bindir')) | ||
117 | executable ('gnunet-service-fs', | ||
118 | gnunetservicefs_src, | ||
119 | dependencies: [libgnunetfs_dep, | ||
120 | libgnunetutil_dep, | ||
121 | libgnunetstatistics_dep, | ||
122 | libgnunetcore_dep, | ||
123 | libgnunetdht_dep, | ||
124 | libgnunetidentity_dep, | ||
125 | m_dep, | ||
126 | libgnunetcadet_dep, | ||
127 | libgnunetpeerstore_dep, | ||
128 | libgnunetdatastore_dep, | ||
129 | libgnunetblock_dep], | ||
130 | include_directories: [incdir, configuration_inc], | ||
131 | install: true, | ||
132 | install_dir: get_option('libdir') / 'gnunet' / 'libexec') | ||
133 | executable ('gnunet-helper-fs-publish', | ||
134 | ['gnunet-helper-fs-publish.c'], | ||
135 | dependencies: [libgnunetfs_dep, | ||
136 | libgnunetutil_dep, | ||
137 | libgnunetblock_dep], | ||
138 | include_directories: [incdir, configuration_inc], | ||
139 | install: true, | ||
140 | install_dir: get_option('libdir') / 'gnunet' / 'libexec') | ||
141 | |||