net/mlx4: fix RxQ errors stat
[dpdk.git] / drivers / event / sw / Makefile
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2016-2017 Intel Corporation
3
4 include $(RTE_SDK)/mk/rte.vars.mk
5
6 # library name
7 LIB = librte_pmd_sw_event.a
8
9 # build flags
10 CFLAGS += -DALLOW_EXPERIMENTAL_API
11 CFLAGS += -O3
12 CFLAGS += $(WERROR_FLAGS)
13 # for older GCC versions, allow us to initialize an event using
14 # designated initializers.
15 ifeq ($(CONFIG_RTE_TOOLCHAIN_GCC),y)
16 ifeq ($(shell test $(GCC_VERSION) -le 50 && echo 1), 1)
17 CFLAGS += -Wno-missing-field-initializers
18 endif
19 endif
20 LDLIBS += -lrte_eal -lrte_eventdev -lrte_kvargs -lrte_ring
21 LDLIBS += -lrte_mempool -lrte_mbuf
22 LDLIBS += -lrte_bus_vdev
23
24 # library version
25 LIBABIVER := 1
26
27 # versioning export map
28 EXPORT_MAP := rte_pmd_sw_event_version.map
29
30 # library source files
31 SRCS-$(CONFIG_RTE_LIBRTE_PMD_SW_EVENTDEV) += sw_evdev.c
32 SRCS-$(CONFIG_RTE_LIBRTE_PMD_SW_EVENTDEV) += sw_evdev_worker.c
33 SRCS-$(CONFIG_RTE_LIBRTE_PMD_SW_EVENTDEV) += sw_evdev_scheduler.c
34 SRCS-$(CONFIG_RTE_LIBRTE_PMD_SW_EVENTDEV) += sw_evdev_xstats.c
35 SRCS-$(CONFIG_RTE_LIBRTE_PMD_SW_EVENTDEV) += sw_evdev_selftest.c
36
37 # export include files
38 SYMLINK-y-include +=
39
40 include $(RTE_SDK)/mk/rte.lib.mk