2015-02-28 09:09:06 +03:00
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
|
|
|
|
libext2_quota_src_files := \
|
|
|
|
mkquota.c \
|
2015-07-13 04:55:32 +03:00
|
|
|
plausible.c \
|
2015-07-13 01:05:40 +03:00
|
|
|
profile.c \
|
|
|
|
profile_helpers.c \
|
|
|
|
prof_err.c \
|
2015-02-28 09:09:06 +03:00
|
|
|
quotaio.c \
|
|
|
|
quotaio_tree.c \
|
|
|
|
quotaio_v2.c \
|
|
|
|
../../e2fsck/dict.c
|
|
|
|
|
|
|
|
libext2_quota_c_includes := external/e2fsprogs/lib
|
|
|
|
|
2015-03-30 21:50:55 +03:00
|
|
|
libext2_quota_cflags := -O2 -g -W -Wall
|
2015-02-28 09:09:06 +03:00
|
|
|
|
2015-07-13 04:55:32 +03:00
|
|
|
libext2_quota_shared_libraries := libext2fs libext2_com_err libext2_blkid
|
2015-02-28 09:09:06 +03:00
|
|
|
|
2015-05-24 01:09:33 +03:00
|
|
|
libext2_quota_system_shared_libraries := libc
|
|
|
|
|
2015-02-28 09:09:06 +03:00
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES := $(libext2_quota_src_files)
|
2015-05-24 01:09:33 +03:00
|
|
|
LOCAL_SYSTEM_SHARED_LIBRARIES := $(libext2_quota_system_shared_libraries)
|
2015-02-28 09:09:06 +03:00
|
|
|
LOCAL_C_INCLUDES := $(libext2_quota_c_includes)
|
|
|
|
LOCAL_CFLAGS := $(libext2_quota_cflags)
|
|
|
|
LOCAL_SYSTEM_SHARED_LIBRARIES := libc $(libext2_quota_shared_libraries)
|
|
|
|
LOCAL_MODULE := libext2_quota
|
|
|
|
LOCAL_MODULE_TAGS := optional
|
|
|
|
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
|
|
|
|
2015-07-13 00:39:26 +03:00
|
|
|
libext2_quota_static_libraries := libext2fs libext2_com_err
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES := $(libext2_quota_src_files)
|
|
|
|
LOCAL_C_INCLUDES := $(libext2_quota_c_includes)
|
|
|
|
LOCAL_CFLAGS := $(libext2_quota_cflags)
|
|
|
|
LOCAL_STATIC_LIBRARIES := libc $(libext2_quota_static_libraries)
|
|
|
|
LOCAL_PRELINK_MODULE := false
|
|
|
|
LOCAL_MODULE := libext2_quota
|
|
|
|
LOCAL_MODULE_TAGS := optional
|
|
|
|
|
|
|
|
include $(BUILD_STATIC_LIBRARY)
|
|
|
|
|
2015-02-28 09:09:06 +03:00
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES := $(libext2_quota_src_files)
|
|
|
|
LOCAL_C_INCLUDES := $(libext2_quota_c_includes)
|
|
|
|
LOCAL_CFLAGS := $(libext2_quota_cflags)
|
|
|
|
LOCAL_MODULE := libext2_quota_host
|
|
|
|
LOCAL_MODULE_TAGS := optional
|
|
|
|
LOCAL_SHARED_LIBRARIES := $(addsuffix _host, $(libext2_quota_shared_libraries))
|
|
|
|
|
|
|
|
include $(BUILD_HOST_SHARED_LIBRARY)
|