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