| Shih-wei Liao | e445432 | 2010-04-07 12:21:42 -0700 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
| 2 | |
| 3 | support_SRC_FILES := \ |
| 4 | APFloat.cpp \ |
| 5 | APInt.cpp \ |
| 6 | APSInt.cpp \ |
| 7 | Allocator.cpp \ |
| 8 | CommandLine.cpp \ |
| 9 | ConstantRange.cpp \ |
| Shih-wei Liao | a95f589 | 2010-09-11 01:42:09 -0700 | [diff] [blame] | 10 | CrashRecoveryContext.cpp \ |
| 11 | DAGDeltaAlgorithm.cpp \ |
| Shih-wei Liao | e445432 | 2010-04-07 12:21:42 -0700 | [diff] [blame] | 12 | Debug.cpp \ |
| 13 | DeltaAlgorithm.cpp \ |
| 14 | Dwarf.cpp \ |
| 15 | ErrorHandling.cpp \ |
| 16 | FileUtilities.cpp \ |
| 17 | FoldingSet.cpp \ |
| 18 | FormattedStream.cpp \ |
| 19 | GraphWriter.cpp \ |
| 20 | IsInf.cpp \ |
| 21 | IsNAN.cpp \ |
| 22 | ManagedStatic.cpp \ |
| 23 | MemoryBuffer.cpp \ |
| 24 | MemoryObject.cpp \ |
| 25 | PluginLoader.cpp \ |
| 26 | PrettyStackTrace.cpp \ |
| 27 | Regex.cpp \ |
| Shih-wei Liao | e445432 | 2010-04-07 12:21:42 -0700 | [diff] [blame] | 28 | SmallPtrSet.cpp \ |
| 29 | SmallVector.cpp \ |
| 30 | SourceMgr.cpp \ |
| 31 | Statistic.cpp \ |
| 32 | StringExtras.cpp \ |
| 33 | StringMap.cpp \ |
| 34 | StringPool.cpp \ |
| 35 | StringRef.cpp \ |
| 36 | SystemUtils.cpp \ |
| 37 | TargetRegistry.cpp \ |
| 38 | Timer.cpp \ |
| 39 | Triple.cpp \ |
| 40 | Twine.cpp \ |
| 41 | circular_raw_ostream.cpp \ |
| 42 | raw_os_ostream.cpp \ |
| 43 | raw_ostream.cpp \ |
| 44 | regcomp.c \ |
| 45 | regerror.c \ |
| 46 | regexec.c \ |
| 47 | regfree.c \ |
| 48 | regstrlcpy.c |
| 49 | |
| 50 | # For the host |
| 51 | # ===================================================== |
| 52 | include $(CLEAR_VARS) |
| 53 | |
| 54 | # FIXME: This only requires RTTI because tblgen uses it. Fix that. |
| 55 | REQUIRES_RTTI := 1 |
| 56 | |
| 57 | LOCAL_SRC_FILES := $(support_SRC_FILES) |
| 58 | |
| 59 | LOCAL_MODULE:= libLLVMSupport |
| 60 | |
| Logan | 42c32da | 2011-01-15 12:10:18 +0800 | [diff] [blame^] | 61 | LOCAL_MODULE_TAGS := optional |
| 62 | |
| Shih-wei Liao | e445432 | 2010-04-07 12:21:42 -0700 | [diff] [blame] | 63 | include $(LLVM_HOST_BUILD_MK) |
| 64 | include $(BUILD_HOST_STATIC_LIBRARY) |
| 65 | |
| 66 | # For the device |
| 67 | # ===================================================== |
| 68 | include $(CLEAR_VARS) |
| 69 | |
| 70 | LOCAL_SRC_FILES := $(support_SRC_FILES) |
| 71 | |
| 72 | LOCAL_MODULE:= libLLVMSupport |
| 73 | |
| Logan | 42c32da | 2011-01-15 12:10:18 +0800 | [diff] [blame^] | 74 | LOCAL_MODULE_TAGS := optional |
| 75 | |
| Shih-wei Liao | e445432 | 2010-04-07 12:21:42 -0700 | [diff] [blame] | 76 | include $(LLVM_DEVICE_BUILD_MK) |
| 77 | include $(BUILD_STATIC_LIBRARY) |