xref: /dpdk/lib/eal/meson.build (revision 22f7184e8b5f1b546ac26dd0bde8c3c6038a7e03)
1# SPDX-License-Identifier: BSD-3-Clause
2# Copyright(c) 2017-2019 Intel Corporation
3
4includes += global_inc
5subdir('include')
6
7subdir('common')
8
9if not is_windows
10    subdir('unix')
11endif
12
13subdir(exec_env)
14
15subdir(arch_subdir)
16
17deps += ['log', 'kvargs']
18if not is_windows
19    deps += ['telemetry']
20endif
21if dpdk_conf.has('RTE_USE_LIBBSD')
22    ext_deps += libbsd
23endif
24if dpdk_conf.has('RTE_HAS_LIBARCHIVE')
25    ext_deps += libarchive
26endif
27if cc.has_function('getentropy', prefix : '#include <unistd.h>')
28    cflags += '-DRTE_LIBEAL_USE_GETENTROPY'
29endif
30
31if is_freebsd
32    annotate_locks = false
33endif
34