2018-01-08 05:25:14 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
# Copyright(c) 2016 Cavium, Inc
|
2016-12-06 01:51:46 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
include $(RTE_SDK)/mk/rte.vars.mk
|
|
|
|
|
|
|
|
# library name
|
|
|
|
LIB = librte_eventdev.a
|
|
|
|
|
|
|
|
# library version
|
2017-09-20 13:36:03 +00:00
|
|
|
LIBABIVER := 3
|
2016-12-06 01:51:46 +00:00
|
|
|
|
|
|
|
# build flags
|
|
|
|
CFLAGS += -O3
|
|
|
|
CFLAGS += $(WERROR_FLAGS)
|
2017-10-12 16:04:21 +00:00
|
|
|
LDLIBS += -lrte_eal -lrte_ring -lrte_ethdev -lrte_hash
|
2016-12-06 01:51:46 +00:00
|
|
|
|
|
|
|
# library source files
|
|
|
|
SRCS-y += rte_eventdev.c
|
2017-06-30 15:06:19 +00:00
|
|
|
SRCS-y += rte_event_ring.c
|
2017-10-10 22:21:36 +00:00
|
|
|
SRCS-y += rte_event_eth_rx_adapter.c
|
2016-12-06 01:51:46 +00:00
|
|
|
|
|
|
|
# export include files
|
|
|
|
SYMLINK-y-include += rte_eventdev.h
|
|
|
|
SYMLINK-y-include += rte_eventdev_pmd.h
|
2017-06-09 08:37:28 +00:00
|
|
|
SYMLINK-y-include += rte_eventdev_pmd_pci.h
|
2017-06-09 08:37:29 +00:00
|
|
|
SYMLINK-y-include += rte_eventdev_pmd_vdev.h
|
2017-06-30 15:06:19 +00:00
|
|
|
SYMLINK-y-include += rte_event_ring.h
|
2017-10-10 22:21:34 +00:00
|
|
|
SYMLINK-y-include += rte_event_eth_rx_adapter.h
|
2016-12-06 01:51:46 +00:00
|
|
|
|
|
|
|
# versioning export map
|
|
|
|
EXPORT_MAP := rte_eventdev_version.map
|
|
|
|
|
|
|
|
include $(RTE_SDK)/mk/rte.lib.mk
|