f-stack/dpdk/lib/librte_eventdev/Makefile

46 lines
1.2 KiB
Makefile
Raw Normal View History

2019-06-25 11:12:58 +00:00
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2016 Cavium, Inc
2017-04-21 10:43:26 +00:00
#
include $(RTE_SDK)/mk/rte.vars.mk
# library name
LIB = librte_eventdev.a
2017-04-21 10:43:26 +00:00
# build flags
2019-06-25 11:12:58 +00:00
CFLAGS += -DALLOW_EXPERIMENTAL_API
2017-04-21 10:43:26 +00:00
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
2020-06-18 16:55:50 +00:00
ifeq ($(CONFIG_RTE_EXEC_ENV_LINUX),y)
2019-06-25 11:12:58 +00:00
CFLAGS += -DLINUX
else
CFLAGS += -DBSD
endif
LDLIBS += -lrte_eal -lrte_ring -lrte_ethdev -lrte_hash -lrte_mempool -lrte_timer
LDLIBS += -lrte_mbuf -lrte_cryptodev -lpthread
# library source files
SRCS-y += rte_eventdev.c
SRCS-y += rte_event_ring.c
SRCS-y += rte_event_eth_rx_adapter.c
2019-06-25 11:12:58 +00:00
SRCS-y += rte_event_timer_adapter.c
SRCS-y += rte_event_crypto_adapter.c
SRCS-y += rte_event_eth_tx_adapter.c
2017-04-21 10:43:26 +00:00
# export include files
SYMLINK-y-include += rte_eventdev.h
SYMLINK-y-include += rte_eventdev_pmd.h
SYMLINK-y-include += rte_eventdev_pmd_pci.h
SYMLINK-y-include += rte_eventdev_pmd_vdev.h
SYMLINK-y-include += rte_event_ring.h
SYMLINK-y-include += rte_event_eth_rx_adapter.h
2019-06-25 11:12:58 +00:00
SYMLINK-y-include += rte_event_timer_adapter.h
SYMLINK-y-include += rte_event_timer_adapter_pmd.h
SYMLINK-y-include += rte_event_crypto_adapter.h
SYMLINK-y-include += rte_event_eth_tx_adapter.h
2017-04-21 10:43:26 +00:00
# versioning export map
EXPORT_MAP := rte_eventdev_version.map
2017-04-21 10:43:26 +00:00
include $(RTE_SDK)/mk/rte.lib.mk