f-stack/dpdk/lib/librte_latencystats/Makefile

25 lines
584 B
Makefile
Raw Normal View History

2018-12-06 14:17:51 +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_latencystats.a
2017-04-21 10:43:26 +00:00
CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3
LDLIBS += -lm
LDLIBS += -lpthread
LDLIBS += -lrte_eal -lrte_metrics -lrte_ethdev -lrte_mbuf
2017-04-21 10:43:26 +00:00
EXPORT_MAP := rte_latencystats_version.map
2017-04-21 10:43:26 +00:00
LIBABIVER := 1
# all source are stored in SRCS-y
SRCS-$(CONFIG_RTE_LIBRTE_LATENCY_STATS) := rte_latencystats.c
2017-04-21 10:43:26 +00:00
# install this header file
SYMLINK-$(CONFIG_RTE_LIBRTE_LATENCY_STATS)-include := rte_latencystats.h
2017-04-21 10:43:26 +00:00
include $(RTE_SDK)/mk/rte.lib.mk