10d163575Sopenharmony_ci# Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
20d163575Sopenharmony_ci# Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved.
30d163575Sopenharmony_ci#
40d163575Sopenharmony_ci# Redistribution and use in source and binary forms, with or without modification,
50d163575Sopenharmony_ci# are permitted provided that the following conditions are met:
60d163575Sopenharmony_ci#
70d163575Sopenharmony_ci# 1. Redistributions of source code must retain the above copyright notice, this list of
80d163575Sopenharmony_ci#    conditions and the following disclaimer.
90d163575Sopenharmony_ci#
100d163575Sopenharmony_ci# 2. Redistributions in binary form must reproduce the above copyright notice, this list
110d163575Sopenharmony_ci#    of conditions and the following disclaimer in the documentation and/or other materials
120d163575Sopenharmony_ci#    provided with the distribution.
130d163575Sopenharmony_ci#
140d163575Sopenharmony_ci# 3. Neither the name of the copyright holder nor the names of its contributors may be used
150d163575Sopenharmony_ci#    to endorse or promote products derived from this software without specific prior written
160d163575Sopenharmony_ci#    permission.
170d163575Sopenharmony_ci#
180d163575Sopenharmony_ci# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
190d163575Sopenharmony_ci# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
200d163575Sopenharmony_ci# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
210d163575Sopenharmony_ci# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
220d163575Sopenharmony_ci# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
230d163575Sopenharmony_ci# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
240d163575Sopenharmony_ci# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
250d163575Sopenharmony_ci# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
260d163575Sopenharmony_ci# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
270d163575Sopenharmony_ci# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
280d163575Sopenharmony_ci# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
290d163575Sopenharmony_ci
300d163575Sopenharmony_ciinclude $(LITEOSTOPDIR)/config.mk
310d163575Sopenharmony_ci
320d163575Sopenharmony_ciMODULE_NAME := $(notdir $(shell pwd))
330d163575Sopenharmony_ciLOCAL_SRCS := \
340d163575Sopenharmony_ci$(LITEOSTOPDIR)/fs/vfs/mount.c \
350d163575Sopenharmony_ci$(LITEOSTOPDIR)/fs/vfs/vnode.c \
360d163575Sopenharmony_ci$(LITEOSTOPDIR)/fs/vfs/path_cache.c \
370d163575Sopenharmony_ci$(LITEOSTOPDIR)/fs/vfs/vnode_hash.c \
380d163575Sopenharmony_ci$(LITEOSTOPDIR)/fs/vfs/epoll/fs_epoll.c \
390d163575Sopenharmony_ci$(LITEOSTHIRDPARTY)/NuttX/fs/vfs/fs_close.c \
400d163575Sopenharmony_ci$(LITEOSTHIRDPARTY)/NuttX/fs/vfs/fs_dup2.c \
410d163575Sopenharmony_ci$(LITEOSTHIRDPARTY)/NuttX/fs/vfs/fs_dup.c \
420d163575Sopenharmony_ci$(LITEOSTHIRDPARTY)/NuttX/fs/vfs/fs_dupfd2.c \
430d163575Sopenharmony_ci$(LITEOSTHIRDPARTY)/NuttX/fs/vfs/fs_dupfd.c \
440d163575Sopenharmony_ci$(LITEOSTHIRDPARTY)/NuttX/fs/vfs/fs_fcntl.c \
450d163575Sopenharmony_ci$(LITEOSTHIRDPARTY)/NuttX/fs/vfs/fs_fsync.c \
460d163575Sopenharmony_ci$(LITEOSTHIRDPARTY)/NuttX/fs/vfs/fs_getfilep.c \
470d163575Sopenharmony_ci$(LITEOSTHIRDPARTY)/NuttX/fs/vfs/fs_ioctl.c \
480d163575Sopenharmony_ci$(LITEOSTHIRDPARTY)/NuttX/fs/vfs/fs_lseek.c \
490d163575Sopenharmony_ci$(LITEOSTHIRDPARTY)/NuttX/fs/vfs/fs_lseek64.c \
500d163575Sopenharmony_ci$(LITEOSTHIRDPARTY)/NuttX/fs/vfs/fs_mkdir.c \
510d163575Sopenharmony_ci$(LITEOSTHIRDPARTY)/NuttX/fs/vfs/fs_open.c \
520d163575Sopenharmony_ci$(LITEOSTHIRDPARTY)/NuttX/fs/vfs/fs_poll.c \
530d163575Sopenharmony_ci$(LITEOSTHIRDPARTY)/NuttX/fs/vfs/fs_pread.c \
540d163575Sopenharmony_ci$(LITEOSTHIRDPARTY)/NuttX/fs/vfs/fs_pread64.c \
550d163575Sopenharmony_ci$(LITEOSTHIRDPARTY)/NuttX/fs/vfs/fs_pwrite.c \
560d163575Sopenharmony_ci$(LITEOSTHIRDPARTY)/NuttX/fs/vfs/fs_pwrite64.c \
570d163575Sopenharmony_ci$(LITEOSTHIRDPARTY)/NuttX/fs/vfs/fs_read.c \
580d163575Sopenharmony_ci$(LITEOSTHIRDPARTY)/NuttX/fs/vfs/fs_rename.c \
590d163575Sopenharmony_ci$(LITEOSTHIRDPARTY)/NuttX/fs/vfs/fs_rmdir.c \
600d163575Sopenharmony_ci$(LITEOSTHIRDPARTY)/NuttX/fs/vfs/fs_select.c \
610d163575Sopenharmony_ci$(LITEOSTHIRDPARTY)/NuttX/fs/vfs/fs_sendfile.c \
620d163575Sopenharmony_ci$(LITEOSTHIRDPARTY)/NuttX/fs/vfs/fs_stat.c \
630d163575Sopenharmony_ci$(LITEOSTHIRDPARTY)/NuttX/fs/vfs/fs_statfs.c \
640d163575Sopenharmony_ci$(LITEOSTHIRDPARTY)/NuttX/fs/vfs/fs_truncate.c \
650d163575Sopenharmony_ci$(LITEOSTHIRDPARTY)/NuttX/fs/vfs/fs_truncate64.c \
660d163575Sopenharmony_ci$(LITEOSTHIRDPARTY)/NuttX/fs/vfs/fs_unlink.c \
670d163575Sopenharmony_ci$(LITEOSTHIRDPARTY)/NuttX/fs/vfs/fs_link.c \
680d163575Sopenharmony_ci$(LITEOSTHIRDPARTY)/NuttX/fs/vfs/fs_readlink.c \
690d163575Sopenharmony_ci$(LITEOSTHIRDPARTY)/NuttX/fs/vfs/fs_symlink.c \
700d163575Sopenharmony_ci$(LITEOSTHIRDPARTY)/NuttX/fs/vfs/fs_write.c \
710d163575Sopenharmony_ci$(wildcard operation/*.c) \
720d163575Sopenharmony_ci\
730d163575Sopenharmony_ci$(LITEOSTHIRDPARTY)/NuttX/fs/inode/fs_files.c \
740d163575Sopenharmony_ci\
750d163575Sopenharmony_ci$(LITEOSTHIRDPARTY)/NuttX/fs/dirent/fs_closedir.c \
760d163575Sopenharmony_ci$(LITEOSTHIRDPARTY)/NuttX/fs/dirent/fs_opendir.c \
770d163575Sopenharmony_ci$(LITEOSTHIRDPARTY)/NuttX/fs/dirent/fs_readdir.c \
780d163575Sopenharmony_ci$(LITEOSTHIRDPARTY)/NuttX/fs/dirent/fs_rewinddir.c \
790d163575Sopenharmony_ci$(LITEOSTHIRDPARTY)/NuttX/fs/dirent/fs_seekdir.c \
800d163575Sopenharmony_ci$(LITEOSTHIRDPARTY)/NuttX/fs/dirent/fs_telldir.c \
810d163575Sopenharmony_ci\
820d163575Sopenharmony_ci$(LITEOSTHIRDPARTY)/NuttX/fs/mount/fs_mount.c \
830d163575Sopenharmony_ci$(LITEOSTHIRDPARTY)/NuttX/fs/mount/fs_umount.c \
840d163575Sopenharmony_ci$(LITEOSTHIRDPARTY)/NuttX/fs/mount/fs_sync.c \
850d163575Sopenharmony_ci\
860d163575Sopenharmony_ci$(LITEOSTHIRDPARTY)/NuttX/fs/driver/fs_blockproxy.c \
870d163575Sopenharmony_ci$(LITEOSTHIRDPARTY)/NuttX/fs/mount/fs_foreachmountpoint.c \
880d163575Sopenharmony_ci$(LITEOSTHIRDPARTY)/NuttX/fs/driver/fs_findblockdriver.c \
890d163575Sopenharmony_ci$(LITEOSTHIRDPARTY)/NuttX/fs/driver/fs_openblockdriver.c \
900d163575Sopenharmony_ci$(LITEOSTHIRDPARTY)/NuttX/fs/driver/fs_closeblockdriver.c \
910d163575Sopenharmony_ci$(LITEOSTHIRDPARTY)/NuttX/fs/driver/fs_registerblockdriver.c \
920d163575Sopenharmony_ci$(LITEOSTHIRDPARTY)/NuttX/fs/driver/fs_registerdriver.c \
930d163575Sopenharmony_ci$(LITEOSTHIRDPARTY)/NuttX/fs/driver/fs_unregisterblockdriver.c \
940d163575Sopenharmony_ci$(LITEOSTHIRDPARTY)/NuttX/fs/driver/fs_unregisterdriver.c \
950d163575Sopenharmony_ci\
960d163575Sopenharmony_ci$(wildcard vfs_cmd/*.c)
970d163575Sopenharmony_ci
980d163575Sopenharmony_ciLOCAL_INCLUDE := \
990d163575Sopenharmony_ci	-I $(LITEOSTOPDIR)/drivers/char/bch/include\
1000d163575Sopenharmony_ci	-I $(LITEOSTOPDIR)/syscall\
1010d163575Sopenharmony_ci	-I $(LITEOSTOPDIR)/fs/zpfs/include
1020d163575Sopenharmony_ci
1030d163575Sopenharmony_ciLOCAL_FLAGS := $(LOCAL_INCLUDE)
1040d163575Sopenharmony_ci
1050d163575Sopenharmony_ciinclude $(MODULE)
106