1*a9643ea8Slogwang# 2*a9643ea8Slogwang# BSD LICENSE 3*a9643ea8Slogwang# 4*a9643ea8Slogwang# Copyright(c) 2015 Intel Corporation. All rights reserved. 5*a9643ea8Slogwang# All rights reserved. 6*a9643ea8Slogwang# 7*a9643ea8Slogwang# Redistribution and use in source and binary forms, with or without 8*a9643ea8Slogwang# modification, are permitted provided that the following conditions 9*a9643ea8Slogwang# are met: 10*a9643ea8Slogwang# 11*a9643ea8Slogwang# * Redistributions of source code must retain the above copyright 12*a9643ea8Slogwang# notice, this list of conditions and the following disclaimer. 13*a9643ea8Slogwang# * Redistributions in binary form must reproduce the above copyright 14*a9643ea8Slogwang# notice, this list of conditions and the following disclaimer in 15*a9643ea8Slogwang# the documentation and/or other materials provided with the 16*a9643ea8Slogwang# distribution. 17*a9643ea8Slogwang# * Neither the name of Intel Corporation nor the names of its 18*a9643ea8Slogwang# contributors may be used to endorse or promote products derived 19*a9643ea8Slogwang# from this software without specific prior written permission. 20*a9643ea8Slogwang# 21*a9643ea8Slogwang# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22*a9643ea8Slogwang# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23*a9643ea8Slogwang# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24*a9643ea8Slogwang# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 25*a9643ea8Slogwang# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 26*a9643ea8Slogwang# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 27*a9643ea8Slogwang# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 28*a9643ea8Slogwang# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 29*a9643ea8Slogwang# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 30*a9643ea8Slogwang# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31*a9643ea8Slogwang# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32*a9643ea8Slogwang 33*a9643ea8Slogwang# list the C files belonhing to the lthread subsystem, these are common to all lthread apps 34*a9643ea8SlogwangSRCS-y += ../common/lthread.c \ 35*a9643ea8Slogwang ../common/lthread_sched.c \ 36*a9643ea8Slogwang ../common/lthread_cond.c \ 37*a9643ea8Slogwang ../common/lthread_tls.c \ 38*a9643ea8Slogwang ../common/lthread_mutex.c \ 39*a9643ea8Slogwang ../common/lthread_diag.c \ 40*a9643ea8Slogwang ../common/arch/x86/ctx.c 41*a9643ea8Slogwang 42*a9643ea8SlogwangINCLUDES += -I$(RTE_SDK)/examples/performance-thread/common/ -I$(RTE_SDK)/examples/performance-thread/common/arch/x86/ 43