File: meson.build

package info (click to toggle)
dpdk 25.11-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 127,892 kB
  • sloc: ansic: 2,358,479; python: 16,426; sh: 4,474; makefile: 1,713; awk: 70
file content (64 lines) | stat: -rw-r--r-- 1,319 bytes parent folder | download
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2017 Intel Corporation

sources = files(
        'ethdev_driver.c',
        'ethdev_private.c',
        'ethdev_profile.c',
        'ethdev_trace_points.c',
        'rte_class_eth.c',
        'rte_ethdev.c',
        'rte_ethdev_cman.c',
        'rte_ethdev_telemetry.c',
        'rte_flow.c',
        'rte_mtr.c',
        'rte_tm.c',
        'sff_telemetry.c',
        'sff_common.c',
        'sff_8079.c',
        'sff_8472.c',
        'sff_8636.c',
)

headers = files(
        'rte_cman.h',
        'rte_ethdev.h',
        'rte_ethdev_trace_fp.h',
        'rte_dev_info.h',
        'rte_flow.h',
        'rte_mtr.h',
        'rte_tm.h',
)

indirect_headers += files(
        'rte_ethdev_core.h',
        'rte_eth_ctrl.h',
)

driver_sdk_headers += files(
        'ethdev_driver.h',
        'ethdev_pci.h',
        'ethdev_vdev.h',
        'rte_flow_driver.h',
        'rte_mtr_driver.h',
        'rte_tm_driver.h',
)

if is_linux
    driver_sdk_headers += files(
            'ethdev_linux_ethtool.h',
    )
    sources += files(
            'ethdev_linux_ethtool.c',
    )
endif

deps += ['net', 'kvargs', 'meter', 'telemetry']

if is_freebsd
    annotate_locks = false
endif

if get_option('buildtype').contains('debug')
    cflags += ['-DRTE_FLOW_DEBUG']
endif