]>
Commit | Line | Data |
---|---|---|
11fdf7f2 TL |
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 | ||
11fdf7f2 | 10 | # build flags |
11fdf7f2 TL |
11 | CFLAGS += -O3 |
12 | CFLAGS += $(WERROR_FLAGS) | |
9f95a23c | 13 | ifeq ($(CONFIG_RTE_EXEC_ENV_LINUX),y) |
11fdf7f2 TL |
14 | CFLAGS += -DLINUX |
15 | else | |
16 | CFLAGS += -DBSD | |
17 | endif | |
18 | LDLIBS += -lrte_eal -lrte_ring -lrte_ethdev -lrte_hash -lrte_mempool -lrte_timer | |
19 | LDLIBS += -lrte_mbuf -lrte_cryptodev -lpthread | |
20 | ||
21 | # library source files | |
22 | SRCS-y += rte_eventdev.c | |
23 | SRCS-y += rte_event_ring.c | |
f67539c2 | 24 | SRCS-y += eventdev_trace_points.c |
11fdf7f2 TL |
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 | |
9f95a23c | 28 | SRCS-y += rte_event_eth_tx_adapter.c |
11fdf7f2 TL |
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 | |
f67539c2 TL |
35 | SYMLINK-y-include += rte_eventdev_trace.h |
36 | SYMLINK-y-include += rte_eventdev_trace_fp.h | |
11fdf7f2 TL |
37 | SYMLINK-y-include += rte_event_ring.h |
38 | SYMLINK-y-include += rte_event_eth_rx_adapter.h | |
39 | SYMLINK-y-include += rte_event_timer_adapter.h | |
40 | SYMLINK-y-include += rte_event_timer_adapter_pmd.h | |
41 | SYMLINK-y-include += rte_event_crypto_adapter.h | |
9f95a23c | 42 | SYMLINK-y-include += rte_event_eth_tx_adapter.h |
11fdf7f2 TL |
43 | |
44 | # versioning export map | |
45 | EXPORT_MAP := rte_eventdev_version.map | |
46 | ||
47 | include $(RTE_SDK)/mk/rte.lib.mk |