net/memif: introduce memory interface PMD
[dpdk.git] / drivers / net / memif / Makefile
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright 2018-2019 Cisco Systems, Inc.  All rights reserved.
3
4 include $(RTE_SDK)/mk/rte.vars.mk
5
6 #
7 # library name
8 #
9 LIB = librte_pmd_memif.a
10
11 EXPORT_MAP := rte_pmd_memif_version.map
12
13 LIBABIVER := 1
14
15 CFLAGS += -O3
16 CFLAGS += $(WERROR_FLAGS)
17 CFLAGS += -DALLOW_EXPERIMENTAL_API
18 # Experimantal APIs:
19 # - rte_intr_callback_unregister_pending
20 LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool
21 LDLIBS += -lrte_ethdev -lrte_kvargs
22 LDLIBS += -lrte_hash
23 LDLIBS += -lrte_bus_vdev
24
25 #
26 # all source are stored in SRCS-y
27 #
28 SRCS-$(CONFIG_RTE_LIBRTE_PMD_MEMIF) += rte_eth_memif.c
29 SRCS-$(CONFIG_RTE_LIBRTE_PMD_MEMIF) += memif_socket.c
30
31 include $(RTE_SDK)/mk/rte.lib.mk