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