aboutsummaryrefslogtreecommitdiff
path: root/src/util/meson.build
blob: 4d677a7b2755abe70191aff5cc175a3f24a4595c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
libgnunetutil_src = ['bandwidth.c',
       # $(BENCHMARK)',
       'bio.c',
       'buffer.c',
       'child_management.c',
       'client.c',
       'common_allocation.c',
       'common_endian.c',
       'common_logging.c',
       'compress.c',
       'configuration.c',
       'configuration_helper.c',
       'consttime_memcmp.c',
       'container_bloomfilter.c',
       'container_heap.c',
       'container_multihashmap.c',
       'container_multishortmap.c',
       'container_multiuuidmap.c',
       'container_multipeermap.c',
       'container_multihashmap32.c',
       'crypto_symmetric.c',
       'crypto_crc.c',
       'crypto_cs.c',
       'crypto_ecc.c',
       'crypto_ecc_gnsrecord.c',
       #'$(DLOG)',
       'crypto_ecc_setup.c',
       'crypto_edx25519.c',
       'crypto_hash.c',
       'crypto_hash_file.c',
       'crypto_hkdf.c',
       'crypto_kdf.c',
       'crypto_mpi.c',
       'crypto_paillier.c',
       'crypto_pow.c',
       'crypto_random.c',
       'crypto_rsa.c',
       'disk.c',
       'disk.h',
       'dnsparser.c',
       'dnsstub.c',
       'getopt.c',
       'getopt_helpers.c',
       'helper.c',
       'load.c',
       'mst.c',
       'mq.c',
       'nc.c',
       'network.c',
       'op.c',
       'os_installation.c',
       'os_network.c',
       'os_priority.c',
       'peer.c',
       'plugin.c',
       'program.c',
       'regex.c',
       'resolver_api.c',
       'resolver.h',
       'scheduler.c',
       'service.c',
       'signal.c',
       'strings.c',
       'time.c',
       'tun.c',
       'uri.c',
       'speedup.c',
       'speedup.h',
       'proc_compat.c',
	     'gnunet_error_codes.c']

if gnunet_monolith == false
  libgnunetutil = library('gnunetutil',
          libgnunetutil_src,
          dependencies: gnunetdeps,
          include_directories: [incdir, configuration_inc])
  libgnunetutil_dep = declare_dependency(link_with : libgnunetutil)
else
  foreach p : libgnunetutil_src
    gnunet_src += 'util/' + p
  endforeach
endif