New upstream version 18.08
[deb_dpdk.git] / drivers / net / liquidio / Makefile
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2017 Cavium, Inc
3 #
4
5 include $(RTE_SDK)/mk/rte.vars.mk
6
7 #
8 # library name
9 #
10 LIB = librte_pmd_lio.a
11
12 CFLAGS += -O3
13 CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR)/base -I$(SRCDIR)
14 LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
15 LDLIBS += -lrte_ethdev -lrte_net -lrte_kvargs
16 LDLIBS += -lrte_bus_pci
17
18 EXPORT_MAP := rte_pmd_liquidio_version.map
19
20 LIBABIVER := 1
21
22 VPATH += $(RTE_SDK)/drivers/net/liquidio/base
23
24 #
25 # all source are stored in SRCS-y
26 #
27 SRCS-$(CONFIG_RTE_LIBRTE_LIO_PMD) += lio_ethdev.c
28 SRCS-$(CONFIG_RTE_LIBRTE_LIO_PMD) += lio_rxtx.c
29 SRCS-$(CONFIG_RTE_LIBRTE_LIO_PMD) += lio_23xx_vf.c
30 SRCS-$(CONFIG_RTE_LIBRTE_LIO_PMD) += lio_mbox.c
31
32 include $(RTE_SDK)/mk/rte.lib.mk