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 11# TARGET is an app 12TARGET := huk_service${TARG}.elf 13 14include $(BUILD_CONFIG)/var.mk 15 16CFILES := $(wildcard src/*.c) 17 18inc-flags += -I$(SERVICES_PATH)/huk_service/include 19inc-flags += -I$(SERVICES_PATH)/huk_service/src 20inc-flags += -I$(TEELIB)/libteeos/include/tee 21inc-flags += -I$(TEELIB)/libswcrypto_engine/include/ 22inc-flags += -I$(TEELIB)/libcrypto_hal/include/ 23inc-flags += -I$(TEELIB)/libteeconfig/include/ 24inc-flags += -I$(TEELIB)/libteeconfig/include/TEE_ext/ 25inc-flags += -I$(TEELIB)/libtee_shared/include/ 26inc-flags += -I$(TEELIB)/libteeagentcommon_client/include 27inc-flags += -I$(TEELIB)/libteemem/include 28inc-flags += -I$(TEELIB)/libteeos/include/legacy 29inc-flags += -I$(TEELIB)/libcrypto/include 30inc-flags += -I$(TEELIB)/libhuk/include 31inc-flags += -I$(TEELIB)/libssa/include 32inc-flags += -I$(TEELIB)/libssa/src 33inc-flags += -I$(TEELIB)/libipc_hal/include 34inc-flags += -I$(PREBUILD_HEADER)/sys 35 36LDFLAGS += -z noexecstack 37 38include $(BUILD_FRAMEWORK)/ta-common.mk 39include $(BUILD_CONFIG)/feature-macro.mk 40