Whamcloud - gitweb
7aa82cb06e07c4fd0036fa16ae7fee514fc3c08a
[tools/e2fsprogs.git] / lib / support / Android.mk
1 LOCAL_PATH := $(call my-dir)
2
3 libext2_quota_src_files := \
4         mkquota.c \
5         quotaio.c \
6         quotaio_tree.c \
7         quotaio_v2.c \
8         ../../e2fsck/dict.c
9
10 libext2_quota_c_includes := external/e2fsprogs/lib
11
12 libext2_quota_cflags := -O2 -g -W -Wall
13
14 libext2_quota_shared_libraries := libext2fs libext2_com_err
15
16 libext2_quota_system_shared_libraries := libc
17
18 include $(CLEAR_VARS)
19
20 LOCAL_SRC_FILES := $(libext2_quota_src_files)
21 LOCAL_SYSTEM_SHARED_LIBRARIES := $(libext2_quota_system_shared_libraries)
22 LOCAL_C_INCLUDES := $(libext2_quota_c_includes)
23 LOCAL_CFLAGS := $(libext2_quota_cflags)
24 LOCAL_SYSTEM_SHARED_LIBRARIES := libc $(libext2_quota_shared_libraries)
25 LOCAL_MODULE := libext2_quota
26 LOCAL_MODULE_TAGS := optional
27
28 include $(BUILD_SHARED_LIBRARY)
29
30 include $(CLEAR_VARS)
31
32 LOCAL_SRC_FILES := $(libext2_quota_src_files)
33 LOCAL_C_INCLUDES := $(libext2_quota_c_includes)
34 LOCAL_CFLAGS := $(libext2_quota_cflags)
35 LOCAL_MODULE := libext2_quota_host
36 LOCAL_MODULE_TAGS := optional
37 LOCAL_SHARED_LIBRARIES := $(addsuffix _host, $(libext2_quota_shared_libraries))
38
39 include $(BUILD_HOST_SHARED_LIBRARY)