vdpa/mlx5: support queue update
[dpdk.git] / drivers / net / nfb / Makefile
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2019 Cesnet
3 # Copyright(c) 2019 Netcope Technologies, a.s. <info@netcope.com>
4 # All rights reserved.
5
6 include $(RTE_SDK)/mk/rte.vars.mk
7
8 #
9 # library name
10 #
11 LIB = librte_pmd_nfb.a
12
13 INCLUDES :=-I$(SRCDIR)
14
15
16 CFLAGS += -O3
17 CFLAGS += $(WERROR_FLAGS)
18 CFLAGS += $(shell command -v pkg-config > /dev/null 2>&1 && pkg-config --cflags netcope-common)
19 LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_kvargs
20 LDLIBS += -lrte_ethdev -lrte_net
21 LDLIBS += -lrte_bus_pci
22 LDLIBS += $(shell command -v pkg-config > /dev/null 2>&1 && pkg-config --libs netcope-common)
23
24 EXPORT_MAP := rte_pmd_nfb_version.map
25
26 #
27 # all source are stored in SRCS-y
28 #
29 SRCS-$(CONFIG_RTE_LIBRTE_NFB_PMD) += nfb_ethdev.c
30 SRCS-$(CONFIG_RTE_LIBRTE_NFB_PMD) += nfb_rx.c
31 SRCS-$(CONFIG_RTE_LIBRTE_NFB_PMD) += nfb_tx.c
32 SRCS-$(CONFIG_RTE_LIBRTE_NFB_PMD) += nfb_stats.c
33 SRCS-$(CONFIG_RTE_LIBRTE_NFB_PMD) += nfb_rxmode.c
34
35 #
36 # Export include files
37 #
38 SYMLINK-y-include +=
39
40 include $(RTE_SDK)/mk/rte.lib.mk