blob: 00763ea7e7c147db44b4c7bb0f9b880e1a15fb7e [file] [log] [blame]
bigbiff bigbiff9c754052013-01-09 09:09:08 -05001# Copyright (C) 2009 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14#
15LOCAL_PATH := $(call my-dir)
16
17include $(CLEAR_VARS)
18
19LOCAL_SRC_FILES := \
Matt Mower523a0592015-12-13 11:31:00 -060020 android/statvfs.c \
Dees_Troye34c1332013-02-06 19:13:00 +000021 buffer.c \
bigbiff bigbiff9c754052013-01-09 09:09:08 -050022 cuse_lowlevel.c \
23 fuse.c \
24 fuse_kern_chan.c \
25 fuse_loop.c \
26 fuse_loop_mt.c \
27 fuse_lowlevel.c \
28 fuse_mt.c fuse_opt.c \
29 fuse_session.c \
30 fuse_signals.c \
31 helper.c \
32 mount.c \
33 mount_util.c \
34 ulockmgr.c
35
36LOCAL_C_INCLUDES := \
Matt Mower523a0592015-12-13 11:31:00 -060037 $(LOCAL_PATH)/android \
bigbiff bigbiff9c754052013-01-09 09:09:08 -050038 $(LOCAL_PATH)/include
39
40LOCAL_SHARED_LIBRARIES := \
Matt Mower523a0592015-12-13 11:31:00 -060041 libutils
bigbiff bigbiff9c754052013-01-09 09:09:08 -050042
43LOCAL_CFLAGS := \
44 -D_FILE_OFFSET_BITS=64 \
Motorhead19911c39bc62014-06-12 15:56:53 -070045 -DFUSE_USE_VERSION=26 \
46 -fno-strict-aliasing
bigbiff bigbiff9c754052013-01-09 09:09:08 -050047
Ethan Yonker58f21322018-08-24 11:17:36 -050048LOCAL_CFLAGS += -Wno-pointer-arith -Wno-sign-compare -Wno-unused-parameter
49
Dees_Troydf09c8b2013-08-06 18:00:13 +000050LOCAL_MODULE := libfusetwrp
bigbiff bigbiff9c754052013-01-09 09:09:08 -050051LOCAL_MODULE_TAGS := optional
52
53include $(BUILD_STATIC_LIBRARY)