Revert "l4p/tcp: introduce tle_tcp_stream_establish() API"
[tldk.git] / lib / libtle_l4p / Makefile
1 # Copyright (c) 2016 Intel Corporation.
2 # Licensed under the Apache License, Version 2.0 (the "License");
3 # you may not use this file except in compliance with the License.
4 # You may obtain a copy of the License at:
5 #
6 #     http://www.apache.org/licenses/LICENSE-2.0
7 #
8 # Unless required by applicable law or agreed to in writing, software
9 # distributed under the License is distributed on an "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 # See the License for the specific language governing permissions and
12 # limitations under the License.
13
14 ifeq ($(RTE_SDK),)
15 $(error "Please define RTE_SDK environment variable")
16 endif
17
18 # Default target, can be overwritten by command line or environment
19 RTE_TARGET ?= x86_64-native-linuxapp-gcc
20
21 include $(RTE_SDK)/mk/rte.vars.mk
22
23 # library name
24 LIB = libtle_l4p.a
25
26 CFLAGS += -O3
27 CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR)
28
29 EXPORT_MAP := tle_l4p_version.map
30
31 LIBABIVER := 1
32
33 #source files
34 SRCS-y += ctx.c
35 SRCS-y += event.c
36 SRCS-y += stream_table.c
37 SRCS-y += tcp_ofo.c
38 SRCS-y += tcp_stream.c
39 SRCS-y += tcp_rxtx.c
40 SRCS-y += udp_stream.c
41 SRCS-y += udp_rxtx.c
42
43 # install this header file
44 SYMLINK-y-include += tle_ctx.h
45 SYMLINK-y-include += tle_event.h
46 SYMLINK-y-include += tle_tcp.h
47 SYMLINK-y-include += tle_udp.h
48
49 # this lib dependencies
50 DEPDIRS-y += lib/libtle_misc
51 DEPDIRS-y += lib/libtle_memtank
52 DEPDIRS-y += lib/libtle_dring
53 DEPDIRS-y += lib/libtle_timer
54
55 include $(TLDK_ROOT)/mk/tle.lib.mk