blob: 08559594bba65a814146f6445bb8b0cbf2ac07e2 [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 := \
20 cuse_lowlevel.c \
21 fuse.c \
22 fuse_kern_chan.c \
23 fuse_loop.c \
24 fuse_loop_mt.c \
25 fuse_lowlevel.c \
26 fuse_mt.c fuse_opt.c \
27 fuse_session.c \
28 fuse_signals.c \
29 helper.c \
30 mount.c \
31 mount_util.c \
32 ulockmgr.c
33
34LOCAL_C_INCLUDES := \
35 $(LOCAL_PATH)/include
36
37LOCAL_SHARED_LIBRARIES := \
38 libutils libdl
39
40LOCAL_CFLAGS := \
41 -D_FILE_OFFSET_BITS=64 \
42 -DFUSE_USE_VERSION=26
43
44LOCAL_MODULE := libfuse
45LOCAL_MODULE_TAGS := optional
46
47include $(BUILD_STATIC_LIBRARY)
48#include $(BUILD_SHARED_LIBRARY)
49
50include $(CLEAR_VARS)
51
52LOCAL_SRC_FILES := \
53 fusexmp.c
54
55LOCAL_C_INCLUDES := \
56 $(LOCAL_PATH)/include
57
58LOCAL_CFLAGS := -D_FILE_OFFSET_BITS=64
59
60LOCAL_MODULE := fusexmp
61LOCAL_MODULE_TAGS := optional
62
63LOCAL_STATIC_LIBRARIES := libfuse
64
65include $(BUILD_EXECUTABLE)