f-stack/dpdk/lib/librte_bitratestats/Makefile

23 lines
512 B
Makefile
Raw Normal View History

2019-06-25 11:12:58 +00:00
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2017 Intel Corporation
2017-04-21 10:43:26 +00:00
include $(RTE_SDK)/mk/rte.vars.mk
# library name
LIB = librte_bitratestats.a
2017-04-21 10:43:26 +00:00
CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3
LDLIBS += -lrte_eal -lrte_metrics -lrte_ethdev
2017-04-21 10:43:26 +00:00
EXPORT_MAP := rte_bitratestats_version.map
2017-04-21 10:43:26 +00:00
LIBABIVER := 2
2017-04-21 10:43:26 +00:00
# all source are stored in SRCS-y
SRCS-$(CONFIG_RTE_LIBRTE_BITRATE) := rte_bitrate.c
2017-04-21 10:43:26 +00:00
# Install header file
SYMLINK-$(CONFIG_RTE_LIBRTE_BITRATE)-include += rte_bitrate.h
2017-04-21 10:43:26 +00:00
include $(RTE_SDK)/mk/rte.lib.mk