1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2017 Intel Corporation
4 include $(RTE_SDK)/mk/rte.vars.mk
9 LIB = librte_pmd_softnic.a
11 CFLAGS += -DALLOW_EXPERIMENTAL_API
13 CFLAGS += $(WERROR_FLAGS)
14 LDLIBS += -lrte_pipeline -lrte_port -lrte_table
15 LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
16 LDLIBS += -lrte_ethdev -lrte_net -lrte_kvargs -lrte_sched
17 LDLIBS += -lrte_bus_vdev
19 EXPORT_MAP := rte_pmd_softnic_version.map
24 # all source are stored in SRCS-y
26 SRCS-$(CONFIG_RTE_LIBRTE_PMD_SOFTNIC) += rte_eth_softnic.c
27 SRCS-$(CONFIG_RTE_LIBRTE_PMD_SOFTNIC) += rte_eth_softnic_mempool.c
28 SRCS-$(CONFIG_RTE_LIBRTE_PMD_SOFTNIC) += rte_eth_softnic_swq.c
29 SRCS-$(CONFIG_RTE_LIBRTE_PMD_SOFTNIC) += rte_eth_softnic_link.c
30 SRCS-$(CONFIG_RTE_LIBRTE_PMD_SOFTNIC) += rte_eth_softnic_tm.c
31 SRCS-$(CONFIG_RTE_LIBRTE_PMD_SOFTNIC) += rte_eth_softnic_tap.c
32 SRCS-$(CONFIG_RTE_LIBRTE_PMD_SOFTNIC) += rte_eth_softnic_action.c
33 SRCS-$(CONFIG_RTE_LIBRTE_PMD_SOFTNIC) += rte_eth_softnic_pipeline.c
34 SRCS-$(CONFIG_RTE_LIBRTE_PMD_SOFTNIC) += rte_eth_softnic_thread.c
37 # Export include files
39 SYMLINK-y-include += rte_eth_softnic.h
41 include $(RTE_SDK)/mk/rte.lib.mk