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 | |
| 34 | LOCAL_C_INCLUDES += $(LOCAL_PATH)/libfdisk/src \ |
| 35 | $(LOCAL_PATH)/include \ |
| 36 | $(LOCAL_PATH)/libuuid/src \ |
| 37 | $(LOCAL_PATH)/src |
| 38 | |
| 39 | LOCAL_SHARED_LIBRARIES += libc |
| 40 | include $(BUILD_SHARED_LIBRARY) |
| 41 | |
| 42 | include $(CLEAR_VARS) |
| 43 | |
| 44 | LOCAL_MODULE := libuuid |
| 45 | LOCAL_MODULE_TAGS := optional |
| 46 | #LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin |
| 47 | LOCAL_CFLAGS = -D_FILE_OFFSET_BITS=64 -DHAVE_LOFF_T -DHAVE_ERR_H -DHAVE_MEMPCPY -DHAVE_FSYNC |
| 48 | LOCAL_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 | |
| 60 | LOCAL_C_INCLUDES += $(LOCAL_PATH)/libuuid/src \ |
| 61 | $(LOCAL_PATH)/include \ |
| 62 | $(LOCAL_PATH)/src |
| 63 | |
| 64 | LOCAL_SHARED_LIBRARIES += libc libutil-linux |
| 65 | |
| 66 | include $(BUILD_SHARED_LIBRARY) |
| 67 | |
| 68 | include $(CLEAR_VARS) |
| 69 | |
| 70 | LOCAL_MODULE := libfdisk |
| 71 | LOCAL_MODULE_TAGS := optional |
| 72 | #LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin |
| 73 | LOCAL_CFLAGS = -D_FILE_OFFSET_BITS=64 -DHAVE_LOFF_T -DHAVE_ERR_H -DHAVE_MEMPCPY -DHAVE_FSYNC |
| 74 | LOCAL_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 | |
| 92 | LOCAL_C_INCLUDES += $(LOCAL_PATH)/libfdisk/src \ |
| 93 | $(LOCAL_PATH)/include \ |
| 94 | $(LOCAL_PATH)/libuuid/src \ |
| 95 | $(LOCAL_PATH)/src |
| 96 | |
| 97 | LOCAL_SHARED_LIBRARIES += libc libutil-linux libuuid |
| 98 | include $(BUILD_SHARED_LIBRARY) |
| 99 | |
| 100 | include $(CLEAR_VARS) |
| 101 | |
bigbiff bigbiff | e60683a | 2013-02-22 20:55:50 -0500 | [diff] [blame] | 102 | LOCAL_MODULE := libblkid |
| 103 | LOCAL_MODULE_TAGS := optional |
Vojtech Bocek | 7cc278b | 2013-02-24 01:40:19 +0100 | [diff] [blame] | 104 | #LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin |
bigbiff | 7b4c7a6 | 2015-01-01 19:44:14 -0500 | [diff] [blame^] | 105 | LOCAL_CFLAGS = -D_FILE_OFFSET_BITS=64 -DHAVE_LOFF_T -DHAVE_ERR_H -DHAVE_MEMPCPY -DHAVE_FSYNC |
| 106 | LOCAL_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 bigbiff | e60683a | 2013-02-22 20:55:50 -0500 | [diff] [blame] | 190 | |
bigbiff | 7b4c7a6 | 2015-01-01 19:44:14 -0500 | [diff] [blame^] | 191 | LOCAL_C_INCLUDES += $(LOCAL_PATH)/include \ |
| 192 | $(LOCAL_PATH)/src |
| 193 | |
| 194 | LOCAL_SHARED_LIBRARIES += libc libfdisk libutil-linux |
bigbiff bigbiff | e60683a | 2013-02-22 20:55:50 -0500 | [diff] [blame] | 195 | include $(BUILD_SHARED_LIBRARY) |