New upstream version 18.08
[deb_dpdk.git] / drivers / net / avp / Makefile
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2013-2017, Wind River Systems, Inc.
3
4 include $(RTE_SDK)/mk/rte.vars.mk
5
6 #
7 # library name
8 #
9 LIB = librte_pmd_avp.a
10
11 CFLAGS += -O3
12 CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR)
13 LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
14 LDLIBS += -lrte_ethdev -lrte_net -lrte_kvargs
15 LDLIBS += -lrte_bus_pci
16
17 EXPORT_MAP := rte_pmd_avp_version.map
18
19 LIBABIVER := 1
20
21 # install public header files to enable compilation of the hypervisor level
22 # dpdk application
23 SYMLINK-$(CONFIG_RTE_LIBRTE_AVP_PMD)-include += rte_avp_common.h
24 SYMLINK-$(CONFIG_RTE_LIBRTE_AVP_PMD)-include += rte_avp_fifo.h
25
26 #
27 # all source files are stored in SRCS-y
28 #
29 SRCS-$(CONFIG_RTE_LIBRTE_AVP_PMD) += avp_ethdev.c
30
31 include $(RTE_SDK)/mk/rte.lib.mk