]>
Commit | Line | Data |
---|---|---|
f67539c2 TL |
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 | CFLAGS += -O3 | |
14 | CFLAGS += $(WERROR_FLAGS) | |
15 | LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool | |
16 | LDLIBS += -lrte_ethdev -lrte_kvargs -lrte_net | |
17 | LDLIBS += -lrte_hash | |
18 | LDLIBS += -lrte_bus_vdev | |
19 | ||
20 | # | |
21 | # all source are stored in SRCS-y | |
22 | # | |
23 | SRCS-$(CONFIG_RTE_LIBRTE_PMD_MEMIF) += rte_eth_memif.c | |
24 | SRCS-$(CONFIG_RTE_LIBRTE_PMD_MEMIF) += memif_socket.c | |
25 | ||
26 | include $(RTE_SDK)/mk/rte.lib.mk |