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
51 include $(BUILD_SHARED_LIBRARY)
55 LOCAL_SRC_FILES := $(libext2_com_err_src_files)
56 LOCAL_C_INCLUDES := $(libext2_com_err_c_includes)
57 ifeq ($(HOST_OS),linux)
58 LOCAL_CFLAGS := $(libext2_com_err_cflags) $(libext2_com_err_cflags_linux)
60 LOCAL_CFLAGS := $(libext2_com_err_cflags)
62 LOCAL_MODULE := libext2_com_err_host
63 LOCAL_MODULE_TAGS := optional
65 include $(BUILD_HOST_SHARED_LIBRARY)