| Shih-wei Liao | e445432 | 2010-04-07 12:21:42 -0700 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
| 2 | |
| jush | 4671b17 | 2011-02-28 17:18:20 +0800 | [diff] [blame] | 3 | support_SRC_FILES := \ |
| Jush Lu | cc7665f | 2011-03-10 03:06:08 +0800 | [diff] [blame] | 4 | Allocator.cpp \ |
| jush | 4671b17 | 2011-02-28 17:18:20 +0800 | [diff] [blame] | 5 | APFloat.cpp \ |
| 6 | APInt.cpp \ |
| 7 | APSInt.cpp \ |
| Jush Lu | cc7665f | 2011-03-10 03:06:08 +0800 | [diff] [blame] | 8 | Atomic.cpp \ |
| Nowar Gu | 2a73c7f | 2011-06-17 17:05:43 +0800 | [diff] [blame] | 9 | BranchProbability.cpp \ |
| jush | 4671b17 | 2011-02-28 17:18:20 +0800 | [diff] [blame] | 10 | CommandLine.cpp \ |
| 11 | ConstantRange.cpp \ |
| 12 | CrashRecoveryContext.cpp \ |
| 13 | DAGDeltaAlgorithm.cpp \ |
| 14 | Debug.cpp \ |
| 15 | DeltaAlgorithm.cpp \ |
| 16 | Dwarf.cpp \ |
| Jush Lu | cc7665f | 2011-03-10 03:06:08 +0800 | [diff] [blame] | 17 | DynamicLibrary.cpp \ |
| 18 | Errno.cpp \ |
| jush | 4671b17 | 2011-02-28 17:18:20 +0800 | [diff] [blame] | 19 | ErrorHandling.cpp \ |
| 20 | FileUtilities.cpp \ |
| 21 | FoldingSet.cpp \ |
| 22 | FormattedStream.cpp \ |
| 23 | GraphWriter.cpp \ |
| Jush Lu | cc7665f | 2011-03-10 03:06:08 +0800 | [diff] [blame] | 24 | Host.cpp \ |
| 25 | IntervalMap.cpp \ |
| 26 | IntEqClasses.cpp\ |
| jush | 4671b17 | 2011-02-28 17:18:20 +0800 | [diff] [blame] | 27 | IsInf.cpp \ |
| 28 | IsNAN.cpp \ |
| 29 | ManagedStatic.cpp \ |
| Jush Lu | cc7665f | 2011-03-10 03:06:08 +0800 | [diff] [blame] | 30 | Memory.cpp \ |
| jush | 4671b17 | 2011-02-28 17:18:20 +0800 | [diff] [blame] | 31 | MemoryBuffer.cpp \ |
| 32 | MemoryObject.cpp \ |
| Jush Lu | cc7665f | 2011-03-10 03:06:08 +0800 | [diff] [blame] | 33 | Mutex.cpp \ |
| 34 | Path.cpp \ |
| 35 | PathV2.cpp \ |
| jush | 4671b17 | 2011-02-28 17:18:20 +0800 | [diff] [blame] | 36 | PluginLoader.cpp \ |
| 37 | PrettyStackTrace.cpp \ |
| Jush Lu | cc7665f | 2011-03-10 03:06:08 +0800 | [diff] [blame] | 38 | Process.cpp \ |
| 39 | Program.cpp \ |
| jush | 4671b17 | 2011-02-28 17:18:20 +0800 | [diff] [blame] | 40 | Regex.cpp \ |
| Jush Lu | cc7665f | 2011-03-10 03:06:08 +0800 | [diff] [blame] | 41 | RWMutex.cpp \ |
| 42 | SearchForAddressOfSpecialSymbol.cpp \ |
| 43 | Signals.cpp \ |
| jush | 4671b17 | 2011-02-28 17:18:20 +0800 | [diff] [blame] | 44 | SmallPtrSet.cpp \ |
| 45 | SmallVector.cpp \ |
| 46 | SourceMgr.cpp \ |
| 47 | Statistic.cpp \ |
| 48 | StringExtras.cpp \ |
| 49 | StringMap.cpp \ |
| 50 | StringPool.cpp \ |
| 51 | StringRef.cpp \ |
| 52 | SystemUtils.cpp \ |
| 53 | TargetRegistry.cpp \ |
| Jush Lu | cc7665f | 2011-03-10 03:06:08 +0800 | [diff] [blame] | 54 | Threading.cpp \ |
| 55 | ThreadLocal.cpp \ |
| jush | 4671b17 | 2011-02-28 17:18:20 +0800 | [diff] [blame] | 56 | Timer.cpp \ |
| Jush Lu | cc7665f | 2011-03-10 03:06:08 +0800 | [diff] [blame] | 57 | TimeValue.cpp \ |
| jush | 4671b17 | 2011-02-28 17:18:20 +0800 | [diff] [blame] | 58 | ToolOutputFile.cpp \ |
| 59 | Triple.cpp \ |
| 60 | Twine.cpp \ |
| Jush Lu | cc7665f | 2011-03-10 03:06:08 +0800 | [diff] [blame] | 61 | Valgrind.cpp\ |
| jush | 4671b17 | 2011-02-28 17:18:20 +0800 | [diff] [blame] | 62 | circular_raw_ostream.cpp \ |
| 63 | raw_os_ostream.cpp \ |
| 64 | raw_ostream.cpp \ |
| 65 | regcomp.c \ |
| 66 | regerror.c \ |
| 67 | regexec.c \ |
| 68 | regfree.c \ |
| Nowar Gu | 2a73c7f | 2011-06-17 17:05:43 +0800 | [diff] [blame] | 69 | regstrlcpy.c \ |
| Jush Lu | cc7665f | 2011-03-10 03:06:08 +0800 | [diff] [blame] | 70 | system_error.cpp |
| Shih-wei Liao | e445432 | 2010-04-07 12:21:42 -0700 | [diff] [blame] | 71 | |
| 72 | # For the host |
| 73 | # ===================================================== |
| 74 | include $(CLEAR_VARS) |
| 75 | |
| 76 | # FIXME: This only requires RTTI because tblgen uses it. Fix that. |
| 77 | REQUIRES_RTTI := 1 |
| 78 | |
| 79 | LOCAL_SRC_FILES := $(support_SRC_FILES) |
| 80 | |
| 81 | LOCAL_MODULE:= libLLVMSupport |
| 82 | |
| Jush Lu | cc7665f | 2011-03-10 03:06:08 +0800 | [diff] [blame] | 83 | LOCAL_CFLAGS := -D__android__ |
| 84 | |
| Logan | 42c32da | 2011-01-15 12:10:18 +0800 | [diff] [blame] | 85 | LOCAL_MODULE_TAGS := optional |
| 86 | |
| Shih-wei Liao | e445432 | 2010-04-07 12:21:42 -0700 | [diff] [blame] | 87 | include $(LLVM_HOST_BUILD_MK) |
| 88 | include $(BUILD_HOST_STATIC_LIBRARY) |
| 89 | |
| 90 | # For the device |
| 91 | # ===================================================== |
| 92 | include $(CLEAR_VARS) |
| 93 | |
| 94 | LOCAL_SRC_FILES := $(support_SRC_FILES) |
| 95 | |
| 96 | LOCAL_MODULE:= libLLVMSupport |
| 97 | |
| Jush Lu | cc7665f | 2011-03-10 03:06:08 +0800 | [diff] [blame] | 98 | LOCAL_CFLAGS := -D__android__ |
| 99 | |
| Logan | 42c32da | 2011-01-15 12:10:18 +0800 | [diff] [blame] | 100 | LOCAL_MODULE_TAGS := optional |
| 101 | |
| Shih-wei Liao | e445432 | 2010-04-07 12:21:42 -0700 | [diff] [blame] | 102 | include $(LLVM_DEVICE_BUILD_MK) |
| 103 | include $(BUILD_STATIC_LIBRARY) |