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