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
12 CFLAGS += $(WERROR_FLAGS)
13 LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
14 LDLIBS += -lrte_ethdev -lrte_net -lrte_kvargs -lrte_sched
15 LDLIBS += -lrte_bus_vdev
17 EXPORT_MAP := rte_pmd_eth_softnic_version.map
22 # all source are stored in SRCS-y
24 SRCS-$(CONFIG_RTE_LIBRTE_PMD_SOFTNIC) += rte_eth_softnic.c
25 SRCS-$(CONFIG_RTE_LIBRTE_PMD_SOFTNIC) += rte_eth_softnic_tm.c
28 # Export include files
30 SYMLINK-y-include += rte_eth_softnic.h
32 include $(RTE_SDK)/mk/rte.lib.mk