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
16 CFLAGS += $(WERROR_FLAGS)
17 CFLAGS += -DALLOW_EXPERIMENTAL_API
19 # - rte_intr_callback_unregister_pending
20 # - rte_mp_action_register
22 # - rte_mp_request_sync
23 LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool
24 LDLIBS += -lrte_ethdev -lrte_kvargs -lrte_net
26 LDLIBS += -lrte_bus_vdev
29 # all source are stored in SRCS-y
31 SRCS-$(CONFIG_RTE_LIBRTE_PMD_MEMIF) += rte_eth_memif.c
32 SRCS-$(CONFIG_RTE_LIBRTE_PMD_MEMIF) += memif_socket.c
34 include $(RTE_SDK)/mk/rte.lib.mk