f-stack/dpdk/lib/librte_pipeline/Makefile

32 lines
778 B
Makefile
Raw Normal View History

2019-06-25 11:12:58 +00:00
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2010-2016 Intel Corporation
2017-04-21 10:43:26 +00:00
include $(RTE_SDK)/mk/rte.vars.mk
#
# library name
#
LIB = librte_pipeline.a
2019-06-25 11:12:58 +00:00
CFLAGS += -DALLOW_EXPERIMENTAL_API
2017-04-21 10:43:26 +00:00
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
LDLIBS += -lrte_eal -lrte_mempool -lrte_mbuf -lrte_table
2019-06-25 11:12:58 +00:00
LDLIBS += -lrte_port -lrte_meter -lrte_sched -lrte_cryptodev
2017-04-21 10:43:26 +00:00
EXPORT_MAP := rte_pipeline_version.map
LIBABIVER := 3
#
# all source are stored in SRCS-y
#
SRCS-$(CONFIG_RTE_LIBRTE_PIPELINE) := rte_pipeline.c
2019-06-25 11:12:58 +00:00
SRCS-$(CONFIG_RTE_LIBRTE_PIPELINE) += rte_port_in_action.c
SRCS-$(CONFIG_RTE_LIBRTE_PIPELINE) += rte_table_action.c
2017-04-21 10:43:26 +00:00
# install includes
2019-06-25 11:12:58 +00:00
SYMLINK-$(CONFIG_RTE_LIBRTE_PIPELINE)-include += rte_pipeline.h rte_port_in_action.h rte_table_action.h
2017-04-21 10:43:26 +00:00
include $(RTE_SDK)/mk/rte.lib.mk