1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2010-2014 Intel Corporation
7 VPATH += $(SRCDIR)/pipeline
9 # all source are stored in SRCS-y
11 SRCS-y += config_parse.c
13 SRCS-y += config_parse_tm.c
14 SRCS-y += config_check.c
18 SRCS-y += cpu_core_map.c
20 SRCS-y += pipeline_common_be.c
21 SRCS-y += pipeline_common_fe.c
22 SRCS-y += pipeline_master_be.c
23 SRCS-y += pipeline_master.c
24 SRCS-y += pipeline_passthrough_be.c
25 SRCS-y += pipeline_passthrough.c
26 SRCS-y += pipeline_firewall_be.c
27 SRCS-y += pipeline_firewall.c
28 SRCS-y += pipeline_flow_classification_be.c
29 SRCS-y += pipeline_flow_classification.c
30 SRCS-y += pipeline_flow_actions_be.c
31 SRCS-y += pipeline_flow_actions.c
32 SRCS-y += pipeline_routing_be.c
33 SRCS-y += pipeline_routing.c
36 $(error "Please define RTE_SDK environment variable")
39 # Default target, can be overridden by command line or environment
40 RTE_TARGET ?= x86_64-native-linuxapp-gcc
42 include $(RTE_SDK)/mk/rte.vars.mk
44 INC += $(sort $(wildcard *.h)) $(sort $(wildcard pipeline/*.h))
46 SRCS-$(CONFIG_RTE_LIBRTE_PIPELINE) := $(SRCS-y)
48 CFLAGS += -I$(SRCDIR) -I$(SRCDIR)/pipeline
50 CFLAGS += $(WERROR_FLAGS) -Wno-error=unused-function -Wno-error=unused-variable
52 include $(RTE_SDK)/mk/rte.extapp.mk