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:
6 # http://www.apache.org/licenses/LICENSE-2.0
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.
15 $(error "Please define RTE_SDK environment variable")
18 # Default target, can be overwritten by command line or environment
19 RTE_TARGET ?= x86_64-native-linuxapp-gcc
21 include $(RTE_SDK)/mk/rte.vars.mk
27 CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR)
29 EXPORT_MAP := tle_l4p_version.map
36 SRCS-y += stream_table.c
38 SRCS-y += tcp_stream.c
40 SRCS-y += udp_stream.c
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
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
55 include $(TLDK_ROOT)/mk/tle.lib.mk