1# Copyright (C) 2022 Huawei Technologies Co., Ltd. 2# Licensed under the Mulan PSL v2. 3# You can use this software according to the terms and conditions of the Mulan PSL v2. 4# You may obtain a copy of Mulan PSL v2 at: 5# http://license.coscl.org.cn/MulanPSL2 6# THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR 7# IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR 8# PURPOSE. 9# See the Mulan PSL v2 for more details. 10 11MODULE := libteedynsrv${TARG}.a 12 13libteedynsrv_c_files += $(wildcard src/*.c) 14inc-flags += -I$(TEELIB)/libteedynsrv/include 15inc-flags += -I$(TEELIB)/libteeagentcommon_client/include 16inc-flags += -I$(TEELIB)/libteeos/include/tee 17inc-flags += -I$(TEELIB)/libteeos/include/legacy 18inc-flags += -I$(TEELIB)/libtimer/include 19inc-flags += -I$(TEELIB)/libteemem/include 20inc-flags += -I$(TEELIB)/libipc_hal/include 21inc-flags += -I$(PREBUILD_HEADER)/sys 22# Libraries 23include $(BUILD_CONFIG)/feature-macro.mk 24include $(BUILD_LIB)/lib-common.mk 25 26flags += -DCONFIG_TEE_DYN_SRV_STUB 27 28 29