aboutsummaryrefslogtreecommitdiff
path: root/src/fragmentation/meson.build
blob: 148a4efe853fe4486d4766e3c5b6b6c5bd761abb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
libgnunetfragmentation_src = ['fragmentation.c',
                              'defragmentation.c']

if get_option('monolith')
  foreach p : libgnunetfragmentation_src
    gnunet_src += 'fragmentation/' + p
  endforeach
endif

libgnunetfragmentation = library('gnunetfragmentation',
        libgnunetfragmentation_src,
        soversion: '2',
        version: '2.0.0',
        dependencies: [m_dep, libgnunetutil_dep, libgnunetstatistics_dep],
        include_directories: [incdir, configuration_inc],
        install: true,
        install_dir: get_option('libdir'))
libgnunetfragmentation_dep = declare_dependency(link_with : libgnunetfragmentation)
pkg.generate(libgnunetfragmentation, url: 'https://www.gnunet.org',
             description : 'Provides API for sending and receiving messages that are larger than the MTU of the transport')