Android.mk revision 0a84e9cae698b8ea5c3389429126c25816986d81
1LOCAL_PATH := $(call my-dir)
2include $(CLEAR_VARS)
3
4LOCAL_SRC_FILES := \
5	cache.c \
6	dev.c \
7	devname.c \
8	devno.c \
9	getsize.c \
10	llseek.c \
11	probe.c \
12	read.c \
13	resolve.c \
14	save.c \
15	tag.c \
16	version.c \
17
18
19LOCAL_MODULE := libext2_blkid
20LOCAL_MODULE_TAGS:= eng
21LOCAL_SYSTEM_SHARED_LIBRARIES := libext2_uuid libc
22
23LOCAL_C_INCLUDES := external/e2fsprogs/lib
24
25LOCAL_CFLAGS := -O2 -g -W -Wall \
26	-DHAVE_UNISTD_H \
27	-DHAVE_ERRNO_H \
28	-DHAVE_NETINET_IN_H \
29	-DHAVE_SYS_IOCTL_H \
30	-DHAVE_SYS_MMAN_H \
31	-DHAVE_SYS_MOUNT_H \
32	-DHAVE_SYS_PRCTL_H \
33	-DHAVE_SYS_RESOURCE_H \
34	-DHAVE_SYS_SELECT_H \
35	-DHAVE_SYS_STAT_H \
36	-DHAVE_SYS_TYPES_H \
37	-DHAVE_STDLIB_H \
38	-DHAVE_STRDUP \
39	-DHAVE_MMAP \
40	-DHAVE_UTIME_H \
41	-DHAVE_GETPAGESIZE \
42	-DHAVE_LSEEK64 \
43	-DHAVE_LSEEK64_PROTOTYPE \
44	-DHAVE_EXT2_IOCTLS \
45	-DHAVE_LINUX_FD_H \
46	-DHAVE_TYPE_SSIZE_T
47
48LOCAL_PRELINK_MODULE := false
49
50include $(BUILD_SHARED_LIBRARY)
51