1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2018 Intel Corporation
4 include $(RTE_SDK)/mk/rte.vars.mk
9 LIB = librte_pmd_ifpga_rawdev.a
11 CFLAGS += -DALLOW_EXPERIMENTAL_API
13 CFLAGS += $(WERROR_FLAGS)
14 CFLAGS += -I$(RTE_SDK)/drivers/bus/ifpga
15 CFLAGS += -I$(RTE_SDK)/drivers/raw/ifpga_rawdev
17 LDLIBS += -lrte_rawdev
18 LDLIBS += -lrte_bus_vdev
19 LDLIBS += -lrte_kvargs
20 LDLIBS += -lrte_bus_pci
21 LDLIBS += -lrte_bus_ifpga
23 EXPORT_MAP := rte_pmd_ifpga_rawdev_version.map
27 VPATH += $(SRCDIR)/base
29 include $(RTE_SDK)/drivers/raw/ifpga_rawdev/base/Makefile
32 # all source are stored in SRCS-y
34 SRCS-$(CONFIG_RTE_LIBRTE_PMD_IFPGA_RAWDEV) += ifpga_rawdev.c
36 include $(RTE_SDK)/mk/rte.lib.mk