1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2010-2016 Intel Corporation
4 include $(RTE_SDK)/mk/rte.vars.mk
9 LIB = librte_pmd_vhost.a
12 LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
13 LDLIBS += -lrte_ethdev -lrte_net -lrte_kvargs -lrte_vhost
14 LDLIBS += -lrte_bus_vdev
17 CFLAGS += $(WERROR_FLAGS)
19 EXPORT_MAP := rte_pmd_vhost_version.map
22 # all source are stored in SRCS-y
24 SRCS-$(CONFIG_RTE_LIBRTE_PMD_VHOST) += rte_eth_vhost.c
27 # Export include files
29 SYMLINK-y-include += rte_eth_vhost.h
31 include $(RTE_SDK)/mk/rte.lib.mk