1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2016 Cavium, Inc
5 include $(RTE_SDK)/mk/rte.vars.mk
8 LIB = librte_eventdev.a
14 CFLAGS += -DALLOW_EXPERIMENTAL_API
16 CFLAGS += $(WERROR_FLAGS)
17 LDLIBS += -lrte_eal -lrte_ring -lrte_ethdev -lrte_hash -lrte_mempool -lrte_timer
18 LDLIBS += -lrte_mbuf -lrte_cryptodev
20 # library source files
21 SRCS-y += rte_eventdev.c
22 SRCS-y += rte_event_ring.c
23 SRCS-y += rte_event_eth_rx_adapter.c
24 SRCS-y += rte_event_timer_adapter.c
25 SRCS-y += rte_event_crypto_adapter.c
27 # export include files
28 SYMLINK-y-include += rte_eventdev.h
29 SYMLINK-y-include += rte_eventdev_pmd.h
30 SYMLINK-y-include += rte_eventdev_pmd_pci.h
31 SYMLINK-y-include += rte_eventdev_pmd_vdev.h
32 SYMLINK-y-include += rte_event_ring.h
33 SYMLINK-y-include += rte_event_eth_rx_adapter.h
34 SYMLINK-y-include += rte_event_timer_adapter.h
35 SYMLINK-y-include += rte_event_timer_adapter_pmd.h
36 SYMLINK-y-include += rte_event_crypto_adapter.h
38 # versioning export map
39 EXPORT_MAP := rte_eventdev_version.map
41 include $(RTE_SDK)/mk/rte.lib.mk