1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright 2017 6WIND S.A.
3 # Copyright 2017 Mellanox Technologies, Ltd.
5 include $(RTE_SDK)/mk/rte.vars.mk
7 # Properties of the generated library.
8 LIB = librte_pmd_vdev_netvsc.a
10 EXPORT_MAP := rte_pmd_vdev_netvsc_version.map
12 # Additional compilation flags.
15 CFLAGS += -Wall -Wextra
16 CFLAGS += -D_XOPEN_SOURCE=600
17 CFLAGS += -D_BSD_SOURCE
18 CFLAGS += -D_DEFAULT_SOURCE
19 CFLAGS += $(WERROR_FLAGS)
22 LDLIBS += -lrte_bus_vdev
24 LDLIBS += -lrte_ethdev
25 LDLIBS += -lrte_kvargs
29 SRCS-$(CONFIG_RTE_LIBRTE_VDEV_NETVSC_PMD) += vdev_netvsc.c
31 include $(RTE_SDK)/mk/rte.lib.mk