New upstream version 18.11-rc1
[deb_dpdk.git] / lib / librte_pipeline / Makefile
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2010-2016 Intel Corporation
3
4 include $(RTE_SDK)/mk/rte.vars.mk
5
6 #
7 # library name
8 #
9 LIB = librte_pipeline.a
10
11 CFLAGS += -DALLOW_EXPERIMENTAL_API
12 CFLAGS += -O3
13 CFLAGS += $(WERROR_FLAGS)
14 LDLIBS += -lrte_eal -lrte_mempool -lrte_mbuf -lrte_table
15 LDLIBS += -lrte_port -lrte_meter -lrte_sched -lrte_cryptodev
16
17 EXPORT_MAP := rte_pipeline_version.map
18
19 LIBABIVER := 3
20
21 #
22 # all source are stored in SRCS-y
23 #
24 SRCS-$(CONFIG_RTE_LIBRTE_PIPELINE) := rte_pipeline.c
25 SRCS-$(CONFIG_RTE_LIBRTE_PIPELINE) += rte_port_in_action.c
26 SRCS-$(CONFIG_RTE_LIBRTE_PIPELINE) += rte_table_action.c
27
28 # install includes
29 SYMLINK-$(CONFIG_RTE_LIBRTE_PIPELINE)-include += rte_pipeline.h rte_port_in_action.h rte_table_action.h
30
31 include $(RTE_SDK)/mk/rte.lib.mk