Makefile revision aa97dd1c
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
14ifeq ($(RTE_SDK),)
15$(error "Please define RTE_SDK environment variable")
16endif
17
18# Default target, can be overwritten by command line or environment
19RTE_TARGET ?= x86_64-native-linuxapp-gcc
20
21include $(RTE_SDK)/mk/rte.vars.mk
22
23# library name
24LIB = libtle_timer.a
25
26CFLAGS += -O3
27CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR)
28
29EXPORT_MAP := tle_timer_version.map
30
31LIBABIVER := 1
32
33#source files
34SRCS-y += timer.c
35
36SYMLINK-y-include += tle_timer.h
37
38include $(TLDK_ROOT)/mk/tle.lib.mk
39