bigbiff bigbiff | 9c75405 | 2013-01-09 09:09:08 -0500 | [diff] [blame] | 1 | # 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 | # |
| 15 | LOCAL_PATH := $(call my-dir) |
| 16 | |
| 17 | include $(CLEAR_VARS) |
| 18 | |
| 19 | LOCAL_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 | |
| 34 | LOCAL_C_INCLUDES := \ |
| 35 | $(LOCAL_PATH)/include |
| 36 | |
| 37 | LOCAL_SHARED_LIBRARIES := \ |
| 38 | libutils libdl |
| 39 | |
| 40 | LOCAL_CFLAGS := \ |
| 41 | -D_FILE_OFFSET_BITS=64 \ |
| 42 | -DFUSE_USE_VERSION=26 |
| 43 | |
| 44 | LOCAL_MODULE := libfuse |
| 45 | LOCAL_MODULE_TAGS := optional |
| 46 | |
| 47 | include $(BUILD_STATIC_LIBRARY) |
| 48 | #include $(BUILD_SHARED_LIBRARY) |
| 49 | |
| 50 | include $(CLEAR_VARS) |
| 51 | |
| 52 | LOCAL_SRC_FILES := \ |
| 53 | fusexmp.c |
| 54 | |
| 55 | LOCAL_C_INCLUDES := \ |
| 56 | $(LOCAL_PATH)/include |
| 57 | |
| 58 | LOCAL_CFLAGS := -D_FILE_OFFSET_BITS=64 |
| 59 | |
| 60 | LOCAL_MODULE := fusexmp |
| 61 | LOCAL_MODULE_TAGS := optional |
| 62 | |
| 63 | LOCAL_STATIC_LIBRARIES := libfuse |
| 64 | |
| 65 | include $(BUILD_EXECUTABLE) |