build: disable experimental API check internally
[dpdk.git] / drivers / vdpa / ifc / Makefile
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2018 Intel Corporation
3
4 include $(RTE_SDK)/mk/rte.vars.mk
5
6 #
7 # library name
8 #
9 LIB = librte_pmd_ifc.a
10
11 LDLIBS += -lpthread
12 LDLIBS += -lrte_eal -lrte_pci -lrte_vhost -lrte_bus_pci
13 LDLIBS += -lrte_kvargs
14
15 CFLAGS += -O3
16 CFLAGS += $(WERROR_FLAGS)
17
18 #
19 # Add extra flags for base driver source files to disable warnings in them
20 #
21 BASE_DRIVER_OBJS=$(sort $(patsubst %.c,%.o,$(notdir $(wildcard $(SRCDIR)/base/*.c))))
22
23 VPATH += $(SRCDIR)/base
24
25 EXPORT_MAP := rte_pmd_ifc_version.map
26
27 #
28 # all source are stored in SRCS-y
29 #
30 SRCS-$(CONFIG_RTE_LIBRTE_IFC_PMD) += ifcvf_vdpa.c
31 SRCS-$(CONFIG_RTE_LIBRTE_IFC_PMD) += ifcvf.c
32
33 include $(RTE_SDK)/mk/rte.lib.mk