2019-06-25 11:12:58 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
# Copyright(c) 2017 Intel Corporation
|
|
|
|
|
|
|
|
sources = files('rte_metrics.c')
|
|
|
|
headers = files('rte_metrics.h')
|
2021-02-05 08:48:47 +00:00
|
|
|
|
2022-09-02 04:40:05 +00:00
|
|
|
jansson = dependency('jansson', required: false, method: 'pkg-config')
|
2021-02-05 08:48:47 +00:00
|
|
|
if jansson.found()
|
|
|
|
ext_deps += jansson
|
|
|
|
sources += files('rte_metrics_telemetry.c')
|
|
|
|
headers += files('rte_metrics_telemetry.h')
|
|
|
|
deps += ['ethdev', 'telemetry']
|
|
|
|
includes += include_directories('../librte_telemetry')
|
|
|
|
endif
|