1 LOCAL_PATH := $(call my-dir) 2 include $(CLEAR_VARS) 3 4 LOCAL_SRC_FILES := \ 5 extent.c \ 6 resize2fs.c \ 7 main.c \ 8 online.c \ 9 sim_progress.c 10 11 LOCAL_C_INCLUDES := external/e2fsprogs/lib 12 13 LOCAL_CFLAGS := -O2 -g -W -Wall \ 14 -DHAVE_UNISTD_H \ 15 -DHAVE_ERRNO_H \ 16 -DHAVE_NETINET_IN_H \ 17 -DHAVE_SYS_IOCTL_H \ 18 -DHAVE_SYS_MMAN_H \ 19 -DHAVE_SYS_MOUNT_H \ 20 -DHAVE_SYS_PRCTL_H \ 21 -DHAVE_SYS_RESOURCE_H \ 22 -DHAVE_SYS_SELECT_H \ 23 -DHAVE_SYS_STAT_H \ 24 -DHAVE_SYS_TYPES_H \ 25 -DHAVE_STDLIB_H \ 26 -DHAVE_STRDUP \ 27 -DHAVE_MMAP \ 28 -DHAVE_UTIME_H \ 29 -DHAVE_GETPAGESIZE \ 30 -DHAVE_LSEEK64 \ 31 -DHAVE_LSEEK64_PROTOTYPE \ 32 -DHAVE_EXT2_IOCTLS \ 33 -DHAVE_LINUX_FD_H \ 34 -DHAVE_TYPE_SSIZE_T 35 36 37 LOCAL_MODULE := resize2fs 38 LOCAL_MODULE_TAGS := eng 39 LOCAL_SYSTEM_SHARED_LIBRARIES := libext2fs libext2_com_err libext2_e2p libc 40 41 42 include $(BUILD_EXECUTABLE) 43