1 LOCAL_PATH := $(call my-dir)
3 libext2_quota_src_files := \
10 libext2_quota_c_includes := external/e2fsprogs/lib
12 libext2_quota_cflags := -O2 -g -W -Wall \
20 -DHAVE_SYS_RESOURCE_H \
30 -DHAVE_LSEEK64_PROTOTYPE \
38 libext2_quota_shared_libraries := libext2fs libext2_com_err
40 libext2_quota_static_libraries := libext2fs libext2_com_err
44 LOCAL_SRC_FILES := $(libext2_quota_src_files)
45 LOCAL_C_INCLUDES := $(libext2_quota_c_includes)
46 LOCAL_CFLAGS := $(libext2_quota_cflags)
47 LOCAL_SYSTEM_SHARED_LIBRARIES := libc $(libext2_quota_shared_libraries)
48 LOCAL_PRELINK_MODULE := false
49 LOCAL_MODULE := libext2_quota
50 LOCAL_MODULE_TAGS := optional
52 include $(BUILD_SHARED_LIBRARY)
56 LOCAL_SRC_FILES := $(libext2_quota_src_files)
57 LOCAL_C_INCLUDES := $(libext2_quota_c_includes)
58 LOCAL_CFLAGS := $(libext2_quota_cflags)
59 LOCAL_STATIC_LIBRARIES := libc $(libext2_quota_static_libraries)
60 LOCAL_PRELINK_MODULE := false
61 LOCAL_MODULE := libext2_quota
62 LOCAL_MODULE_TAGS := optional
64 include $(BUILD_STATIC_LIBRARY)
68 LOCAL_SRC_FILES := $(libext2_quota_src_files)
69 LOCAL_C_INCLUDES := $(libext2_quota_c_includes)
70 LOCAL_CFLAGS := $(libext2_quota_cflags)
71 LOCAL_MODULE := libext2_quota_host
72 LOCAL_MODULE_TAGS := optional
73 LOCAL_SHARED_LIBRARIES := $(addsuffix _host, $(libext2_quota_shared_libraries))
75 include $(BUILD_HOST_SHARED_LIBRARY)