1b049dde5Sopenharmony_ci# Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved. 2b049dde5Sopenharmony_ci# Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved. 3b049dde5Sopenharmony_ci# 4b049dde5Sopenharmony_ci# Redistribution and use in source and binary forms, with or without modification, 5b049dde5Sopenharmony_ci# are permitted provided that the following conditions are met: 6b049dde5Sopenharmony_ci# 7b049dde5Sopenharmony_ci# 1. Redistributions of source code must retain the above copyright notice, this list of 8b049dde5Sopenharmony_ci# conditions and the following disclaimer. 9b049dde5Sopenharmony_ci# 10b049dde5Sopenharmony_ci# 2. Redistributions in binary form must reproduce the above copyright notice, this list 11b049dde5Sopenharmony_ci# of conditions and the following disclaimer in the documentation and/or other materials 12b049dde5Sopenharmony_ci# provided with the distribution. 13b049dde5Sopenharmony_ci# 14b049dde5Sopenharmony_ci# 3. Neither the name of the copyright holder nor the names of its contributors may be used 15b049dde5Sopenharmony_ci# to endorse or promote products derived from this software without specific prior written 16b049dde5Sopenharmony_ci# permission. 17b049dde5Sopenharmony_ci# 18b049dde5Sopenharmony_ci# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 19b049dde5Sopenharmony_ci# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 20b049dde5Sopenharmony_ci# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 21b049dde5Sopenharmony_ci# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR 22b049dde5Sopenharmony_ci# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 23b049dde5Sopenharmony_ci# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 24b049dde5Sopenharmony_ci# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 25b049dde5Sopenharmony_ci# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 26b049dde5Sopenharmony_ci# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 27b049dde5Sopenharmony_ci# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 28b049dde5Sopenharmony_ci# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29b049dde5Sopenharmony_ci 30b049dde5Sopenharmony_ciinclude $(LITEOSTOPDIR)/config.mk 31b049dde5Sopenharmony_ci 32b049dde5Sopenharmony_ciMODULE_NAME := $(notdir $(shell pwd)) 33b049dde5Sopenharmony_ci 34b049dde5Sopenharmony_ciLOCAL_SRCS += $(wildcard ./src/*.c) 35b049dde5Sopenharmony_ciLOCAL_FLAGS += -I$(LITEOSTOPDIR)/../../drivers/liteos/hievent/include 36b049dde5Sopenharmony_ci 37b049dde5Sopenharmony_ciinclude $(MODULE) 38