New upstream version 18.02
[deb_dpdk.git] / lib / librte_gro / Makefile
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2017 Intel Corporation
3
4 include $(RTE_SDK)/mk/rte.vars.mk
5
6 # library name
7 LIB = librte_gro.a
8
9 CFLAGS += -O3
10 CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR)
11 LDLIBS += -lrte_eal -lrte_mbuf -lrte_ethdev -lrte_net
12
13 EXPORT_MAP := rte_gro_version.map
14
15 LIBABIVER := 1
16
17 # source files
18 SRCS-$(CONFIG_RTE_LIBRTE_GRO) += rte_gro.c
19 SRCS-$(CONFIG_RTE_LIBRTE_GRO) += gro_tcp4.c
20 SRCS-$(CONFIG_RTE_LIBRTE_GRO) += gro_vxlan_tcp4.c
21
22 # install this header file
23 SYMLINK-$(CONFIG_RTE_LIBRTE_GRO)-include += rte_gro.h
24
25 include $(RTE_SDK)/mk/rte.lib.mk