• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1LOCAL_PATH := $(call my-dir)
2include $(CLEAR_VARS)
3
4LOCAL_SRC_FILES := \
5	ext2_err.c \
6	alloc.c \
7	alloc_sb.c \
8	alloc_stats.c \
9	alloc_tables.c \
10	badblocks.c \
11	bb_inode.c \
12	bitmaps.c \
13	bitops.c \
14	block.c \
15	bmap.c \
16	check_desc.c \
17	closefs.c \
18	dblist.c \
19	dblist_dir.c \
20	dirblock.c \
21	dirhash.c \
22	dir_iterate.c \
23	dupfs.c \
24	expanddir.c \
25	ext_attr.c \
26	finddev.c \
27	flushb.c \
28	freefs.c \
29	gen_bitmap.c \
30	get_pathname.c \
31	getsize.c \
32	getsectsize.c \
33	icount.c \
34	ind_block.c \
35	initialize.c \
36	inline.c \
37	inode.c \
38	io_manager.c \
39	ismounted.c \
40	link.c \
41	llseek.c \
42	lookup.c \
43	mkdir.c \
44	mkjournal.c \
45	native.c \
46	newdir.c \
47	openfs.c \
48	read_bb.c \
49	read_bb_file.c \
50	res_gdt.c \
51	rs_bitmap.c \
52	rw_bitmaps.c \
53	swapfs.c \
54	tdb.c \
55	unix_io.c \
56	unlink.c \
57	valid_blk.c \
58	version.c
59
60# get rid of this?!
61LOCAL_SRC_FILES += test_io.c
62
63LOCAL_MODULE := libext2fs
64LOCAL_MODULE_TAGS := eng
65
66LOCAL_SYSTEM_SHARED_LIBRARIES := \
67	libext2_com_err \
68	libext2_uuid \
69	libext2_blkid \
70	libext2_e2p \
71	libc
72
73LOCAL_C_INCLUDES := external/e2fsprogs/lib
74
75LOCAL_CFLAGS := -O2 -g -W -Wall \
76	-DHAVE_UNISTD_H \
77	-DHAVE_ERRNO_H \
78	-DHAVE_NETINET_IN_H \
79	-DHAVE_SYS_IOCTL_H \
80	-DHAVE_SYS_MMAN_H \
81	-DHAVE_SYS_MOUNT_H \
82	-DHAVE_SYS_PRCTL_H \
83	-DHAVE_SYS_RESOURCE_H \
84	-DHAVE_SYS_SELECT_H \
85	-DHAVE_SYS_STAT_H \
86	-DHAVE_SYS_TYPES_H \
87	-DHAVE_STDLIB_H \
88	-DHAVE_STRDUP \
89	-DHAVE_MMAP \
90	-DHAVE_UTIME_H \
91	-DHAVE_GETPAGESIZE \
92	-DHAVE_LSEEK64 \
93	-DHAVE_LSEEK64_PROTOTYPE \
94	-DHAVE_EXT2_IOCTLS \
95	-DHAVE_LINUX_FD_H \
96	-DHAVE_TYPE_SSIZE_T
97
98LOCAL_PRELINK_MODULE := false
99
100include $(BUILD_SHARED_LIBRARY)
101
102