OSDN Git Service

exfat: Rework build configuration
[android-x86/external-exfat.git] / libexfat / Android.mk
1 LOCAL_PATH := $(call my-dir)
2
3 common_src_files = cluster.c io.c log.c lookup.c mount.c node.c time.c utf.c utils.c
4
5 include $(CLEAR_VARS)
6 LOCAL_MODULE := libexfat
7 LOCAL_MODULE_TAGS := optional
8 LOCAL_CFLAGS = -D_FILE_OFFSET_BITS=64
9 LOCAL_SRC_FILES = $(common_src_files)
10 LOCAL_C_INCLUDES += $(LOCAL_PATH)
11 include $(BUILD_SHARED_LIBRARY)
12
13 include $(CLEAR_VARS)
14 LOCAL_MODULE := libexfat_static
15 LOCAL_MODULE_TAGS := optional
16 LOCAL_CFLAGS = -D_FILE_OFFSET_BITS=64
17 LOCAL_SRC_FILES = $(common_src_files)
18 LOCAL_C_INCLUDES += $(LOCAL_PATH)
19 LOCAL_STATIC_LIBRARIES := libfuse_static libexfat_static
20 include $(BUILD_STATIC_LIBRARY)