2017-12-19 15:49:05 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
# Copyright(c) 2010-2015 Intel Corporation
|
2014-06-04 19:08:37 +01:00
|
|
|
|
|
|
|
include $(RTE_SDK)/mk/rte.vars.mk
|
|
|
|
|
2014-08-18 13:29:19 +02:00
|
|
|
ifeq ($(CONFIG_RTE_LIBRTE_PIPELINE),y)
|
|
|
|
|
2014-06-04 19:08:37 +01:00
|
|
|
#
|
|
|
|
# library name
|
|
|
|
#
|
|
|
|
APP = testpipeline
|
|
|
|
|
|
|
|
CFLAGS += -O3
|
|
|
|
CFLAGS += $(WERROR_FLAGS)
|
|
|
|
|
|
|
|
#
|
|
|
|
# all source are stored in SRCS-y
|
|
|
|
#
|
2014-08-18 13:29:19 +02:00
|
|
|
SRCS-y := main.c
|
|
|
|
SRCS-y += config.c
|
|
|
|
SRCS-y += init.c
|
|
|
|
SRCS-y += runtime.c
|
|
|
|
SRCS-y += pipeline_stub.c
|
|
|
|
SRCS-y += pipeline_hash.c
|
|
|
|
SRCS-y += pipeline_lpm.c
|
|
|
|
SRCS-y += pipeline_lpm_ipv6.c
|
2014-06-04 19:08:37 +01:00
|
|
|
|
|
|
|
# include ACL lib if available
|
2014-08-18 13:29:19 +02:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_ACL) += pipeline_acl.c
|
2014-06-04 19:08:37 +01:00
|
|
|
|
|
|
|
include $(RTE_SDK)/mk/rte.app.mk
|
2014-08-18 13:29:19 +02:00
|
|
|
|
|
|
|
endif
|