1# SPDX-License-Identifier: BSD-3-Clause 2# Copyright(c) 2010-2014 Intel Corporation 3 4# binary name 5APP = ip_pipeline 6 7VPATH += $(SRCDIR)/pipeline 8 9# all source are stored in SRCS-y 10SRCS-y := main.c 11SRCS-y += config_parse.c 12SRCS-y += parser.c 13SRCS-y += config_parse_tm.c 14SRCS-y += config_check.c 15SRCS-y += init.c 16SRCS-y += thread.c 17SRCS-y += thread_fe.c 18SRCS-y += cpu_core_map.c 19 20SRCS-y += pipeline_common_be.c 21SRCS-y += pipeline_common_fe.c 22SRCS-y += pipeline_master_be.c 23SRCS-y += pipeline_master.c 24SRCS-y += pipeline_passthrough_be.c 25SRCS-y += pipeline_passthrough.c 26SRCS-y += pipeline_firewall_be.c 27SRCS-y += pipeline_firewall.c 28SRCS-y += pipeline_flow_classification_be.c 29SRCS-y += pipeline_flow_classification.c 30SRCS-y += pipeline_flow_actions_be.c 31SRCS-y += pipeline_flow_actions.c 32SRCS-y += pipeline_routing_be.c 33SRCS-y += pipeline_routing.c 34 35ifeq ($(RTE_SDK),) 36$(error "Please define RTE_SDK environment variable") 37endif 38 39# Default target, can be overridden by command line or environment 40RTE_TARGET ?= x86_64-native-linuxapp-gcc 41 42include $(RTE_SDK)/mk/rte.vars.mk 43 44INC += $(sort $(wildcard *.h)) $(sort $(wildcard pipeline/*.h)) 45 46SRCS-$(CONFIG_RTE_LIBRTE_PIPELINE) := $(SRCS-y) 47 48CFLAGS += -I$(SRCDIR) -I$(SRCDIR)/pipeline 49CFLAGS += -O3 50CFLAGS += $(WERROR_FLAGS) -Wno-error=unused-function -Wno-error=unused-variable 51 52include $(RTE_SDK)/mk/rte.extapp.mk 53