build: disable experimental API check internally
[dpdk.git] / drivers / raw / ntb / Makefile
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2019 Intel Corporation
3
4 include $(RTE_SDK)/mk/rte.vars.mk
5
6 #
7 # library name
8 #
9 LIB = librte_rawdev_ntb.a
10
11 CFLAGS += -O3
12 CFLAGS += $(WERROR_FLAGS)
13 LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool
14 LDLIBS += -lrte_pci -lrte_bus_pci
15 LDLIBS += -lrte_rawdev
16
17 EXPORT_MAP := rte_rawdev_ntb_version.map
18
19 #
20 # all source are stored in SRCS-y
21 #
22 SRCS-$(CONFIG_RTE_LIBRTE_PMD_NTB_RAWDEV) += ntb.c
23 SRCS-$(CONFIG_RTE_LIBRTE_PMD_NTB_RAWDEV) += ntb_hw_intel.c
24
25 # install this header file
26 SYMLINK-$(CONFIG_RTE_LIBRTE_PMD_NTB_RAWDEV)-include := rte_pmd_ntb.h
27
28 include $(RTE_SDK)/mk/rte.lib.mk