build: use static deps for pkg-config libs.private
[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 # library version
11 LIBABIVER := 6
12
13 # build flags
14 CFLAGS += -DALLOW_EXPERIMENTAL_API
15 CFLAGS += -O3
16 CFLAGS += $(WERROR_FLAGS)
17 ifeq ($(CONFIG_RTE_EXEC_ENV_LINUXAPP),y)
18 CFLAGS += -DLINUX
19 else
20 CFLAGS += -DBSD
21 endif
22 LDLIBS += -lrte_eal -lrte_ring -lrte_ethdev -lrte_hash -lrte_mempool -lrte_timer
23 LDLIBS += -lrte_mbuf -lrte_cryptodev -lpthread
24
25 # library source files
26 SRCS-y += rte_eventdev.c
27 SRCS-y += rte_event_ring.c
28 SRCS-y += rte_event_eth_rx_adapter.c
29 SRCS-y += rte_event_timer_adapter.c
30 SRCS-y += rte_event_crypto_adapter.c
31 SRCS-y += rte_event_eth_tx_adapter.c
32
33 # export include files
34 SYMLINK-y-include += rte_eventdev.h
35 SYMLINK-y-include += rte_eventdev_pmd.h
36 SYMLINK-y-include += rte_eventdev_pmd_pci.h
37 SYMLINK-y-include += rte_eventdev_pmd_vdev.h
38 SYMLINK-y-include += rte_event_ring.h
39 SYMLINK-y-include += rte_event_eth_rx_adapter.h
40 SYMLINK-y-include += rte_event_timer_adapter.h
41 SYMLINK-y-include += rte_event_timer_adapter_pmd.h
42 SYMLINK-y-include += rte_event_crypto_adapter.h
43 SYMLINK-y-include += rte_event_eth_tx_adapter.h
44
45 # versioning export map
46 EXPORT_MAP := rte_eventdev_version.map
47
48 include $(RTE_SDK)/mk/rte.lib.mk