1 LOCAL_PATH := $(call my-dir)
3 libext2_com_err_src_files := \
10 libext2_com_err_c_includes := external/e2fsprogs/lib
12 libext2_com_err_cflags := -O2 -g -W -Wall \
19 -DHAVE_SYS_RESOURCE_H \
34 libext2_com_err_cflags_linux := \
38 -DHAVE_LSEEK64_PROTOTYPE
40 libext2_com_err_system_shared_libraries := libc
44 LOCAL_SRC_FILES := $(libext2_com_err_src_files)
45 LOCAL_C_INCLUDES := $(libext2_com_err_c_includes)
46 LOCAL_CFLAGS := $(libext2_com_err_cflags) $(libext2_com_err_cflags_linux)
47 LOCAL_SYSTEM_SHARED_LIBRARIES := libc
48 LOCAL_MODULE := libext2_com_err
49 LOCAL_MODULE_TAGS := optional
50 LOCAL_PRELINK_MODULE := false
52 include $(BUILD_SHARED_LIBRARY)
56 LOCAL_SRC_FILES := $(libext2_com_err_src_files)
57 LOCAL_C_INCLUDES := $(libext2_com_err_c_includes)
58 LOCAL_CFLAGS := $(libext2_com_err_cflags) $(libext2_com_err_cflags_linux)
59 LOCAL_STATIC_LIBRARIES := libc
60 LOCAL_MODULE := libext2_com_err
61 LOCAL_MODULE_TAGS := optional
62 LOCAL_PRELINK_MODULE := false
64 include $(BUILD_STATIC_LIBRARY)
68 LOCAL_SRC_FILES := $(libext2_com_err_src_files)
69 LOCAL_C_INCLUDES := $(libext2_com_err_c_includes)
70 ifeq ($(HOST_OS),linux)
71 LOCAL_CFLAGS := $(libext2_com_err_cflags) $(libext2_com_err_cflags_linux)
73 LOCAL_CFLAGS := $(libext2_com_err_cflags)
75 LOCAL_MODULE := libext2_com_err_host
76 LOCAL_MODULE_TAGS := optional
78 include $(BUILD_HOST_SHARED_LIBRARY)