f-stack/dpdk/lib/librte_flow_classify/Makefile

27 lines
676 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_flow_classify.a
2017-04-21 10:43:26 +00:00
2019-06-25 11:12:58 +00:00
CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR)
2017-04-21 10:43:26 +00:00
EXPORT_MAP := rte_flow_classify_version.map
2017-04-21 10:43:26 +00:00
LIBABIVER := 1
LDLIBS += -lrte_eal -lrte_ethdev -lrte_net -lrte_table -lrte_acl
2017-04-21 10:43:26 +00:00
# all source are stored in SRCS-y
SRCS-$(CONFIG_RTE_LIBRTE_FLOW_CLASSIFY) += rte_flow_classify.c
SRCS-$(CONFIG_RTE_LIBRTE_FLOW_CLASSIFY) += rte_flow_classify_parse.c
2017-04-21 10:43:26 +00:00
# install this header file
SYMLINK-$(CONFIG_RTE_LIBRTE_FLOW_CLASSIFY)-include := rte_flow_classify.h
2017-04-21 10:43:26 +00:00
include $(RTE_SDK)/mk/rte.lib.mk