• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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# Targets
12MODULE := libpermission_service${TARG}.a
13
14# This library only provides 32-bit headers of libbteeos.
15# If we want 64-bit headers of libteeos, we should depend on libac temporarily.
16
17CPPFLAGS += -I$(TEELIB)/libpermission_service/include
18CPPFLAGS += -I$(TEELIB)/libpermission_service/src
19CPPFLAGS += -I$(TEELIB)/libteeos/include/tee
20CPPFLAGS += -I$(TEELIB)/libteeos/include/legacy
21CPPFLAGS += -I$(TEELIB)/libcrypto_hal/include
22CPPFLAGS += -I$(TEELIB)/libswcrypto_engine/include
23CPPFLAGS += -I$(TEELIB)/libteeagentcommon_client/include
24CPPFLAGS += -I$(TEELIB)/libteemem/include
25CPPFLAGS += -I$(SYSLIB)/libelf_verify/include
26
27CFILES := $(wildcard src/permsrv_api_imp.c)
28CFILES += $(wildcard src/permsrv_api.c)
29
30include $(BUILD_LIB)/lib-common.mk
31