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 \
33 libext2_com_err_cflags_linux := \
37 -DHAVE_LSEEK64_PROTOTYPE
39 libext2_com_err_system_shared_libraries := libc
43 LOCAL_SRC_FILES := $(libext2_com_err_src_files)
44 LOCAL_C_INCLUDES := $(libext2_com_err_c_includes)
45 LOCAL_CFLAGS := $(libext2_com_err_cflags) $(libext2_com_err_cflags_linux)
46 LOCAL_SYSTEM_SHARED_LIBRARIES := libc
47 LOCAL_MODULE := libext2_com_err
48 LOCAL_MODULE_TAGS := optional
49 LOCAL_PRELINK_MODULE := false
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_STEM := libext2_com_err
64 LOCAL_MODULE_TAGS := optional
65 LOCAL_PRELINK_MODULE := false
67 include $(BUILD_HOST_SHARED_LIBRARY)