blob: 630e0690f0d1b4cafc208d6d099a2622570689c7 [file] [log] [blame]
bigbiff bigbiffe60683a2013-02-22 20:55:50 -05001LOCAL_PATH := $(call my-dir)
2
3include $(CLEAR_VARS)
4
bigbiff7b4c7a62015-01-01 19:44:14 -05005LOCAL_MODULE := libutil-linux
6LOCAL_MODULE_TAGS := optional
7#LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin
8LOCAL_CFLAGS = -D_FILE_OFFSET_BITS=64 -DHAVE_LOFF_T -DHAVE_ERR_H -DHAVE_MEMPCPY -DHAVE_FSYNC
9LOCAL_SRC_FILES = lib/at.c \
10 lib/blkdev.c \
11 lib/canonicalize.c \
12 lib/colors.c \
13 lib/crc32.c \
14 lib/crc64.c \
15 lib/env.c \
16 lib/exec_shell.c \
17 lib/fileutils.c \
18 lib/ismounted.c \
19 lib/langinfo.c \
20 lib/linux_version.c \
21 lib/loopdev.c \
22 lib/mangle.c \
23 lib/match.c \
24 lib/mbsalign.c \
25 lib/md5.c \
26 lib/pager.c \
27 lib/path.c \
28 lib/procutils.c \
29 lib/randutils.c \
30 lib/setproctitle.c \
31 lib/strutils.c \
32 lib/sysfs.c \
33
34LOCAL_C_INCLUDES += $(LOCAL_PATH)/libfdisk/src \
35 $(LOCAL_PATH)/include \
36 $(LOCAL_PATH)/libuuid/src \
37 $(LOCAL_PATH)/src
38
39LOCAL_SHARED_LIBRARIES += libc
40include $(BUILD_SHARED_LIBRARY)
41
42include $(CLEAR_VARS)
43
44LOCAL_MODULE := libuuid
45LOCAL_MODULE_TAGS := optional
46#LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin
47LOCAL_CFLAGS = -D_FILE_OFFSET_BITS=64 -DHAVE_LOFF_T -DHAVE_ERR_H -DHAVE_MEMPCPY -DHAVE_FSYNC
48LOCAL_SRC_FILES = libuuid/src/clear.c \
49 libuuid/src/copy.c \
50 libuuid/src/isnull.c \
51 libuuid/src/parse.c \
52 libuuid/src/unpack.c \
53 libuuid/src/uuid_time.c \
54 libuuid/src/compare.c \
55 libuuid/src/gen_uuid.c \
56 libuuid/src/pack.c \
57 libuuid/src/test_uuid.c \
58 libuuid/src/unparse.c
59
60LOCAL_C_INCLUDES += $(LOCAL_PATH)/libuuid/src \
61 $(LOCAL_PATH)/include \
62 $(LOCAL_PATH)/src
63
64LOCAL_SHARED_LIBRARIES += libc libutil-linux
65
66include $(BUILD_SHARED_LIBRARY)
67
68include $(CLEAR_VARS)
69
70LOCAL_MODULE := libfdisk
71LOCAL_MODULE_TAGS := optional
72#LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin
73LOCAL_CFLAGS = -D_FILE_OFFSET_BITS=64 -DHAVE_LOFF_T -DHAVE_ERR_H -DHAVE_MEMPCPY -DHAVE_FSYNC
74LOCAL_SRC_FILES = libfdisk/src/alignment.c \
75 libfdisk/src/context.c \
76 libfdisk/src/init.c \
77 libfdisk/src/partition.c \
78 libfdisk/src/sgi.c \
79 libfdisk/src/test.c \
80 libfdisk/src/ask.c \
81 libfdisk/src/dos.c \
82 libfdisk/src/iter.c \
83 libfdisk/src/parttype.c \
84 libfdisk/src/sun.c \
85 libfdisk/src/utils.c \
86 libfdisk/src/bsd.c \
87 libfdisk/src/gpt.c \
88 libfdisk/src/label.c \
89 libfdisk/src/script.c \
90 libfdisk/src/table.c
91
92LOCAL_C_INCLUDES += $(LOCAL_PATH)/libfdisk/src \
93 $(LOCAL_PATH)/include \
94 $(LOCAL_PATH)/libuuid/src \
95 $(LOCAL_PATH)/src
96
97LOCAL_SHARED_LIBRARIES += libc libutil-linux libuuid
98include $(BUILD_SHARED_LIBRARY)
99
100include $(CLEAR_VARS)
101
bigbiff bigbiffe60683a2013-02-22 20:55:50 -0500102LOCAL_MODULE := libblkid
103LOCAL_MODULE_TAGS := optional
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100104#LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin
bigbiff7b4c7a62015-01-01 19:44:14 -0500105LOCAL_CFLAGS = -D_FILE_OFFSET_BITS=64 -DHAVE_LOFF_T -DHAVE_ERR_H -DHAVE_MEMPCPY -DHAVE_FSYNC
106LOCAL_SRC_FILES = src/cache.c \
107 src/config.c \
108 src/dev.c \
109 src/devname.c \
110 src/devno.c \
111 src/encode.c \
112 src/evaluate.c \
113 src/getsize.c \
114 src/init.c \
115 src/llseek.c \
116 src/probe.c \
117 src/read.c \
118 src/resolve.c \
119 src/save.c \
120 src/tag.c \
121 src/verify.c \
122 src/version.c \
123 src/partitions/aix.c \
124 src/partitions/bsd.c \
125 src/partitions/dos.c \
126 src/partitions/gpt.c \
127 src/partitions/mac.c \
128 src/partitions/minix.c \
129 src/partitions/partitions.c \
130 src/partitions/sgi.c \
131 src/partitions/solaris_x86.c \
132 src/partitions/sun.c \
133 src/partitions/ultrix.c \
134 src/partitions/unixware.c \
135 src/superblocks/adaptec_raid.c \
136 src/superblocks/bcache.c \
137 src/superblocks/befs.c \
138 src/superblocks/bfs.c \
139 src/superblocks/btrfs.c \
140 src/superblocks/cramfs.c \
141 src/superblocks/ddf_raid.c \
142 src/superblocks/drbd.c \
143 src/superblocks/drbdproxy_datalog.c \
144 src/superblocks/exfat.c \
145 src/superblocks/ext.c \
146 src/superblocks/f2fs.c \
147 src/superblocks/gfs.c \
148 src/superblocks/hfs.c \
149 src/superblocks/highpoint_raid.c \
150 src/superblocks/hpfs.c \
151 src/superblocks/iso9660.c \
152 src/superblocks/isw_raid.c \
153 src/superblocks/jfs.c \
154 src/superblocks/jmicron_raid.c \
155 src/superblocks/linux_raid.c \
156 src/superblocks/lsi_raid.c \
157 src/superblocks/luks.c \
158 src/superblocks/lvm.c \
159 src/superblocks/minix.c \
160 src/superblocks/netware.c \
161 src/superblocks/nilfs.c \
162 src/superblocks/ntfs.c \
163 src/superblocks/nvidia_raid.c \
164 src/superblocks/ocfs.c \
165 src/superblocks/promise_raid.c \
166 src/superblocks/refs.c \
167 src/superblocks/reiserfs.c \
168 src/superblocks/romfs.c \
169 src/superblocks/silicon_raid.c \
170 src/superblocks/squashfs.c \
171 src/superblocks/superblocks.c \
172 src/superblocks/swap.c \
173 src/superblocks/sysv.c \
174 src/superblocks/ubifs.c \
175 src/superblocks/udf.c \
176 src/superblocks/ufs.c \
177 src/superblocks/vfat.c \
178 src/superblocks/via_raid.c \
179 src/superblocks/vmfs.c \
180 src/superblocks/vxfs.c \
181 src/superblocks/xfs.c \
182 src/superblocks/zfs.c \
183 src/topology/dm.c \
184 src/topology/evms.c \
185 src/topology/ioctl.c \
186 src/topology/lvm.c \
187 src/topology/md.c \
188 src/topology/sysfs.c \
189 src/topology/topology.c \
bigbiff bigbiffe60683a2013-02-22 20:55:50 -0500190
bigbiff7b4c7a62015-01-01 19:44:14 -0500191LOCAL_C_INCLUDES += $(LOCAL_PATH)/include \
192 $(LOCAL_PATH)/src
193
194LOCAL_SHARED_LIBRARIES += libc libfdisk libutil-linux
bigbiff bigbiffe60683a2013-02-22 20:55:50 -0500195include $(BUILD_SHARED_LIBRARY)