1LOCAL_PATH := $(call my-dir) 2 3libext2_uuid_src_files := \ 4 clear.c \ 5 compare.c \ 6 copy.c \ 7 gen_uuid.c \ 8 isnull.c \ 9 pack.c \ 10 parse.c \ 11 unpack.c \ 12 unparse.c \ 13 uuid_time.c 14 15 16libext2_uuid_c_includes := external/e2fsprogs/lib 17 18libext2_uuid_cflags := -O2 -g -W -Wall \ 19 -DHAVE_INTTYPES_H \ 20 -DHAVE_UNISTD_H \ 21 -DHAVE_ERRNO_H \ 22 -DHAVE_NETINET_IN_H \ 23 -DHAVE_SYS_IOCTL_H \ 24 -DHAVE_SYS_MMAN_H \ 25 -DHAVE_SYS_MOUNT_H \ 26 -DHAVE_SYS_PRCTL_H \ 27 -DHAVE_SYS_RESOURCE_H \ 28 -DHAVE_SYS_SELECT_H \ 29 -DHAVE_SYS_STAT_H \ 30 -DHAVE_SYS_TYPES_H \ 31 -DHAVE_STDLIB_H \ 32 -DHAVE_STRDUP \ 33 -DHAVE_MMAP \ 34 -DHAVE_UTIME_H \ 35 -DHAVE_GETPAGESIZE \ 36 -DHAVE_LSEEK64 \ 37 -DHAVE_LSEEK64_PROTOTYPE \ 38 -DHAVE_EXT2_IOCTLS \ 39 -DHAVE_LINUX_FD_H \ 40 -DHAVE_TYPE_SSIZE_T \ 41 -DHAVE_SYS_TIME_H \ 42 -DHAVE_SYSCONF 43 44libext2_uuid_system_shared_libraries := libc 45 46include $(CLEAR_VARS) 47 48LOCAL_SRC_FILES := $(libext2_uuid_src_files) 49LOCAL_C_INCLUDES := $(libext2_uuid_c_includes) 50LOCAL_CFLAGS := $(libext2_uuid_cflags) 51LOCAL_SYSTEM_SHARED_LIBRARIES := $(libext2_uuid_system_shared_libraries) 52LOCAL_MODULE := libext2_uuid 53LOCAL_MODULE_TAGS := optional 54LOCAL_PRELINK_MODULE := false 55 56include $(BUILD_SHARED_LIBRARY) 57 58include $(CLEAR_VARS) 59 60LOCAL_SRC_FILES := $(libext2_uuid_src_files) 61LOCAL_C_INCLUDES := $(libext2_uuid_c_includes) 62LOCAL_CFLAGS := $(libext2_uuid_cflags) 63LOCAL_MODULE := libext2_uuid_host 64LOCAL_MODULE_STEM := libext2_uuid 65LOCAL_MODULE_TAGS := optional 66LOCAL_PRELINK_MODULE := false 67 68include $(BUILD_HOST_SHARED_LIBRARY) 69