xref: /dpdk/lib/table/meson.build (revision b1094939)
1# SPDX-License-Identifier: BSD-3-Clause
2# Copyright(c) 2017 Intel Corporation
3
4if is_windows
5    build = false
6    reason = 'not supported on Windows'
7    subdir_done()
8endif
9
10sources = files(
11        'rte_swx_table_em.c',
12        'rte_swx_table_learner.c',
13        'rte_swx_table_selector.c',
14        'rte_swx_table_wm.c',
15        'rte_table_acl.c',
16        'rte_table_array.c',
17        'rte_table_hash_cuckoo.c',
18        'rte_table_hash_ext.c',
19        'rte_table_hash_key8.c',
20        'rte_table_hash_key16.c',
21        'rte_table_hash_key32.c',
22        'rte_table_hash_lru.c',
23        'rte_table_lpm.c',
24        'rte_table_lpm_ipv6.c',
25        'rte_table_stub.c',
26)
27headers = files(
28        'rte_lru.h',
29        'rte_swx_table.h',
30        'rte_swx_table_em.h',
31        'rte_swx_table_learner.h',
32        'rte_swx_table_selector.h',
33        'rte_swx_table_wm.h',
34        'rte_table.h',
35        'rte_table_acl.h',
36        'rte_table_array.h',
37        'rte_table_hash.h',
38        'rte_table_hash_cuckoo.h',
39        'rte_table_hash_func.h',
40        'rte_table_lpm.h',
41        'rte_table_lpm_ipv6.h',
42        'rte_table_stub.h',
43)
44deps += ['mbuf', 'port', 'lpm', 'hash', 'acl']
45
46indirect_headers += files(
47        'rte_lru_arm64.h',
48        'rte_lru_x86.h',
49        'rte_table_hash_func_arm64.h',
50)
51