2018-12-06 14:17:51 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
# Copyright(c) 2016-2017 Intel Corporation
|
2017-04-21 10:43:26 +00:00
|
|
|
|
2018-05-15 09:49:22 +00:00
|
|
|
include $(RTE_SDK)/mk/rte.vars.mk
|
2017-04-21 10:43:26 +00:00
|
|
|
|
2018-05-15 09:49:22 +00:00
|
|
|
# library name
|
|
|
|
LIB = librte_efd.a
|
2017-04-21 10:43:26 +00:00
|
|
|
|
2018-05-15 09:49:22 +00:00
|
|
|
CFLAGS += -O3
|
|
|
|
CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR)
|
|
|
|
LDLIBS += -lrte_eal -lrte_ring -lrte_hash
|
2017-04-21 10:43:26 +00:00
|
|
|
|
2018-05-15 09:49:22 +00:00
|
|
|
EXPORT_MAP := rte_efd_version.map
|
|
|
|
|
|
|
|
LIBABIVER := 1
|
2017-04-21 10:43:26 +00:00
|
|
|
|
|
|
|
# all source are stored in SRCS-y
|
2018-05-15 09:49:22 +00:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_EFD) := rte_efd.c
|
2017-04-21 10:43:26 +00:00
|
|
|
|
2018-05-15 09:49:22 +00:00
|
|
|
# install this header file
|
|
|
|
SYMLINK-$(CONFIG_RTE_LIBRTE_EFD)-include := rte_efd.h
|
2017-04-21 10:43:26 +00:00
|
|
|
|
2018-05-15 09:49:22 +00:00
|
|
|
include $(RTE_SDK)/mk/rte.lib.mk
|