net/bnxt: fix link during port toggle
[dpdk.git] / lib / librte_eventdev / Makefile
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2016 Cavium, Inc
3 #
4
5 include $(RTE_SDK)/mk/rte.vars.mk
6
7 # library name
8 LIB = librte_eventdev.a
9
10 # build flags
11 CFLAGS += -DALLOW_EXPERIMENTAL_API
12 CFLAGS += -O3
13 CFLAGS += $(WERROR_FLAGS)
14 ifeq ($(CONFIG_RTE_EXEC_ENV_LINUX),y)
15 CFLAGS += -DLINUX
16 else
17 CFLAGS += -DBSD
18 endif
19 LDLIBS += -lrte_eal -lrte_ring -lrte_ethdev -lrte_hash -lrte_mempool -lrte_timer
20 LDLIBS += -lrte_mbuf -lrte_cryptodev -lpthread
21
22 # library source files
23 SRCS-y += rte_eventdev.c
24 SRCS-y += rte_event_ring.c
25 SRCS-y += rte_event_eth_rx_adapter.c
26 SRCS-y += rte_event_timer_adapter.c
27 SRCS-y += rte_event_crypto_adapter.c
28 SRCS-y += rte_event_eth_tx_adapter.c
29
30 # export include files
31 SYMLINK-y-include += rte_eventdev.h
32 SYMLINK-y-include += rte_eventdev_pmd.h
33 SYMLINK-y-include += rte_eventdev_pmd_pci.h
34 SYMLINK-y-include += rte_eventdev_pmd_vdev.h
35 SYMLINK-y-include += rte_event_ring.h
36 SYMLINK-y-include += rte_event_eth_rx_adapter.h
37 SYMLINK-y-include += rte_event_timer_adapter.h
38 SYMLINK-y-include += rte_event_timer_adapter_pmd.h
39 SYMLINK-y-include += rte_event_crypto_adapter.h
40 SYMLINK-y-include += rte_event_eth_tx_adapter.h
41
42 # versioning export map
43 EXPORT_MAP := rte_eventdev_version.map
44
45 include $(RTE_SDK)/mk/rte.lib.mk