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.
13 CFLAGS += -DALLOW_EXPERIMENTAL_API
16 CFLAGS += -Wall -Wextra
17 CFLAGS += -D_XOPEN_SOURCE=600
18 CFLAGS += -D_BSD_SOURCE
19 CFLAGS += -D_DEFAULT_SOURCE
20 CFLAGS += $(WERROR_FLAGS)
23 LDLIBS += -lrte_bus_vdev
25 LDLIBS += -lrte_ethdev
26 LDLIBS += -lrte_kvargs
30 SRCS-$(CONFIG_RTE_LIBRTE_VDEV_NETVSC_PMD) += vdev_netvsc.c
32 include $(RTE_SDK)/mk/rte.lib.mk