net/avp: remove resources when port is closed
[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 += -DALLOW_EXPERIMENTAL_API
14 CFLAGS += -O3
15 CFLAGS += -g
16 CFLAGS += -Wall -Wextra
17 CFLAGS += -D_XOPEN_SOURCE=600
18 CFLAGS += -D_BSD_SOURCE
19 CFLAGS += -D_DEFAULT_SOURCE
20 CFLAGS += $(WERROR_FLAGS)
21
22 # Dependencies.
23 LDLIBS += -lrte_bus_vdev
24 LDLIBS += -lrte_eal
25 LDLIBS += -lrte_ethdev
26 LDLIBS += -lrte_kvargs
27 LDLIBS += -lrte_net
28
29 # Source files.
30 SRCS-$(CONFIG_RTE_LIBRTE_VDEV_NETVSC_PMD) += vdev_netvsc.c
31
32 include $(RTE_SDK)/mk/rte.lib.mk