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
14 libext2_quota_shared_libraries := libext2fs libext2_com_err
16 libext2_quota_system_shared_libraries := libc
20 LOCAL_SRC_FILES := $(libext2_quota_src_files)
21 LOCAL_SYSTEM_SHARED_LIBRARIES := $(libext2_quota_system_shared_libraries)
22 LOCAL_C_INCLUDES := $(libext2_quota_c_includes)
23 LOCAL_CFLAGS := $(libext2_quota_cflags)
24 LOCAL_SYSTEM_SHARED_LIBRARIES := libc $(libext2_quota_shared_libraries)
25 LOCAL_MODULE := libext2_quota
26 LOCAL_MODULE_TAGS := optional
28 include $(BUILD_SHARED_LIBRARY)
30 libext2_quota_static_libraries := libext2fs libext2_com_err
34 LOCAL_SRC_FILES := $(libext2_quota_src_files)
35 LOCAL_C_INCLUDES := $(libext2_quota_c_includes)
36 LOCAL_CFLAGS := $(libext2_quota_cflags)
37 LOCAL_STATIC_LIBRARIES := libc $(libext2_quota_static_libraries)
38 LOCAL_PRELINK_MODULE := false
39 LOCAL_MODULE := libext2_quota
40 LOCAL_MODULE_TAGS := optional
42 include $(BUILD_STATIC_LIBRARY)
46 LOCAL_SRC_FILES := $(libext2_quota_src_files)
47 LOCAL_C_INCLUDES := $(libext2_quota_c_includes)
48 LOCAL_CFLAGS := $(libext2_quota_cflags)
49 LOCAL_MODULE := libext2_quota_host
50 LOCAL_MODULE_TAGS := optional
51 LOCAL_SHARED_LIBRARIES := $(addsuffix _host, $(libext2_quota_shared_libraries))
53 include $(BUILD_HOST_SHARED_LIBRARY)