1 LOCAL_PATH := $(call my-dir)
3 libext2_quota_src_files := \
15 libext2_quota_c_includes := external/e2fsprogs/lib
17 libext2_quota_cflags := -O2 -g -W -Wall
19 libext2_quota_shared_libraries := libext2fs libext2_com_err libext2_blkid
21 libext2_quota_system_shared_libraries := libc
25 LOCAL_SRC_FILES := $(libext2_quota_src_files)
26 LOCAL_SYSTEM_SHARED_LIBRARIES := $(libext2_quota_system_shared_libraries)
27 LOCAL_C_INCLUDES := $(libext2_quota_c_includes)
28 LOCAL_CFLAGS := $(libext2_quota_cflags)
29 LOCAL_SYSTEM_SHARED_LIBRARIES := libc $(libext2_quota_shared_libraries)
30 LOCAL_MODULE := libext2_quota
31 LOCAL_MODULE_TAGS := optional
33 include $(BUILD_SHARED_LIBRARY)
35 libext2_quota_static_libraries := libext2fs libext2_com_err
39 LOCAL_SRC_FILES := $(libext2_quota_src_files)
40 LOCAL_C_INCLUDES := $(libext2_quota_c_includes)
41 LOCAL_CFLAGS := $(libext2_quota_cflags)
42 LOCAL_STATIC_LIBRARIES := libc $(libext2_quota_static_libraries)
43 LOCAL_MODULE := libext2_quota
44 LOCAL_MODULE_TAGS := optional
46 include $(BUILD_STATIC_LIBRARY)
50 LOCAL_SRC_FILES := $(libext2_quota_src_files)
51 LOCAL_C_INCLUDES := $(libext2_quota_c_includes)
52 LOCAL_CFLAGS := $(libext2_quota_cflags)
53 LOCAL_MODULE := libext2_quota-host
54 LOCAL_MODULE_TAGS := optional
55 LOCAL_SHARED_LIBRARIES := $(addsuffix -host, $(libext2_quota_shared_libraries))
57 include $(BUILD_HOST_SHARED_LIBRARY)