Home | History | Annotate | Download | only in uuid
      1 LOCAL_PATH := $(call my-dir)
      2 
      3 libext2_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 
     16 libext2_uuid_c_includes := external/e2fsprogs/lib
     17 
     18 libext2_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_SYS_PARAM_H \
     43 	-DHAVE_SYSCONF
     44 
     45 libext2_uuid_system_shared_libraries := libc
     46 
     47 include $(CLEAR_VARS)
     48 
     49 LOCAL_SRC_FILES := $(libext2_uuid_src_files)
     50 LOCAL_C_INCLUDES := $(libext2_uuid_c_includes)
     51 LOCAL_CFLAGS := $(libext2_uuid_cflags)
     52 LOCAL_SYSTEM_SHARED_LIBRARIES := $(libext2_uuid_system_shared_libraries)
     53 LOCAL_MODULE := libext2_uuid
     54 LOCAL_MODULE_TAGS := optional
     55 LOCAL_PRELINK_MODULE := false
     56 
     57 include $(BUILD_SHARED_LIBRARY)
     58 
     59 include $(CLEAR_VARS)
     60 
     61 LOCAL_SRC_FILES := $(libext2_uuid_src_files)
     62 LOCAL_C_INCLUDES := $(libext2_uuid_c_includes)
     63 LOCAL_CFLAGS := $(libext2_uuid_cflags)
     64 LOCAL_MODULE := libext2_uuid_host
     65 LOCAL_MODULE_TAGS := optional
     66 
     67 include $(BUILD_HOST_SHARED_LIBRARY)
     68