Whamcloud - gitweb
tune2fs: allow tune2fs to be built as a static library for Android
[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_STATIC_LIBRARIES := libc
33 LOCAL_MODULE := libext2_com_err
34 LOCAL_MODULE_TAGS := optional
35 LOCAL_PRELINK_MODULE := false
36
37 include $(BUILD_STATIC_LIBRARY)
38
39 include $(CLEAR_VARS)
40
41 LOCAL_SRC_FILES := $(libext2_com_err_src_files)
42 LOCAL_C_INCLUDES := $(libext2_com_err_c_includes)
43 LOCAL_CFLAGS := $(libext2_com_err_cflags)
44 LOCAL_MODULE := libext2_com_err_host
45 LOCAL_MODULE_TAGS := optional
46
47 include $(BUILD_HOST_SHARED_LIBRARY)