1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright 2018-2019 Cisco Systems, Inc. All rights reserved.
4 include $(RTE_SDK)/mk/rte.vars.mk
9 LIB = librte_pmd_memif.a
11 EXPORT_MAP := rte_pmd_memif_version.map
14 CFLAGS += $(WERROR_FLAGS)
15 CFLAGS += -DALLOW_EXPERIMENTAL_API
17 # - rte_intr_callback_unregister_pending
18 # - rte_mp_action_register
20 # - rte_mp_request_sync
21 # - rte_mcfg_get_single_file_segments
22 LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool
23 LDLIBS += -lrte_ethdev -lrte_kvargs -lrte_net
25 LDLIBS += -lrte_bus_vdev
28 # all source are stored in SRCS-y
30 SRCS-$(CONFIG_RTE_LIBRTE_PMD_MEMIF) += rte_eth_memif.c
31 SRCS-$(CONFIG_RTE_LIBRTE_PMD_MEMIF) += memif_socket.c
33 include $(RTE_SDK)/mk/rte.lib.mk