New upstream version 18.02
[deb_dpdk.git] / lib / librte_gso / 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_gso.a
8
9 CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3
10 LDLIBS += -lrte_eal -lrte_mbuf -lrte_ethdev -lrte_net
11 LDLIBS += -lrte_mempool
12
13 EXPORT_MAP := rte_gso_version.map
14
15 LIBABIVER := 1
16
17 #source files
18 SRCS-$(CONFIG_RTE_LIBRTE_GSO) += rte_gso.c
19 SRCS-$(CONFIG_RTE_LIBRTE_GSO) += gso_common.c
20 SRCS-$(CONFIG_RTE_LIBRTE_GSO) += gso_tcp4.c
21 SRCS-$(CONFIG_RTE_LIBRTE_GSO) += gso_tunnel_tcp4.c
22
23 # install this header file
24 SYMLINK-$(CONFIG_RTE_LIBRTE_GSO)-include += rte_gso.h
25
26 include $(RTE_SDK)/mk/rte.lib.mk