d7fda7f527149d66e72b84b2372a1f9d8b48b55f
[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 VPATH += $(RTE_SDK)/drivers/net/liquidio/base
21
22 #
23 # all source are stored in SRCS-y
24 #
25 SRCS-$(CONFIG_RTE_LIBRTE_LIO_PMD) += lio_ethdev.c
26 SRCS-$(CONFIG_RTE_LIBRTE_LIO_PMD) += lio_rxtx.c
27 SRCS-$(CONFIG_RTE_LIBRTE_LIO_PMD) += lio_23xx_vf.c
28 SRCS-$(CONFIG_RTE_LIBRTE_LIO_PMD) += lio_mbox.c
29
30 include $(RTE_SDK)/mk/rte.lib.mk