1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2017 Intel Corporation
4 include $(RTE_SDK)/mk/rte.vars.mk
7 LIB = librte_bitratestats.a
9 CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3
10 LDLIBS += -lrte_eal -lrte_metrics -lrte_ethdev
12 EXPORT_MAP := rte_bitratestats_version.map
14 # all source are stored in SRCS-y
15 SRCS-$(CONFIG_RTE_LIBRTE_BITRATE) := rte_bitrate.c
18 SYMLINK-$(CONFIG_RTE_LIBRTE_BITRATE)-include += rte_bitrate.h
20 include $(RTE_SDK)/mk/rte.lib.mk