2018-01-09 13:13:48 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
# Copyright(c) 2010-2014 Intel Corporation.
|
|
|
|
# Copyright(c) 2014 6WIND S.A.
|
|
|
|
# All rights reserved.
|
2013-09-18 10:00:00 +00:00
|
|
|
|
|
|
|
include $(RTE_SDK)/mk/rte.vars.mk
|
|
|
|
|
|
|
|
#
|
|
|
|
# library name
|
|
|
|
#
|
|
|
|
LIB = librte_pmd_pcap.a
|
|
|
|
|
|
|
|
CFLAGS += -O3
|
|
|
|
CFLAGS += $(WERROR_FLAGS)
|
2015-10-21 14:18:27 +00:00
|
|
|
LDLIBS += -lpcap
|
2017-10-12 16:04:21 +00:00
|
|
|
LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
|
|
|
|
LDLIBS += -lrte_ethdev -lrte_net -lrte_kvargs
|
2017-11-07 06:54:21 +00:00
|
|
|
LDLIBS += -lrte_bus_vdev
|
2013-09-18 10:00:00 +00:00
|
|
|
|
2015-02-02 17:40:20 +00:00
|
|
|
EXPORT_MAP := rte_pmd_pcap_version.map
|
|
|
|
|
2015-02-02 17:40:21 +00:00
|
|
|
LIBABIVER := 1
|
|
|
|
|
2013-09-18 10:00:00 +00:00
|
|
|
#
|
|
|
|
# all source are stored in SRCS-y
|
|
|
|
#
|
2013-11-08 02:00:00 +00:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_PMD_PCAP) += rte_eth_pcap.c
|
2013-09-18 10:00:00 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Export include files
|
|
|
|
#
|
2014-04-11 07:36:52 +00:00
|
|
|
SYMLINK-y-include +=
|
2013-09-18 10:00:00 +00:00
|
|
|
|
|
|
|
include $(RTE_SDK)/mk/rte.lib.mk
|