summaryrefslogtreecommitdiff
path: root/shared/n-acd/meson.build
blob: 25f778ad7d1ac98b16f6e19e1a3ae6ab57775d57 (plain)
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
# SPDX-License-Identifier: LGPL-2.1+

project(
        'n-acd',
        'c',
        version: '2',
        license: 'Apache',
        default_options: [
                'c_std=c11',
        ],
)
project_description = 'IPv4 Address Conflict Detection'

add_project_arguments('-D_GNU_SOURCE', language: 'c')
mod_pkgconfig = import('pkgconfig')

sub_clist = subproject('c-list')
sub_crbtree = subproject('c-rbtree')
sub_csiphash = subproject('c-siphash')
sub_cstdaux = subproject('c-stdaux')

dep_clist = sub_clist.get_variable('libclist_dep')
dep_crbtree = sub_crbtree.get_variable('libcrbtree_dep')
dep_csiphash = sub_csiphash.get_variable('libcsiphash_dep')
dep_cstdaux = sub_cstdaux.get_variable('libcstdaux_dep')

use_ebpf = get_option('ebpf')

subdir('src')