]>
Commit | Line | Data |
---|---|---|
9f95a23c TL |
1 | # SPDX-License-Identifier: BSD-3-Clause |
2 | # Copyright(c) 2010-2014 Intel Corporation. | |
3 | # Copyright(c) 2014 6WIND S.A. | |
4 | # All rights reserved. | |
7c673cae FG |
5 | |
6 | include $(RTE_SDK)/mk/rte.vars.mk | |
7 | ||
8 | # | |
9 | # library name | |
10 | # | |
11fdf7f2 | 11 | LIB = librte_pmd_pcap.a |
7c673cae FG |
12 | |
13 | CFLAGS += -O3 | |
14 | CFLAGS += $(WERROR_FLAGS) | |
11fdf7f2 | 15 | LDLIBS += -lpcap |
9f95a23c TL |
16 | LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring |
17 | LDLIBS += -lrte_ethdev -lrte_net -lrte_kvargs | |
18 | LDLIBS += -lrte_bus_vdev | |
7c673cae | 19 | |
11fdf7f2 | 20 | EXPORT_MAP := rte_pmd_pcap_version.map |
7c673cae FG |
21 | |
22 | LIBABIVER := 1 | |
23 | ||
24 | # | |
25 | # all source are stored in SRCS-y | |
26 | # | |
11fdf7f2 | 27 | SRCS-$(CONFIG_RTE_LIBRTE_PMD_PCAP) += rte_eth_pcap.c |
7c673cae | 28 | |
11fdf7f2 TL |
29 | # |
30 | # Export include files | |
31 | # | |
32 | SYMLINK-y-include += | |
7c673cae FG |
33 | |
34 | include $(RTE_SDK)/mk/rte.lib.mk |