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

if get_option('monolith')
  foreach p : libgnunetfragmentation_src
    gnunet_src += 'fragmentation/' + p
  endforeach
  subdir_done()
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')