Whamcloud - gitweb
Clean up and fix Android build files
[tools/e2fsprogs.git] / lib / et / Android.mk
1 LOCAL_PATH := $(call my-dir)
2
3 libext2_com_err_src_files := \
4         error_message.c \
5         et_name.c \
6         init_et.c \
7         com_err.c \
8         com_right.c
9
10 libext2_com_err_c_includes := external/e2fsprogs/lib
11
12 libext2_com_err_cflags := -O2 -g -W -Wall
13
14 libext2_com_err_system_shared_libraries := libc
15
16 include $(CLEAR_VARS)
17
18 LOCAL_SRC_FILES := $(libext2_com_err_src_files)
19 LOCAL_C_INCLUDES := $(libext2_com_err_c_includes)
20 LOCAL_CFLAGS := $(libext2_com_err_cflags)
21 LOCAL_SYSTEM_SHARED_LIBRARIES := libc
22 LOCAL_MODULE := libext2_com_err
23 LOCAL_MODULE_TAGS := optional
24
25 include $(BUILD_SHARED_LIBRARY)
26
27 include $(CLEAR_VARS)
28
29 LOCAL_SRC_FILES := $(libext2_com_err_src_files)
30 LOCAL_C_INCLUDES := $(libext2_com_err_c_includes)
31 LOCAL_CFLAGS := $(libext2_com_err_cflags)
32 LOCAL_MODULE := libext2_com_err_host
33 LOCAL_MODULE_TAGS := optional
34
35 include $(BUILD_HOST_SHARED_LIBRARY)