net/mlx5: fix synchronization on polling Rx completions
[dpdk.git] / drivers / net / vdev_netvsc / Makefile
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright 2017 6WIND S.A.
3 # Copyright 2017 Mellanox Technologies, Ltd.
4
5 include $(RTE_SDK)/mk/rte.vars.mk
6
7 # Properties of the generated library.
8 LIB = librte_pmd_vdev_netvsc.a
9 LIBABIVER := 1
10 EXPORT_MAP := rte_pmd_vdev_netvsc_version.map
11
12 # Additional compilation flags.
13 CFLAGS += -O3
14 CFLAGS += -g
15 CFLAGS += -Wall -Wextra
16 CFLAGS += -D_XOPEN_SOURCE=600
17 CFLAGS += -D_BSD_SOURCE
18 CFLAGS += -D_DEFAULT_SOURCE
19 CFLAGS += $(WERROR_FLAGS)
20
21 # Dependencies.
22 LDLIBS += -lrte_bus_vdev
23 LDLIBS += -lrte_eal
24 LDLIBS += -lrte_ethdev
25 LDLIBS += -lrte_kvargs
26 LDLIBS += -lrte_net
27
28 # Source files.
29 SRCS-$(CONFIG_RTE_LIBRTE_VDEV_NETVSC_PMD) += vdev_netvsc.c
30
31 include $(RTE_SDK)/mk/rte.lib.mk