bigbiff bigbiff | e60683a | 2013-02-22 20:55:50 -0500 | [diff] [blame] | 1 | LOCAL_PATH := $(call my-dir) |
| 2 | |
| 3 | include $(CLEAR_VARS) |
| 4 | |
bigbiff | 7b4c7a6 | 2015-01-01 19:44:14 -0500 | [diff] [blame] | 5 | LOCAL_MODULE := libutil-linux |
| 6 | LOCAL_MODULE_TAGS := optional |
| 7 | #LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin |
| 8 | LOCAL_CFLAGS = -D_FILE_OFFSET_BITS=64 -DHAVE_LOFF_T -DHAVE_ERR_H -DHAVE_MEMPCPY -DHAVE_FSYNC |
| 9 | LOCAL_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 | |
Ethan Yonker | d6786b8 | 2015-01-05 09:01:29 -0600 | [diff] [blame] | 34 | LOCAL_C_INCLUDES += \ |
bigbiff | 7b4c7a6 | 2015-01-01 19:44:14 -0500 | [diff] [blame] | 35 | $(LOCAL_PATH)/include \ |
Ethan Yonker | d6786b8 | 2015-01-05 09:01:29 -0600 | [diff] [blame] | 36 | $(LOCAL_PATH)/src |
bigbiff | 7b4c7a6 | 2015-01-01 19:44:14 -0500 | [diff] [blame] | 37 | |
| 38 | LOCAL_SHARED_LIBRARIES += libc |
| 39 | include $(BUILD_SHARED_LIBRARY) |
| 40 | |
| 41 | include $(CLEAR_VARS) |
| 42 | |
| 43 | LOCAL_MODULE := libuuid |
| 44 | LOCAL_MODULE_TAGS := optional |
| 45 | #LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin |
| 46 | LOCAL_CFLAGS = -D_FILE_OFFSET_BITS=64 -DHAVE_LOFF_T -DHAVE_ERR_H -DHAVE_MEMPCPY -DHAVE_FSYNC |
| 47 | LOCAL_SRC_FILES = libuuid/src/clear.c \ |
| 48 | libuuid/src/copy.c \ |
| 49 | libuuid/src/isnull.c \ |
| 50 | libuuid/src/parse.c \ |
| 51 | libuuid/src/unpack.c \ |
| 52 | libuuid/src/uuid_time.c \ |
| 53 | libuuid/src/compare.c \ |
| 54 | libuuid/src/gen_uuid.c \ |
| 55 | libuuid/src/pack.c \ |
| 56 | libuuid/src/test_uuid.c \ |
| 57 | libuuid/src/unparse.c |
| 58 | |
| 59 | LOCAL_C_INCLUDES += $(LOCAL_PATH)/libuuid/src \ |
| 60 | $(LOCAL_PATH)/include \ |
Ethan Yonker | d6786b8 | 2015-01-05 09:01:29 -0600 | [diff] [blame] | 61 | $(LOCAL_PATH)/src |
bigbiff | 7b4c7a6 | 2015-01-01 19:44:14 -0500 | [diff] [blame] | 62 | |
| 63 | LOCAL_SHARED_LIBRARIES += libc libutil-linux |
| 64 | |
| 65 | include $(BUILD_SHARED_LIBRARY) |
| 66 | |
| 67 | include $(CLEAR_VARS) |
| 68 | |
| 69 | LOCAL_MODULE := libfdisk |
| 70 | LOCAL_MODULE_TAGS := optional |
| 71 | #LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin |
| 72 | LOCAL_CFLAGS = -D_FILE_OFFSET_BITS=64 -DHAVE_LOFF_T -DHAVE_ERR_H -DHAVE_MEMPCPY -DHAVE_FSYNC |
| 73 | LOCAL_SRC_FILES = libfdisk/src/alignment.c \ |
| 74 | libfdisk/src/context.c \ |
| 75 | libfdisk/src/init.c \ |
| 76 | libfdisk/src/partition.c \ |
| 77 | libfdisk/src/sgi.c \ |
| 78 | libfdisk/src/test.c \ |
| 79 | libfdisk/src/ask.c \ |
| 80 | libfdisk/src/dos.c \ |
| 81 | libfdisk/src/iter.c \ |
| 82 | libfdisk/src/parttype.c \ |
| 83 | libfdisk/src/sun.c \ |
| 84 | libfdisk/src/utils.c \ |
| 85 | libfdisk/src/bsd.c \ |
| 86 | libfdisk/src/gpt.c \ |
| 87 | libfdisk/src/label.c \ |
| 88 | libfdisk/src/script.c \ |
| 89 | libfdisk/src/table.c |
| 90 | |
| 91 | LOCAL_C_INCLUDES += $(LOCAL_PATH)/libfdisk/src \ |
| 92 | $(LOCAL_PATH)/include \ |
| 93 | $(LOCAL_PATH)/libuuid/src \ |
Ethan Yonker | d6786b8 | 2015-01-05 09:01:29 -0600 | [diff] [blame] | 94 | $(LOCAL_PATH)/src |
bigbiff | 7b4c7a6 | 2015-01-01 19:44:14 -0500 | [diff] [blame] | 95 | |
| 96 | LOCAL_SHARED_LIBRARIES += libc libutil-linux libuuid |
| 97 | include $(BUILD_SHARED_LIBRARY) |
| 98 | |
| 99 | include $(CLEAR_VARS) |
| 100 | |
bigbiff bigbiff | e60683a | 2013-02-22 20:55:50 -0500 | [diff] [blame] | 101 | LOCAL_MODULE := libblkid |
| 102 | LOCAL_MODULE_TAGS := optional |
Vojtech Bocek | 7cc278b | 2013-02-24 01:40:19 +0100 | [diff] [blame] | 103 | #LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin |
bigbiff | 7b4c7a6 | 2015-01-01 19:44:14 -0500 | [diff] [blame] | 104 | LOCAL_CFLAGS = -D_FILE_OFFSET_BITS=64 -DHAVE_LOFF_T -DHAVE_ERR_H -DHAVE_MEMPCPY -DHAVE_FSYNC |
| 105 | LOCAL_SRC_FILES = src/cache.c \ |
| 106 | src/config.c \ |
| 107 | src/dev.c \ |
| 108 | src/devname.c \ |
| 109 | src/devno.c \ |
| 110 | src/encode.c \ |
| 111 | src/evaluate.c \ |
| 112 | src/getsize.c \ |
| 113 | src/init.c \ |
| 114 | src/llseek.c \ |
| 115 | src/probe.c \ |
| 116 | src/read.c \ |
| 117 | src/resolve.c \ |
| 118 | src/save.c \ |
| 119 | src/tag.c \ |
| 120 | src/verify.c \ |
| 121 | src/version.c \ |
| 122 | src/partitions/aix.c \ |
| 123 | src/partitions/bsd.c \ |
| 124 | src/partitions/dos.c \ |
| 125 | src/partitions/gpt.c \ |
| 126 | src/partitions/mac.c \ |
| 127 | src/partitions/minix.c \ |
| 128 | src/partitions/partitions.c \ |
| 129 | src/partitions/sgi.c \ |
| 130 | src/partitions/solaris_x86.c \ |
| 131 | src/partitions/sun.c \ |
| 132 | src/partitions/ultrix.c \ |
| 133 | src/partitions/unixware.c \ |
| 134 | src/superblocks/adaptec_raid.c \ |
| 135 | src/superblocks/bcache.c \ |
| 136 | src/superblocks/befs.c \ |
| 137 | src/superblocks/bfs.c \ |
| 138 | src/superblocks/btrfs.c \ |
| 139 | src/superblocks/cramfs.c \ |
| 140 | src/superblocks/ddf_raid.c \ |
| 141 | src/superblocks/drbd.c \ |
| 142 | src/superblocks/drbdproxy_datalog.c \ |
| 143 | src/superblocks/exfat.c \ |
| 144 | src/superblocks/ext.c \ |
| 145 | src/superblocks/f2fs.c \ |
| 146 | src/superblocks/gfs.c \ |
| 147 | src/superblocks/hfs.c \ |
| 148 | src/superblocks/highpoint_raid.c \ |
| 149 | src/superblocks/hpfs.c \ |
| 150 | src/superblocks/iso9660.c \ |
| 151 | src/superblocks/isw_raid.c \ |
| 152 | src/superblocks/jfs.c \ |
| 153 | src/superblocks/jmicron_raid.c \ |
| 154 | src/superblocks/linux_raid.c \ |
| 155 | src/superblocks/lsi_raid.c \ |
| 156 | src/superblocks/luks.c \ |
| 157 | src/superblocks/lvm.c \ |
| 158 | src/superblocks/minix.c \ |
| 159 | src/superblocks/netware.c \ |
| 160 | src/superblocks/nilfs.c \ |
| 161 | src/superblocks/ntfs.c \ |
| 162 | src/superblocks/nvidia_raid.c \ |
| 163 | src/superblocks/ocfs.c \ |
| 164 | src/superblocks/promise_raid.c \ |
| 165 | src/superblocks/refs.c \ |
| 166 | src/superblocks/reiserfs.c \ |
| 167 | src/superblocks/romfs.c \ |
| 168 | src/superblocks/silicon_raid.c \ |
| 169 | src/superblocks/squashfs.c \ |
| 170 | src/superblocks/superblocks.c \ |
| 171 | src/superblocks/swap.c \ |
| 172 | src/superblocks/sysv.c \ |
| 173 | src/superblocks/ubifs.c \ |
| 174 | src/superblocks/udf.c \ |
| 175 | src/superblocks/ufs.c \ |
| 176 | src/superblocks/vfat.c \ |
| 177 | src/superblocks/via_raid.c \ |
| 178 | src/superblocks/vmfs.c \ |
| 179 | src/superblocks/vxfs.c \ |
| 180 | src/superblocks/xfs.c \ |
| 181 | src/superblocks/zfs.c \ |
| 182 | src/topology/dm.c \ |
| 183 | src/topology/evms.c \ |
| 184 | src/topology/ioctl.c \ |
| 185 | src/topology/lvm.c \ |
| 186 | src/topology/md.c \ |
| 187 | src/topology/sysfs.c \ |
| 188 | src/topology/topology.c \ |
bigbiff bigbiff | e60683a | 2013-02-22 20:55:50 -0500 | [diff] [blame] | 189 | |
bigbiff | 7b4c7a6 | 2015-01-01 19:44:14 -0500 | [diff] [blame] | 190 | LOCAL_C_INCLUDES += $(LOCAL_PATH)/include \ |
Ethan Yonker | d6786b8 | 2015-01-05 09:01:29 -0600 | [diff] [blame] | 191 | $(LOCAL_PATH)/src |
bigbiff | 7b4c7a6 | 2015-01-01 19:44:14 -0500 | [diff] [blame] | 192 | |
Ethan Yonker | d6786b8 | 2015-01-05 09:01:29 -0600 | [diff] [blame] | 193 | LOCAL_SHARED_LIBRARIES += libc libutil-linux |
bigbiff bigbiff | e60683a | 2013-02-22 20:55:50 -0500 | [diff] [blame] | 194 | include $(BUILD_SHARED_LIBRARY) |