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