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)
61 libext2_profile_src_files := \
65 libext2_profile_shared_libraries := \
68 libext2_profile_system_shared_libraries := libc
70 libext2_profile_c_includes := external/e2fsprogs/lib
72 libext2_profile_cflags := -O2 -g -W -Wall
76 LOCAL_SRC_FILES := $(libext2_profile_src_files)
77 LOCAL_SYSTEM_SHARED_LIBRARIES := $(libext2_profile_system_shared_libraries)
78 LOCAL_SHARED_LIBRARIES := $(libext2_profile_shared_libraries)
79 LOCAL_C_INCLUDES := $(libext2_profile_c_includes)
80 LOCAL_CFLAGS := $(libext2_profile_cflags)
81 LOCAL_MODULE := libext2_profile
82 LOCAL_MODULE_TAGS := optional
84 include $(BUILD_SHARED_LIBRARY)
88 LOCAL_SRC_FILES := $(libext2_profile_src_files)
89 LOCAL_SHARED_LIBRARIES := $(addsuffix -host, $(libext2_profile_shared_libraries))
90 LOCAL_C_INCLUDES := $(libext2_profile_c_includes)
91 LOCAL_CFLAGS := $(libext2_profile_cflags)
92 LOCAL_MODULE := libext2_profile-host
93 LOCAL_MODULE_TAGS := optional
95 include $(BUILD_HOST_SHARED_LIBRARY)