2017-12-18 15:56:25 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
# Copyright(c) 2017 Intel Corporation
|
2017-10-17 13:43:57 +01:00
|
|
|
|
|
|
|
sources = files('rte_metrics.c')
|
|
|
|
headers = files('rte_metrics.h')
|
2020-04-30 17:01:21 +01:00
|
|
|
|
|
|
|
jansson = dependency('jansson', required: false)
|
|
|
|
if jansson.found()
|
|
|
|
ext_deps += jansson
|
|
|
|
sources += files('rte_metrics_telemetry.c')
|
2020-07-14 13:39:12 +01:00
|
|
|
headers += files('rte_metrics_telemetry.h')
|
2020-04-30 17:01:23 +01:00
|
|
|
deps += ['ethdev', 'telemetry']
|
|
|
|
includes += include_directories('../librte_telemetry')
|
2020-04-30 17:01:21 +01:00
|
|
|
endif
|