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 12:00:00 +02:00
|
|
|
|
|
|
|
include $(RTE_SDK)/mk/rte.vars.mk
|
|
|
|
|
|
|
|
#
|
|
|
|
# library name
|
|
|
|
#
|
|
|
|
LIB = librte_pmd_pcap.a
|
|
|
|
|
|
|
|
CFLAGS += -O3
|
|
|
|
CFLAGS += $(WERROR_FLAGS)
|
2015-10-21 17:18:27 +03:00
|
|
|
LDLIBS += -lpcap
|
2017-10-12 18:04:21 +02: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 12:00:00 +02:00
|
|
|
|
2015-02-02 12:40:20 -05:00
|
|
|
EXPORT_MAP := rte_pmd_pcap_version.map
|
|
|
|
|
2015-02-02 12:40:21 -05:00
|
|
|
LIBABIVER := 1
|
|
|
|
|
2013-09-18 12:00:00 +02:00
|
|
|
#
|
|
|
|
# all source are stored in SRCS-y
|
|
|
|
#
|
2013-11-08 03:00:00 +01:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_PMD_PCAP) += rte_eth_pcap.c
|
2013-09-18 12:00:00 +02:00
|
|
|
|
|
|
|
#
|
|
|
|
# Export include files
|
|
|
|
#
|
2014-04-11 09:36:52 +02:00
|
|
|
SYMLINK-y-include +=
|
2013-09-18 12:00:00 +02:00
|
|
|
|
|
|
|
include $(RTE_SDK)/mk/rte.lib.mk
|